Jelajahi Sumber

仓储业务-出库页面

lichao 4 tahun lalu
induk
melakukan
69eea01a86
1 mengubah file dengan 44 tambahan dan 7 penghapusan
  1. 44 7
      src/views/Warehousing/inStock/index.vue

+ 44 - 7
src/views/Warehousing/inStock/index.vue

@@ -644,35 +644,35 @@ export default {
           label: "fPlanqty",
           name: "计划件数",
           checked: 0,
-          width: 100,
+          width: 120,
         },
         {
           surface: "10",
           label: "fQty",
           name: "入库件数",
           checked: 0,
-          width: 100,
+          width: 120,
         },
         {
           surface: "11",
           label: "fGrossweight",
           name: "入库毛重",
           checked: 0,
-          width: 100,
+          width: 120,
         },
         {
           surface: "12",
           label: "fNetweight",
           name: "入库净重",
           checked: 0,
-          width: 100,
+          width: 120,
         },
         {
           surface: "13",
           label: "fCntval",
           name: "箱型箱量",
           checked: 0,
-          width: 100,
+          width: 120,
         },
         {
           surface: "14",
@@ -737,6 +737,41 @@ export default {
           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,
+        },
+        {
+          surface: "26",
+          label: "",
+          name: "实收合计",
+          checked: 0,
+          width: 100,
+        },
+        {
+          surface: "27",
+          label: "",
+          name: "实付合计",
+          checked: 0,
+          width: 100,
+        },
       ],
       setRowList: [],
       getRowList: [],
@@ -800,8 +835,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
@@ -912,6 +945,10 @@ export default {
         console.log(this.warehousebillsList)
         this.total = response.total;
         this.loading = false;
+        // 根据浏览器高度设置初始高度
+        setInterval(() => {
+          this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 70
+        }, 300)
       });
     },
     //合计