|
|
@@ -1901,7 +1901,10 @@ export default {
|
|
|
item.property == "actualQuantity" ||
|
|
|
item.property == "integral" ||
|
|
|
item.property == "cartonWeight" ||
|
|
|
- item.property == "cntrVolumn"
|
|
|
+ item.property == "cntrVolumn" ||
|
|
|
+ item.property == "purchaseAmount" ||
|
|
|
+ item.property == "interestPrice" ||
|
|
|
+ item.property == "interestAmount"
|
|
|
) {
|
|
|
let amountSum = 0;
|
|
|
let orderQuantitySum = 0;
|
|
|
@@ -1909,6 +1912,7 @@ export default {
|
|
|
let integralSum = 0;
|
|
|
let cartonWeight = 0;
|
|
|
let cntrVolumn = 0;
|
|
|
+ let interestAmountSum = 0;
|
|
|
if (this.selection.length > 0) {
|
|
|
this.selection.forEach(e => {
|
|
|
amountSum = _.add(amountSum, Number(e.amount));
|
|
|
@@ -1917,6 +1921,7 @@ export default {
|
|
|
integralSum = _.add(integralSum, Number(e.integral));
|
|
|
cartonWeight = _.add(cartonWeight, Number(e.cartonWeight));
|
|
|
cntrVolumn = _.add(cntrVolumn, Number(e.cntrVolumn));
|
|
|
+ interestAmountSum = _.add(interestAmountSum, Number(e.interestAmount));
|
|
|
});
|
|
|
} else {
|
|
|
{
|
|
|
@@ -1927,6 +1932,7 @@ export default {
|
|
|
integralSum = _.add(integralSum, Number(e.integral));
|
|
|
cartonWeight = _.add(cartonWeight, Number(e.cartonWeight));
|
|
|
cntrVolumn = _.add(cntrVolumn, Number(e.cntrVolumn));
|
|
|
+ interestAmountSum = _.add(interestAmountSum, Number(e.interestAmount));
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
@@ -1954,6 +1960,10 @@ export default {
|
|
|
if (item.property == "cntrVolumn") {
|
|
|
sums[index] = cntrVolumn ? cntrVolumn.toFixed(5) : "0.00000";
|
|
|
}
|
|
|
+
|
|
|
+ if (item.property === "interestAmount") {
|
|
|
+ sums[index] = interestAmountSum ? interestAmountSum.toFixed(2) : "0.00000";
|
|
|
+ }
|
|
|
}
|
|
|
});
|
|
|
}
|