优化代码

This commit is contained in:
java110 2023-06-20 15:38:25 +08:00
parent a0b1c8fc0e
commit b68435dcf0

View File

@ -177,7 +177,7 @@
.then(function(_fees) { .then(function(_fees) {
_that.receivableAmount = 0.0; _that.receivableAmount = 0.0;
_fees.forEach(function(_item) { _fees.forEach(function(_item) {
_that.receivableAmount += _item.feePrice; _that.receivableAmount += _item.feeTotalPrice;
}) })
_that.receivableAmount = _that.receivableAmount.toFixed(2); _that.receivableAmount = _that.receivableAmount.toFixed(2);