|
|
@@ -2075,11 +2075,14 @@
|
|
|
};
|
|
|
});
|
|
|
|
|
|
+ console.log('this.isMoreProduct', this.isMoreProduct);
|
|
|
+
|
|
|
let getAssetNumPr = this.isMoreProduct
|
|
|
? this.detailList.map((val) => {
|
|
|
+ console.log('val', val);
|
|
|
return {
|
|
|
assetCode: val.productCode,
|
|
|
- batchNum: val.productBrand,
|
|
|
+ batchNum: val.productBrand ? val.productBrand : val.batchNo,
|
|
|
num: 1
|
|
|
};
|
|
|
})
|
|
|
@@ -3152,9 +3155,11 @@
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
+ console.log('packingCodePrams', packingCodePrams);
|
|
|
let filterPackingCodePrams = packingCodePrams.filter(
|
|
|
(item) => item.assetCode
|
|
|
);
|
|
|
+ console.log('filterPackingCodePrams', filterPackingCodePrams);
|
|
|
let { data } = await storageApi.getAssetNum(filterPackingCodePrams);
|
|
|
|
|
|
let packingCodeList = [];
|
|
|
@@ -3397,6 +3402,7 @@
|
|
|
console.log(packingNum, 'packingNum');
|
|
|
|
|
|
//拆包
|
|
|
+ console.log('拆包拆包拆包', row.batchNo);
|
|
|
const { data } = await storageApi.getAssetNum([
|
|
|
{
|
|
|
assetCode: row.categoryCode + row.index,
|