优化收款单
This commit is contained in:
@@ -152,8 +152,14 @@
|
||||
return (record.discountMoney + record.discountLastMoney).toFixed(2);
|
||||
}
|
||||
},
|
||||
{ title: '优惠后金额', dataIndex: 'discountLastMoney',width:100},
|
||||
{ title: '收款', dataIndex: 'changeAmount',width:50},
|
||||
{ title: '优惠后金额', dataIndex: 'discountLastMoney',width:80},
|
||||
{ title: '收款', dataIndex: 'changeAmount',width:60},
|
||||
{ title: '欠款', dataIndex: 'debt',width:60,
|
||||
customRender:function (text,record,index) {
|
||||
let debt = record.discountLastMoney - record.changeAmount
|
||||
return debt? debt.toFixed(2):''
|
||||
}
|
||||
},
|
||||
{
|
||||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
|
||||
Reference in New Issue
Block a user