解决账户统计报表展示金额的bug

This commit is contained in:
季圣华
2021-04-30 00:16:28 +08:00
parent 8526e9c47f
commit ec45e0cf9d

View File

@@ -72,15 +72,14 @@
},
{ title: '类型', dataIndex: 'type', width: 100},
{ title: '单位信息', dataIndex: 'supplierName', width: 150},
{ title: '金额', dataIndex: 'changeAmount', width: 80},
{ title: '余额', dataIndex: 'balance', width: 80,
{ title: '金额', dataIndex: 'changeAmount', width: 80,
customRender:function (t,r,index) {
if (r.aList && r.amList) {
let aListArr = r.aList.toString().split(",");
let amListArr = r.amList.toString().split(",");
let res = "";
for (let i = 0; i < aListArr.length; i++) {
if (aListArr[i] == this.queryParam.accountId) {
if (aListArr[i] == r.accountId) {
res = amListArr[i];
}
}
@@ -91,6 +90,7 @@
}
}
},
{ title: '余额', dataIndex: 'balance', width: 80},
{ title: '单据日期', dataIndex: 'operTime', width: 180}
],
labelCol: {