diff --git a/public/pages/property/payFeeMonthOrder/payFeeMonthOrder.js b/public/pages/property/payFeeMonthOrder/payFeeMonthOrder.js index f843287ad..e986fd2e5 100644 --- a/public/pages/property/payFeeMonthOrder/payFeeMonthOrder.js +++ b/public/pages/property/payFeeMonthOrder/payFeeMonthOrder.js @@ -133,7 +133,7 @@ } }) }); - $that.payFeeMonthOrderInfo.totalAmount = _totalAmount; + $that.payFeeMonthOrderInfo.totalAmount = _totalAmount.toFixed(2); }, _openPayFee: function () { @@ -167,6 +167,16 @@ $that.payFeeMonthOrderInfo.payMonthDate = ""; $that._listOweMonthFee(); }, + getOnePrice1: function (fee) { + let _price = fee.mwPrice; + if (!_price) { + return fee.squarePrice; + } + if (parseFloat(_price) > 0) { + return _price; + } + return fee.squarePrice; + }, } }); })(window.vc); \ No newline at end of file