Browse Source

feat: 出库物品选择增加存货周期列

liujt 2 weeks ago
parent
commit
f976eca08a
1 changed files with 10 additions and 1 deletions
  1. 10 1
      src/views/warehouseManagement/components/AssetsDialog.vue

+ 10 - 1
src/views/warehouseManagement/components/AssetsDialog.vue

@@ -440,6 +440,15 @@
             showOverflowTooltip: true,
             slot: 'outboundNum'
           },
+          {
+            prop: 'inventoryCycle',
+            label: '存货周期(天)',
+            align: 'center',
+            width: 150,
+            sortable: true,
+            showOverflowTooltip: true,
+            hide: this.dimension == 1
+          },
           {
             prop: 'brandNum',
             label: '牌号',
@@ -515,7 +524,7 @@
             showOverflowTooltip: true
           }
         ];
-        return arr;
+        return arr.filter((item) => !item.hide);
       }
     },