|
@@ -856,16 +856,19 @@ export default {
|
|
|
// total = Number(row.packingQuantity) * row.netWeight;
|
|
// total = Number(row.packingQuantity) * row.netWeight;
|
|
|
console.log(total, '22')
|
|
console.log(total, '22')
|
|
|
} else {
|
|
} else {
|
|
|
|
|
+ let num = 0;
|
|
|
for (; startIndex < endIndex; endIndex--) {
|
|
for (; startIndex < endIndex; endIndex--) {
|
|
|
- total = this.$math.format(
|
|
|
|
|
|
|
+ // total =
|
|
|
|
|
+ num = this.$math.format(
|
|
|
row.packingSpecificationOption[endIndex].packageCell * total,
|
|
row.packingSpecificationOption[endIndex].packageCell * total,
|
|
|
14
|
|
14
|
|
|
);
|
|
);
|
|
|
}
|
|
}
|
|
|
|
|
+ console.log(num, 'numnumnum')
|
|
|
|
|
+ total = Number(num);
|
|
|
console.log(total, '333')
|
|
console.log(total, '333')
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
// 判断单位和计量单位是否为不拆物料层规格
|
|
// 判断单位和计量单位是否为不拆物料层规格
|
|
|
let packingBoolen = !!this.getDict('不拆物料层规格', row.packingUnit)
|
|
let packingBoolen = !!this.getDict('不拆物料层规格', row.packingUnit)
|
|
|
.dictValue;
|
|
.dictValue;
|