修复本次欠款展示的bug
This commit is contained in:
@@ -1475,6 +1475,8 @@
|
|||||||
var debt = 0;
|
var debt = 0;
|
||||||
if(res.othermoney){
|
if(res.othermoney){
|
||||||
debt = (res.discountlastmoney+res.othermoney-res.changeamount).toFixed(2);
|
debt = (res.discountlastmoney+res.othermoney-res.changeamount).toFixed(2);
|
||||||
|
} else {
|
||||||
|
debt = (res.discountlastmoney-res.changeamount).toFixed(2);
|
||||||
}
|
}
|
||||||
$("#DebtShow").text(debt);
|
$("#DebtShow").text(debt);
|
||||||
$("#AccountDayShow").text(res.accountday); //结算天数
|
$("#AccountDayShow").text(res.accountday); //结算天数
|
||||||
|
|||||||
Reference in New Issue
Block a user