优化按月交费bug

This commit is contained in:
Your Name 2023-09-08 09:50:15 +08:00
parent f8a5d26a55
commit 5871400457

View File

@ -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);