Bladeren bron

fix(库存调拨): 根据维度动态显示批次号列

liujt 7 maanden geleden
bovenliggende
commit
d0d3daf21c
1 gewijzigde bestanden met toevoegingen van 10 en 3 verwijderingen
  1. 10 3
      src/views/warehouseManagement/inventoryAllocation/add.vue

+ 10 - 3
src/views/warehouseManagement/inventoryAllocation/add.vue

@@ -715,13 +715,20 @@
             minWidth: 130,
             showOverflowTooltip: true,
           },
-          {
+          // {
+          //   prop: 'batchNo',
+          //   label: '批次号',
+          //   align: 'center',
+          //   showOverflowTooltip: true,
+          //   minWidth: 110
+          // },
+          ...(this.dimension != '1' ? [{
             prop: 'batchNo',
             label: '批次号',
             align: 'center',
+            minWidth: 130,
             showOverflowTooltip: true,
-            minWidth: 110
-          },
+          }] : []),
           this.dimension == 3 ? {
             prop: 'packageNo',
             label: '包装编码',