|
@@ -3292,19 +3292,7 @@
|
|
|
measureQuantity =
|
|
measureQuantity =
|
|
|
Math.trunc((row.weight / packingCodeList.length) * 100) / 100;
|
|
Math.trunc((row.weight / packingCodeList.length) * 100) / 100;
|
|
|
} else {
|
|
} else {
|
|
|
- // 处理单位不为KG类,计量单位为KG类的情况
|
|
|
|
|
- let splitIndex = row.packingSpecificationOption.findIndex(
|
|
|
|
|
- (item) =>
|
|
|
|
|
- item.conversionUnit == row.packingUnit &&
|
|
|
|
|
- item.packageUnit != item.conversionUnit
|
|
|
|
|
- );
|
|
|
|
|
- for (; splitIndex > 0; splitIndex--) {
|
|
|
|
|
- measureQuantity = this.$math.format(
|
|
|
|
|
- measureQuantity *
|
|
|
|
|
- row.packingSpecificationOption[splitIndex].packageCell,
|
|
|
|
|
- 14
|
|
|
|
|
- );
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ measureQuantity = row.packingSpecificationOption[1].packageCell;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
console.log(
|
|
console.log(
|