wsx 10 месяцев назад
Родитель
Сommit
d520e8fe30
1 измененных файлов с 8 добавлено и 4 удалено
  1. 8 4
      src/views/warehouseManagement/statisticalReports/transceiverDetails/add.vue

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

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