diff --git a/jshERP-web/src/views/bill/PurchaseInList.vue b/jshERP-web/src/views/bill/PurchaseInList.vue index 14b92713..8885f5b7 100644 --- a/jshERP-web/src/views/bill/PurchaseInList.vue +++ b/jshERP-web/src/views/bill/PurchaseInList.vue @@ -225,7 +225,7 @@ }, { title: '待付金额', dataIndex: 'needInMoney',width:80, customRender:function (text,record,index) { - let needInMoney = record.discountLastMoney + record.otherMoney + let needInMoney = record.discountLastMoney + record.otherMoney - record.deposit return needInMoney? needInMoney.toFixed(2):'' } }, diff --git a/jshERP-web/src/views/bill/SaleOutList.vue b/jshERP-web/src/views/bill/SaleOutList.vue index e60f525a..37115fae 100644 --- a/jshERP-web/src/views/bill/SaleOutList.vue +++ b/jshERP-web/src/views/bill/SaleOutList.vue @@ -225,7 +225,7 @@ }, { title: '待收金额', dataIndex: 'needOutMoney',width:80, customRender:function (text,record,index) { - let needOutMoney = record.discountLastMoney + record.otherMoney + let needOutMoney = record.discountLastMoney + record.otherMoney - record.deposit return needOutMoney? needOutMoney.toFixed(2):'' } },