给单据增加订金字段和页面功能逻辑

This commit is contained in:
季圣华
2022-05-29 18:19:16 +08:00
parent 3939106bee
commit 5e536d7bbd
17 changed files with 237 additions and 34 deletions

View File

@@ -232,7 +232,7 @@
{ title: '收款', dataIndex: 'changeAmount',width:60},
{ title: '欠款', dataIndex: 'debt',width:60,
customRender:function (text,record,index) {
let debt = record.discountLastMoney + record.otherMoney - record.changeAmount
let debt = record.discountLastMoney + record.otherMoney - (record.deposit + record.changeAmount)
return debt? debt.toFixed(2):''
}
},