|
|
@@ -2001,6 +2001,8 @@
|
|
|
categoryModel: item.modelType, // 物品型号
|
|
|
specification: item.specification, // 规格
|
|
|
brandNum: item.brandNum, // 牌号
|
|
|
+ colorKey: item.colorKey ? item.colorKey.split(',') : '', // 颜色
|
|
|
+ modelKey: item.modelKey ? item.modelKey.split(',') : '', // 机型
|
|
|
batchNo: [1, 3, 6].includes(this.bizType)
|
|
|
? this.detailList[0]?.batchNo || batchNo
|
|
|
: batchNo, // 批次号
|
|
|
@@ -2086,8 +2088,8 @@
|
|
|
// 生产包装
|
|
|
this.packingList = this.detailList.map((item, index) => {
|
|
|
// if (item.isAllPackageData != 1) {
|
|
|
- console.log(item.packingUnit, 'itemitemitemitemitemitem1');
|
|
|
- console.log(item.packingUnit, 'itemitemitemitemitemitem2');
|
|
|
+ // console.log(item, 'itemitemitemitemitemitem1');
|
|
|
+ // console.log(item.packingUnit, 'itemitemitemitemitemitem2');
|
|
|
// 换算重量
|
|
|
let weight = 0;
|
|
|
if (
|
|
|
@@ -2164,7 +2166,7 @@
|
|
|
} else if (this.bizType != 2) {
|
|
|
clientCode = item.clientCode || item.extInfo?.clientCode;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
return {
|
|
|
index: this.isMoreProduct
|
|
|
? this.productList.find(
|
|
|
@@ -2187,6 +2189,8 @@
|
|
|
specification:
|
|
|
item.specification || this.productList[0].specification, // 规格
|
|
|
brandNum: item.productBrand || this.productList[0].brandNum, // 牌号
|
|
|
+ colorKey: (item.colorKey ? item.colorKey.split(',') : '') || this.productList[0].colorKey, // 颜色
|
|
|
+ modelKey: (item.modelKey ? item.modelKey.split(',') : '') || this.productList[0].modelKey, // 机型
|
|
|
parentIndex: this.isMoreProduct
|
|
|
? this.productList.find(
|
|
|
(val) => val.categoryCode == item.productCode
|