Browse Source

仓储业务-出库页面

lichao 4 years ago
parent
commit
785fa66ecc
1 changed files with 40 additions and 2 deletions
  1. 40 2
      src/views/Warehousing/outStock/index.vue

+ 40 - 2
src/views/Warehousing/outStock/index.vue

@@ -708,6 +708,41 @@ export default {
           checked: 0,
           width: 100,
         },
+        {
+          surface: "21",
+          label: "",
+          name: "应收合计",
+          checked: 0,
+          width: 100,
+        },
+        {
+          surface: "22",
+          label: "",
+          name: "应付合计",
+          checked: 0,
+          width: 100,
+        },
+        {
+          surface: "23",
+          label: "",
+          name: "利润",
+          checked: 0,
+          width: 100,
+        },
+        {
+          surface: "24",
+          label: "",
+          name: "实收合计",
+          checked: 0,
+          width: 100,
+        },
+        {
+          surface: "25",
+          label: "",
+          name: "实付合计",
+          checked: 0,
+          width: 100,
+        },
       ],
       setRowList: [],
       getRowList: [],
@@ -771,8 +806,7 @@ 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
@@ -877,6 +911,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)
       });
     },
     //合计