优化单据,附上其它费用

This commit is contained in:
季圣华
2020-06-19 23:55:01 +08:00
parent 41d495ab6e
commit 8c47989a4a
2 changed files with 23 additions and 12 deletions

View File

@@ -234,7 +234,7 @@
$("#bill .DiscountMoneyShow").text(data.discountmoney);
$("#bill .DiscountLastMoneyShow").text(data.discountlastmoney);
$("#bill .ChangeAmountShow").text(data.changeamount==null ? "":data.changeamount);
$("#bill .DebtShow").text((data.discountlastmoney-data.changeamount).toFixed(2));
$("#bill .DebtShow").text((data.discountlastmoney+data.othermoney-data.changeamount).toFixed(2));
$("#bill .OtherMoneyShow").text(data.othermoney==null ? "": data.othermoney);
$("#bill .AccountDayShow").text(data.accountday==null ? "": data.accountday); //结算天数
var otherMoney = data.othermoney + "";