소스 검색

bug修复

chenrui 3 년 전
부모
커밋
50a9cd17a9
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      src/views/inventoryManagement/inventoryQuery/warehouseDetail.vue
  2. 2 2
      src/views/productManagement/priceChangeRecord/list.vue

+ 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 () {