From ec45e0cf9d1fd733c6859ba94cb0d6dcc6ee8220 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Fri, 30 Apr 2021 00:16:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E8=B4=A6=E6=88=B7=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E6=8A=A5=E8=A1=A8=E5=B1=95=E7=A4=BA=E9=87=91=E9=A2=9D?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jshERP-web/src/views/report/modules/AccountInOutList.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jshERP-web/src/views/report/modules/AccountInOutList.vue b/jshERP-web/src/views/report/modules/AccountInOutList.vue index 83fe32e3..352a3012 100644 --- a/jshERP-web/src/views/report/modules/AccountInOutList.vue +++ b/jshERP-web/src/views/report/modules/AccountInOutList.vue @@ -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: {