Przeglądaj źródła

fix(库存调拨): 在调拨申请中添加categoryId字段

liujt 7 miesięcy temu
rodzic
commit
2a14e45fcb

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

@@ -1528,6 +1528,7 @@
               allotApplyAddPOBuilders: this.tableData.map((item) => {
                 return {
                   quantity: item.quantity,
+                  categoryId: item.categoryId,
                   warehouseId: item.warehouseId,
                   warehouseName: item.warehouseName,
                   areaId: item.areaId,
@@ -1783,6 +1784,7 @@
                 return {
                   ...item,
                   quantity: item.quantity || item.measureQuantity,
+                  categoryId: item.categoryId,
                   warehouseId: this.params.outWarehouseId,
                   warehouseName: this.params.outWarehouseName,
                   areaId: this.params.outCargoAreaId,