Explorar el Código

收发明细表高度问题

wsx hace 10 meses
padre
commit
d520e8fe30

+ 8 - 4
src/views/warehouseManagement/statisticalReports/transceiverDetails/add.vue

@@ -5,9 +5,9 @@
     :title="isView ? '查看收发明细表明细' : '选择收发明细表明细'"
     width="90vw"
   >
-    <el-card shadow="never">
+    <el-card shadow="never" style="height: 70vh">
       <!-- 数据表格 -->
-      <div>
+      <div >
         <el-form
           label-position="left"
           class="ele-form-search"
@@ -90,8 +90,8 @@
         :needPage="!isView"
         :columns="columns"
         :datasource="datasource"
-        height="calc(100vh - 405px)"
-        full-height="calc(100vh - 116px)"
+        height="calc(100% - 305px)"
+        full-height="calc(100vh - 56px)"
         tool-class="ele-toolbar-form"
         style="margin-top: 18px"
       >
@@ -459,4 +459,8 @@
       justify-content: flex-end;
     }
   }
+
+  :deep(.table) {
+    height: calc(100% - 100px);
+  }
 </style>