Browse Source

仓储业务-调拨页面

lichao 4 years ago
parent
commit
98dfea47d3
1 changed files with 39 additions and 2 deletions
  1. 39 2
      src/views/Warehousing/stockTransfer/index.vue

+ 39 - 2
src/views/Warehousing/stockTransfer/index.vue

@@ -671,6 +671,41 @@ export default {
           checked: 0,
           width: 100,
         },
+        {
+          surface: "18",
+          label: "",
+          name: "应收合计",
+          checked: 0,
+          width: 100,
+        },
+        {
+          surface: "19",
+          label: "",
+          name: "应付合计",
+          checked: 0,
+          width: 100,
+        },
+        {
+          surface: "20",
+          label: "",
+          name: "利润",
+          checked: 0,
+          width: 100,
+        },
+        {
+          surface: "21",
+          label: "",
+          name: "实收合计",
+          checked: 0,
+          width: 100,
+        },
+        {
+          surface: "22",
+          label: "",
+          name: "实付合计",
+          checked: 0,
+          width: 100,
+        },
       ],
       setRowList: [],
       getRowList: [],
@@ -730,8 +765,6 @@ export default {
   },
   mounted() {
     this.$nextTick(() => {
-      // 根据浏览器高度设置初始高度
-      this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 160
       // 监听浏览器高度变化,改变表格高度
       window.onresize = () => {
         this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 70
@@ -836,6 +869,10 @@ export default {
         this.warehousebillsList = response.rows;
         this.total = response.total;
         this.loading = false;
+        // 根据浏览器高度设置初始高度
+        setInterval(() => {
+          this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 70
+        }, 300)
       });
     },
     //合计