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
7cae7bd8
Commit
7cae7bd8
authored
Feb 02, 2023
by
胡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:一些格式修改
parent
81cda5dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
index.vue
src/modules/calculator/views/index.vue
+3
-1
index.vue
src/modules/relatedProject/views/index.vue
+1
-1
No files found.
src/modules/calculator/views/index.vue
View file @
7cae7bd8
...
...
@@ -25,6 +25,8 @@ import Plus from '@/components/Plus.vue'
import
api
from
"../api"
;
import
{
useRouter
}
from
"vue-router"
;
import
{
usePlan
}
from
'../store/index'
import
{
currency
}
from
'@/utils/textFormat'
const
planStore
=
usePlan
()
const
refreshing
=
$ref
(
true
);
...
...
@@ -35,7 +37,7 @@ let getList = async () => {
let
list
=
await
api
.
financingCalculator
({
userId
:
window
.
localStorage
.
getItem
(
'userId'
)
})
if
(
list
.
rows
&&
list
.
rows
.
length
)
{
list
=
list
.
rows
.
map
(
item
=>
({
...
item
,
title
:
item
.
creationDate
.
split
(
' '
)[
0
],
values
:
[[
"物件价格"
,
"融资金额"
,
"每期还款"
],
[
`¥
${
item
.
priceOfItem
}
`
,
`¥
${
item
.
financeAmount
}
`
,
`¥
${
item
.
dueAmount
}
`
]]
})
({
...
item
,
title
:
item
.
creationDate
.
split
(
' '
)[
0
],
values
:
[[
"物件价格"
,
"融资金额"
,
"每期还款"
],
[
`¥
${
currency
(
item
.
priceOfItem
)}
`
,
`¥
${
currency
(
item
.
financeAmount
)}
`
,
`¥
${
currency
(
item
.
dueAmount
)}
`
]]
})
)
}
else
{
list
=
[]
...
...
src/modules/relatedProject/views/index.vue
View file @
7cae7bd8
...
...
@@ -46,7 +46,7 @@ const queryList = async () => {
res
.
rows
.
forEach
(
item
=>
{
listValue
.
push
({
title
:
item
.
contractNumber
+
''
||
''
,
other_title
:
item
.
acceptDate
||
''
,
other_title
:
item
.
acceptDate
.
split
(
' '
)[
0
]
||
''
,
values
:
[[
"机型"
,
"机号"
,
"状态"
,
"代理店"
],
[
item
.
model
,
item
.
machineNumber
,
item
.
contractStatus
,
item
.
agencyName
]],
...
item
})
...
...
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