From 41504265180fefbc7123712c64d079f4b5c33d97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Sat, 22 Dec 2018 22:46:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=8D=95=E6=8D=AE=E6=98=8E?= =?UTF-8?q?=E7=BB=86=E9=87=8C=E9=9D=A2=E6=98=BE=E7=A4=BA=E7=9A=84null?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- erp_web/js/pages/materials/bill_detail.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erp_web/js/pages/materials/bill_detail.js b/erp_web/js/pages/materials/bill_detail.js index 6c574c51..788eab4a 100644 --- a/erp_web/js/pages/materials/bill_detail.js +++ b/erp_web/js/pages/materials/bill_detail.js @@ -224,8 +224,8 @@ $("#bill .DiscountLastMoneyShow").text(data.discountlastmoney); $("#bill .ChangeAmountShow").text(data.changeamount); $("#bill .DebtShow").text((data.discountlastmoney-data.changeamount).toFixed(2)); - $("#bill .OtherMoneyShow").text(data.othermoney); - $("#bill .AccountDayShow").text(data.accountday); //结算天数 + $("#bill .OtherMoneyShow").text(data.othermoney==null ? "": data.othermoney); + $("#bill .AccountDayShow").text(data.accountday==null ? "": data.accountday); //结算天数 var otherMoney = data.othermoney + ""; var otherMoneyList = data.othermoneylist + ""; var otherMoneyItem = data.othermoneyitem + "";