|
|
@@ -1852,6 +1852,7 @@
|
|
|
isSave: this.isTask || undefined,
|
|
|
purchaseReceiveProductId:
|
|
|
filtersItem.purchaseReceiveProductId,
|
|
|
+ deliveryDetailId: filtersItem.deliveryDetailId,
|
|
|
categoryId: item.id, // 物品id
|
|
|
categoryName: item.name, // 物品名称
|
|
|
categoryCode: item.code, // 物品编码
|
|
|
@@ -1968,10 +1969,10 @@
|
|
|
|
|
|
const mergedList = [];
|
|
|
this.detailList.forEach((item) => {
|
|
|
- const key = `${item.productCode}_${item.batchNo}_${item.colorKey}_${item.warehouseId}_${item.modelType}`;
|
|
|
+ const key = `${item.productCode}_${item.batchNo}_${item.colorKey}_${item.warehouseId}_${item.modelType}_${this.bizType == 6 ? item.deliveryDetailId : ''}`;
|
|
|
const existIndex = mergedList.findIndex(
|
|
|
(m) =>
|
|
|
- `${m.productCode}_${m.batchNo}_${m.colorKey}_${m.warehouseId}_${m.modelType}` ===
|
|
|
+ `${m.productCode}_${m.batchNo}_${m.colorKey}_${m.warehouseId}_${m.modelType}_${this.bizType == 6 ? m.deliveryDetailId : ''}` ===
|
|
|
key
|
|
|
);
|
|
|
if (existIndex > -1) {
|