chenrui 3 anni fa
parent
commit
50a9cd17a9

+ 1 - 1
src/views/inventoryManagement/inventoryQuery/warehouseDetail.vue

@@ -79,7 +79,7 @@
         :rowKey="(record) => record.id"
         :columns="columns"
         :data="loadData"
-        :scroll="{ x: 1760 }"
+        :scroll="{ x: 1760, y: tableHeight }"
         bordered>
         <!-- 数量 -->
         <template slot="qty" slot-scope="text, record">

+ 2 - 2
src/views/productManagement/priceChangeRecord/list.vue

@@ -71,7 +71,7 @@
     <s-table
       class="sTable fixPagination"
       ref="table"
-      :style="{ height: tableHeight+84.5+'px' }"
+      :style="{ height: tableHeight+122.5+'px' }"
       size="small"
       :rowKey="(record) => record.id"
       :columns="columns"
@@ -318,7 +318,7 @@ export default {
     },
     setTableH () {
       const tableSearchH = this.$refs.tableSearch.offsetHeight
-      this.tableHeight = window.innerHeight - tableSearchH - 195
+      this.tableHeight = window.innerHeight - tableSearchH - 233
     }
   },
   mounted () {