Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
komatsu-lease-app
Project
Project
Details
Activity
Releases
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
komatsu
komatsu-lease-app
Commits
9ed4a7ea
Commit
9ed4a7ea
authored
Jan 29, 2023
by
胡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 对金钱进行格式化
parent
d1a5bbc0
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
435 additions
and
432 deletions
+435
-432
index.vue
src/modules/intention/views/index.vue
+93
-92
index.vue
src/modules/repayPlan/views/index.vue
+102
-100
plan.vue
src/modules/repayPlan/views/plan.vue
+240
-240
No files found.
src/modules/intention/views/index.vue
View file @
9ed4a7ea
...
@@ -24,6 +24,7 @@ import Plus from '@/components/Plus.vue'
...
@@ -24,6 +24,7 @@ import Plus from '@/components/Plus.vue'
import
api
from
"../api"
;
import
api
from
"../api"
;
import
{
useRouter
}
from
"vue-router"
;
import
{
useRouter
}
from
"vue-router"
;
import
{
useIntention
}
from
'../store/index'
import
{
useIntention
}
from
'../store/index'
import
{
currency
}
from
'@/utils/textFormat'
const
formStore
=
useIntention
()
const
formStore
=
useIntention
()
...
@@ -35,8 +36,8 @@ const getList = async () => {
...
@@ -35,8 +36,8 @@ const getList = async () => {
listValue
=
res
.
rows
.
map
(
item
=>
{
listValue
=
res
.
rows
.
map
(
item
=>
{
return
{
return
{
title
:
item
.
intentionNumber
,
title
:
item
.
intentionNumber
,
other_title
:
item
.
creationDate
,
other_title
:
item
.
creationDate
.
split
(
' '
)[
0
],
values
:
[[
"合同金额"
,
"状态"
],
[
"¥ "
+
(
item
.
contractAmount
||
'0.00'
),
item
.
intentionStatusN
]],
values
:
[[
"合同金额"
,
"状态"
],
[
"¥ "
+
(
currency
(
item
.
contractAmount
)
||
'0.00'
),
item
.
intentionStatusN
]],
intentionId
:
item
.
intentionId
intentionId
:
item
.
intentionId
}
}
})
})
...
...
src/modules/repayPlan/views/index.vue
View file @
9ed4a7ea
...
@@ -24,6 +24,7 @@ import Notice from '@/components/Notice.vue'
...
@@ -24,6 +24,7 @@ import Notice from '@/components/Notice.vue'
import
ListItem
from
'@/components/ListItem.vue'
import
ListItem
from
'@/components/ListItem.vue'
import
api
from
"../api"
;
import
api
from
"../api"
;
import
{
useRouter
}
from
"vue-router"
;
import
{
useRouter
}
from
"vue-router"
;
import
{
currency
}
from
'@/utils/textFormat'
const
searchVal
=
$ref
(
''
);
const
searchVal
=
$ref
(
''
);
...
@@ -52,11 +53,12 @@ const getList = async () => {
...
@@ -52,11 +53,12 @@ const getList = async () => {
...
item
,
...
item
,
title
:
item
.
contractNumber
,
title
:
item
.
contractNumber
,
other_title
:
item
.
applyDate
?.
split
(
' '
)[
0
],
other_title
:
item
.
applyDate
?.
split
(
' '
)[
0
],
values
:
[[
"剩余应还金额"
,
"状态"
,
"融资金额"
],
[
item
.
residueAmount
,
item
.
contractStatusN
,
item
.
financeAmount
]]
values
:
[[
"剩余应还金额"
,
"状态"
,
"融资金额"
],
[
currency
(
item
.
residueAmount
),
item
.
contractStatusN
,
currency
(
item
.
financeAmount
)]]
}))
}))
}
else
{
}
else
{
list
=
[];
list
=
[];
}
}
listValue
=
list
;
listValue
=
list
;
refreshing
=
false
;
refreshing
=
false
;
};
};
...
...
src/modules/repayPlan/views/plan.vue
View file @
9ed4a7ea
...
@@ -15,11 +15,11 @@
...
@@ -15,11 +15,11 @@
</div>
</div>
<div
class=
"center-item"
>
<div
class=
"center-item"
>
<p>
<p>
<span>
应付
金额
</span>
<span>
应付
</span>
<span>
¥9,000.00
</span>
<span>
¥9,000.00
</span>
</p>
</p>
<p>
<p>
<span>
待付
金额
</span>
<span>
待付
</span>
<span>
¥0.00
</span>
<span>
¥0.00
</span>
</p>
</p>
</div>
</div>
...
...
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