From 1393244160de693842ca64ab3422bac797377c0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Thu, 16 Jul 2020 21:49:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9C=AC=E6=AC=A1=E6=AC=A0?= =?UTF-8?q?=E6=AC=BE=E5=B1=95=E7=A4=BA=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- erp_web/js/pages/materials/in_out.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/erp_web/js/pages/materials/in_out.js b/erp_web/js/pages/materials/in_out.js index ba6939ad..10532eee 100644 --- a/erp_web/js/pages/materials/in_out.js +++ b/erp_web/js/pages/materials/in_out.js @@ -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); //结算天数