优化财务单据

This commit is contained in:
季圣华
2021-07-03 00:44:42 +08:00
parent cc10923600
commit 090ca66a72
11 changed files with 57 additions and 37 deletions

View File

@@ -152,7 +152,12 @@
return (record.discountMoney + record.discountLastMoney).toFixed(2);
}
},
{ title: '优惠后金额', dataIndex: 'discountLastMoney',width:100},
{ title: '待付金额', dataIndex: 'needBackMoney',width:80,
customRender:function (text,record,index) {
let needBackMoney = record.discountLastMoney + record.otherMoney
return needBackMoney? needBackMoney.toFixed(2):''
}
},
{ title: '付款', dataIndex: 'changeAmount',width:50},
{
title: '操作',