优化单据列表的待收待付金额
This commit is contained in:
@@ -231,7 +231,7 @@
|
|||||||
{ title: '待退金额', dataIndex: 'needBackMoney',width:80,
|
{ title: '待退金额', dataIndex: 'needBackMoney',width:80,
|
||||||
customRender:function (text,record,index) {
|
customRender:function (text,record,index) {
|
||||||
let needBackMoney = record.discountLastMoney + record.otherMoney
|
let needBackMoney = record.discountLastMoney + record.otherMoney
|
||||||
return needBackMoney? needBackMoney.toFixed(2):''
|
return needBackMoney? needBackMoney.toFixed(2):0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ title: '退款', dataIndex: 'changeAmount',width:50},
|
{ title: '退款', dataIndex: 'changeAmount',width:50},
|
||||||
|
|||||||
@@ -252,7 +252,7 @@
|
|||||||
{ title: '待付金额', dataIndex: 'needInMoney',width:80,
|
{ title: '待付金额', dataIndex: 'needInMoney',width:80,
|
||||||
customRender:function (text,record,index) {
|
customRender:function (text,record,index) {
|
||||||
let needInMoney = record.discountLastMoney + record.otherMoney - record.deposit
|
let needInMoney = record.discountLastMoney + record.otherMoney - record.deposit
|
||||||
return needInMoney? needInMoney.toFixed(2):''
|
return needInMoney? needInMoney.toFixed(2):0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ title: '付款', dataIndex: 'changeAmount',width:60},
|
{ title: '付款', dataIndex: 'changeAmount',width:60},
|
||||||
|
|||||||
@@ -231,7 +231,7 @@
|
|||||||
{ title: '待退金额', dataIndex: 'needBackMoney',width:80,
|
{ title: '待退金额', dataIndex: 'needBackMoney',width:80,
|
||||||
customRender:function (text,record,index) {
|
customRender:function (text,record,index) {
|
||||||
let needBackMoney = record.discountLastMoney + record.otherMoney
|
let needBackMoney = record.discountLastMoney + record.otherMoney
|
||||||
return needBackMoney? needBackMoney.toFixed(2):''
|
return needBackMoney? needBackMoney.toFixed(2):0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ title: '退款', dataIndex: 'changeAmount',width:50},
|
{ title: '退款', dataIndex: 'changeAmount',width:50},
|
||||||
|
|||||||
@@ -252,7 +252,7 @@
|
|||||||
{ title: '待收金额', dataIndex: 'needOutMoney',width:80,
|
{ title: '待收金额', dataIndex: 'needOutMoney',width:80,
|
||||||
customRender:function (text,record,index) {
|
customRender:function (text,record,index) {
|
||||||
let needOutMoney = record.discountLastMoney + record.otherMoney - record.deposit
|
let needOutMoney = record.discountLastMoney + record.otherMoney - record.deposit
|
||||||
return needOutMoney? needOutMoney.toFixed(2):''
|
return needOutMoney? needOutMoney.toFixed(2):0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ title: '收款', dataIndex: 'changeAmount',width:60},
|
{ title: '收款', dataIndex: 'changeAmount',width:60},
|
||||||
|
|||||||
Reference in New Issue
Block a user