Răsfoiți Sursa

页面调整

黄梓星 1 an în urmă
părinte
comite
ca53878859

+ 2 - 2
src/views/purchase/DemandSummary/add.vue

@@ -1,6 +1,6 @@
 <template>
   <div id="checkDemandSummary">
-    <el-card style="height: calc(100vh - 15vh);position: relative;overflow: scroll;">
+    <el-card style="position: relative;">
       <span>采购需求处理详情</span>
       <div class="btn_grooup">
         <el-button type="primary" size="mini" @click="editLine">编辑</el-button>
@@ -17,7 +17,7 @@
           :header-cell-style="{ borderColor: '#c0c0c0' }"
           class="exporttable"
           border
-          max-height="680"
+          max-height="580"
           style="font-size: 12px;"
           @selection-change="handleSelectionChange"
         >

+ 3 - 3
src/views/purchase/DemandSummary/index.vue

@@ -228,7 +228,8 @@
           border
           show-summary
           :summary-method="getSummaries"
-          max-height="550"
+          height="355"
+          max-height="355"
           style="font-size: 12px;"
           @selection-change="handleSelectionChange"
           :key="isUpdate"
@@ -783,7 +784,6 @@ export default {
 
 <style lang="scss" scoped>
 #demandSummary {
-  height: calc(100vh - 84px);
   padding: 12px;
   box-sizing: border-box;
   overflow-y: scroll;
@@ -810,7 +810,7 @@ export default {
   border: none;
 }
  ::v-deep .el-card .el-form-item {
-  margin-bottom: 10px;
+  margin-bottom: 3px;
 }
 </style>
 <style>

+ 4 - 4
src/views/purchase/MaterialClassDivision/index.vue

@@ -1,7 +1,7 @@
 <template>
   <div id="MaterialClassDivision">
     <div v-if="isList">
-      <el-card style="height: calc(100vh - 15vh);position: relative;overflow: scroll;">
+      <el-card style="position: relative;">
       <el-form class="search_area" label-width="130px">
         <el-row :gutter="10">
           <el-col :span="1.5">
@@ -215,7 +215,8 @@
           :header-cell-style="{ borderColor: '#c0c0c0' }"
           class="exporttable"
           border
-          max-height="480"
+          height="390"
+          max-height="390"
           style="font-size: 12px;"
           @selection-change="handleSelectionChange"
         >
@@ -484,7 +485,6 @@ export default {
 
 <style lang="scss" scoped>
 #MaterialClassDivision {
-  height: calc(100vh - 84px);
   padding: 12px;
   box-sizing: border-box;
   overflow-y: scroll;
@@ -501,7 +501,7 @@ export default {
   border: none;
 }
  ::v-deep .el-card .el-form-item {
-  margin-bottom: 10px;
+  margin-bottom: 3px;
 }
 .el-pagination {
   margin-top: 10px;

+ 3 - 3
src/views/purchase/PurchaseDemandList/add.vue

@@ -1,6 +1,6 @@
 <template>
   <div id="addDemandList">
-  <el-card style="height: calc(100vh - 15vh);position: relative;overflow: scroll;">
+  <el-card style="position: relative;">
     <span>基本信息</span>
     <el-form :model="basicForm" :rules="basicRules" ref="basic" label-width="auto">
       <el-row :gutter="10">
@@ -173,8 +173,8 @@
           :cell-style="{ borderColor: '#c0c0c0' }"
           :header-cell-style="{ borderColor: '#c0c0c0' }"
           class="exporttable"
-          height="350"
-          max-height="350"
+          height="410"
+          max-height="410"
           style="font-size: 12px;"
           @selection-change="handleSelectionChange"
           :cell-class-name="cellClassName"

+ 2 - 4
src/views/purchase/PurchaseDemandList/index.vue

@@ -1,7 +1,7 @@
 <template>
   <div id="PurchaseDemandList">
     <div v-if="isList">
-      <el-card style="height: calc(100vh - 15vh);position: relative;overflow: scroll;">
+      <el-card style="position: relative;">
         <el-form class="search_area" label-width="100px">
           <el-row :gutter="10">
             <el-col :span="1.5">
@@ -165,9 +165,8 @@
           :cell-style="{ borderColor: '#c0c0c0' }"
           :header-cell-style="{ borderColor: '#c0c0c0' }"
           class="exporttable"
+          max-height="410"
           border
-          height="430"
-          max-height="430"
           style="font-size: 12px;"
           @selection-change="handleSelectionChange"
         >
@@ -710,7 +709,6 @@ export default {
 
 <style lang="scss" scoped>
 #PurchaseDemandList {
-  height: calc(100vh - 84px);
   padding: 12px;
   box-sizing: border-box;
   overflow-y: scroll;

+ 4 - 4
src/views/purchase/deliveryAddress/index.vue

@@ -1,7 +1,7 @@
 <template>
   <div id="deliveryAddressList">
     <div v-if="isList">
-      <el-card style="height: calc(100vh - 15vh);position: relative;overflow: scroll;">
+      <el-card style="position: relative;">
       <el-form class="search_area" label-width="100px">
         <el-row :gutter="10">
           <el-col :span="1.5">
@@ -176,7 +176,8 @@
           :header-cell-style="{ borderColor: '#c0c0c0' }"
           class="exporttable"
           border
-          max-height="480"
+          height="430"
+          max-height="430"
           style="font-size: 12px;"
           @selection-change="handleSelectionChange"
         >
@@ -498,7 +499,6 @@ export default {
 
 <style lang="scss" scoped>
 #deliveryAddressList {
-  height: calc(100vh - 84px);
   padding: 12px;
   box-sizing: border-box;
   overflow-y: scroll;
@@ -519,7 +519,7 @@ export default {
   border: none;
 }
  ::v-deep .el-card .el-form-item {
-  margin-bottom: 10px;
+  margin-bottom: 3px;
 }
 </style>
 <style>

+ 5 - 5
src/views/purchase/transferOrder/add.vue

@@ -1,6 +1,6 @@
 <template>
   <div id="addOder">
-    <el-card style="height: calc(100vh - 15vh);position: relative;overflow: scroll;">
+    <el-card style="position: relative;">
       <span>基本信息</span>
       <el-form
         :model="basicForm"
@@ -452,7 +452,7 @@
               :data="materialInfo"
               fit
               border
-              max-height="480"
+              max-height="280"
               style="font-size: 12px"
               :row-class-name="rowClassName"
             >
@@ -935,7 +935,7 @@
               :data="receiveInfo"
               fit
               border
-              max-height="480"
+              max-height="280"
               style="font-size: 12px"
             >
               <el-table-column
@@ -1136,7 +1136,7 @@
               :data="priceList"
               fit
               border
-              max-height="480"
+              max-height="280"
               style="font-size: 12px"
             >
               <el-table-column
@@ -1267,7 +1267,7 @@
               :data="resultList"
               fit
               border
-              max-height="480"
+              max-height="280"
               style="font-size: 12px"
             >
               <el-table-column

+ 5 - 4
src/views/purchase/transferOrder/index.vue

@@ -78,7 +78,8 @@
           show-summary
           :summary-method="getSummaries"
           highlight-current-row
-          max-height="680"
+          height="280"
+          max-height="280"
           style="font-size: 12px;"
           ref="multipleTable"
           @row-click="select"
@@ -150,7 +151,8 @@
             :header-cell-style="{ borderColor: '#c0c0c0' }"
             class="exporttable"
             border
-            max-height="380"
+            height="125"
+            max-height="125"
             style="font-size: 12px;"
             >
             <el-table-column show-overflow-tooltip label="行号" align="center" prop="rowno"/>
@@ -542,7 +544,6 @@ export default {
 
 <style lang="scss" scoped>
 #transferOrder {
-  height: calc(100vh - 84px);
   padding: 12px;
   box-sizing: border-box;
   overflow-y: scroll;
@@ -563,7 +564,7 @@ export default {
   border: none;
 }
  ::v-deep .el-card .el-form-item {
-  margin-bottom: 10px;
+  margin-bottom: 3px;
 }
 </style>
 <style>