修复本次欠款展示的bug

This commit is contained in:
季圣华
2020-07-16 21:49:30 +08:00
parent a3bde11344
commit 1393244160

View File

@@ -1475,6 +1475,8 @@
var debt = 0;
if(res.othermoney){
debt = (res.discountlastmoney+res.othermoney-res.changeamount).toFixed(2);
} else {
debt = (res.discountlastmoney-res.changeamount).toFixed(2);
}
$("#DebtShow").text(debt);
$("#AccountDayShow").text(res.accountday); //结算天数