Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
ec45e0cf
Commit
ec45e0cf
authored
Apr 30, 2021
by
季圣华
Browse files
解决账户统计报表展示金额的bug
parent
8526e9c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/report/modules/AccountInOutList.vue
View file @
ec45e0cf
...
...
@@ -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
:
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment