Просмотр исходного кода

feat(inventoryAllocation): 新增库存调拨页面的颜色展示列,同时补全提交参数中的colorKey字段,完善调拨数据信息

liujt 1 месяц назад
Родитель
Сommit
34cd1a282c

+ 15 - 0
src/views/warehouseManagement/inventoryAllocation/add.vue

@@ -584,6 +584,13 @@
             minWidth: 130,
             showOverflowTooltip: true,
           },
+          {
+            prop: 'colorKey',
+            label: '颜色',
+            align: 'center',
+            minWidth: 130,
+            showOverflowTooltip: true,
+          },
           ...(this.dimension != '1' ? [{
             prop: 'batchNo',
             label: '批次号',
@@ -744,6 +751,13 @@
             minWidth: 130,
             showOverflowTooltip: true,
           },
+          {
+            prop: 'colorKey',
+            label: '颜色',
+            align: 'center',
+            minWidth: 130,
+            showOverflowTooltip: true,
+          },
           // {
           //   prop: 'batchNo',
           //   label: '批次号',
@@ -1473,6 +1487,7 @@
                 .join(','),
               allotApplyAddPOBuilders: this.tableData.map((item) => {
                 return {
+                  colorKey: item.colorKey,
                   quantity: item.quantity,
                   categoryId: item.categoryId,
                   warehouseId: item.warehouseId,

+ 7 - 0
src/views/warehouseManagement/inventoryAllocation/index.vue

@@ -233,6 +233,13 @@
             showOverflowTooltip: true,
             minWidth: 110
           },
+          {
+            prop: 'colorKey',
+            label: '颜色',
+            align: 'center',
+            minWidth: 130,
+            showOverflowTooltip: true,
+          },
           {
             prop: 'sourceWarehouse',
             label: '来源仓库',