Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
WX_h5
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
godwithdh
WX_h5
Commits
85a6b7b0
Commit
85a6b7b0
authored
Apr 08, 2020
by
godwithdh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐藏0
parent
297bdb4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
liabilities_detail.vue
src/view/tiip/IntReportForms/liabilities_detail.vue
+5
-3
No files found.
src/view/tiip/IntReportForms/liabilities_detail.vue
View file @
85a6b7b0
...
...
@@ -54,17 +54,19 @@ export default {
methods
:{
async
getDetail
(){
this
.
columns
[
1
].
field
=
this
.
$route
.
params
.
sCustomerType
==
'客户'
?
'应收'
:
'应付'
this
.
list
=
await
this
.
request
(
"getTiipLiabilities"
,{
var
value
=
await
this
.
request
(
"getTiipLiabilities"
,{
params
:{
iCustomerId
:
this
.
$route
.
params
.
iCustomerId
,
sType
:
'Details'
,
sCustomerType
:
this
.
$route
.
params
.
sCustomerType
,
}
},
"加载中"
,{})
this
.
list
.
map
(
x
=>
{
x
[
'应收'
]
=
((
Math
.
round
(
x
[
'应收'
]
*
100
)
/
100
)
||
""
).
toLocaleString
();
this
.
list
=
value
.
filter
(
v
=>
v
[
this
.
columns
[
1
].
field
]).
map
(
v
=>
{
v
[
this
.
columns
[
1
].
field
]
=
((
Math
.
round
(
v
[
this
.
columns
[
1
].
field
]
*
100
)
/
100
)).
toLocaleString
();
return
v
;
})
}
},
}
</
script
>
\ No newline at end of file
Write
Preview
Markdown
is supported
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