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
8ab8a8eb
Commit
8ab8a8eb
authored
Dec 18, 2019
by
godwithdh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
boss
parent
4b08bebf
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
Finance.vue
src/view/tiip/kanban/Finance.vue
+10
-1
capital.vue
src/view/tiip/kanban/capital.vue
+1
-1
No files found.
src/view/tiip/kanban/Finance.vue
View file @
8ab8a8eb
...
@@ -102,7 +102,16 @@ export default {
...
@@ -102,7 +102,16 @@ export default {
]
]
},
"加载中"
,{})
},
"加载中"
,{})
if
(
typeof
value
==
'object'
&&
value
.
length
>
0
){
if
(
typeof
value
==
'object'
&&
value
.
length
>
0
){
this
.
list
=
value
this
.
list
=
value
.
map
(
v
=>
{
if
(
!
v
.
nAmount
){
v
.
nPercent
=
0
}
else
if
(
!
v
.
nPercent
){
v
.
nPercent
=
v
.
nAmount
>
0
?
100
:
-
100
}
else
{
v
.
nPercent
=
Math
.
round
((
v
.
nAmount
-
v
.
nAmounted
)
/
v
.
nAmounted
*
100
)
}
return
v
;
})
}
else
{
}
else
{
this
.
$vux
.
confirm
.
show
({
this
.
$vux
.
confirm
.
show
({
title
:
"提示"
,
title
:
"提示"
,
...
...
src/view/tiip/kanban/capital.vue
View file @
8ab8a8eb
...
@@ -82,7 +82,7 @@ export default{
...
@@ -82,7 +82,7 @@ export default{
}
else
if
(
v
.
nAmount
==
0
){
}
else
if
(
v
.
nAmount
==
0
){
v
.
rate
=
0
v
.
rate
=
0
}
else
{
}
else
{
v
.
rate
=
Math
.
round
((
v
.
nAmount
-
v
.
nAmounted
)
/
v
.
nAmounted
*
100
)
/
100
v
.
rate
=
Math
.
round
((
v
.
nAmount
-
v
.
nAmounted
)
/
v
.
nAmounted
*
100
)
}
}
return
v
;
return
v
;
})
})
...
...
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