فهرست منبع

refactor(库存调拨): 优化表格缓存键配置并调整列顺序,增加锁库锁量列

liujt 2 ماه پیش
والد
کامیت
1b89e93f18
1فایلهای تغییر یافته به همراه21 افزوده شده و 13 حذف شده
  1. 21 13
      src/views/warehouseManagement/inventoryAllocation/add.vue

+ 21 - 13
src/views/warehouseManagement/inventoryAllocation/add.vue

@@ -240,7 +240,7 @@
             height="calc(100vh-300px)"
             height="calc(100vh-300px)"
             :pageSize="20"
             :pageSize="20"
             :datasource="datasource"
             :datasource="datasource"
-            cache-key="wms-inventoryAllocation-add-table-left"
+            :cache-key="cacheKeyUrl"
             :selection.sync="selection"
             :selection.sync="selection"
             row-key="id"
             row-key="id"
             :initLoad="false"
             :initLoad="false"
@@ -424,6 +424,7 @@
   export default {
   export default {
     data() {
     data() {
       return {
       return {
+        cacheKeyUrl: 'wms-inventoryAllocation-add-table-left',
         query: {},
         query: {},
         allocationType,
         allocationType,
         outTreeList: [],
         outTreeList: [],
@@ -544,6 +545,24 @@
             showOverflowTooltip: true,
             showOverflowTooltip: true,
             minWidth: 110
             minWidth: 110
           },
           },
+          {
+            prop: 'measureQuantity',
+            label: '计量数量',
+            align: 'center',
+            showOverflowTooltip: true,
+          },
+          {
+            prop: 'measureUnit',
+            label: '计量单位',
+            align: 'center',
+            showOverflowTooltip: true,
+          },
+          {
+            prop: 'lockQuantity',
+            label: '锁定数量',
+            align: 'center',
+            showOverflowTooltip: true,
+          },
           {
           {
             prop: 'brandNum',
             prop: 'brandNum',
             label: '牌号',
             label: '牌号',
@@ -593,18 +612,7 @@
               showOverflowTooltip: true,
               showOverflowTooltip: true,
             }
             }
           ] : []),
           ] : []),
-          {
-            prop: 'measureQuantity',
-            label: '计量数量',
-            align: 'center',
-            showOverflowTooltip: true,
-          },
-          {
-            prop: 'measureUnit',
-            label: '计量单位',
-            align: 'center',
-            showOverflowTooltip: true,
-          },
+          
           {
           {
             prop: 'weight',
             prop: 'weight',
             label: '重量',
             label: '重量',