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
09a4505e
Commit
09a4505e
authored
Jan 12, 2023
by
Step_by_step
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 融资计算器,融资意向 微小 bug 修复
parent
44b706f8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
6 deletions
+15
-6
detail.vue
src/modules/calculator/views/detail.vue
+14
-5
index.vue
src/modules/intention/views/index.vue
+1
-1
No files found.
src/modules/calculator/views/detail.vue
View file @
09a4505e
...
@@ -99,6 +99,8 @@ const updateForm = async () => {
...
@@ -99,6 +99,8 @@ const updateForm = async () => {
item
.
value
=
resData
[
item
.
propName
].
split
(
' '
)[
0
]
||
''
;
item
.
value
=
resData
[
item
.
propName
].
split
(
' '
)[
0
]
||
''
;
}
else
if
(
item
.
propName
===
"contractRate"
)
{
}
else
if
(
item
.
propName
===
"contractRate"
)
{
item
.
value
=
resData
[
item
.
propName
]
*
100
||
''
;
item
.
value
=
resData
[
item
.
propName
]
*
100
||
''
;
}
else
if
(
item
.
propName
===
"repayment"
)
{
item
.
value
=
'均等还款'
}
}
item
.
disabled
=
true
;
item
.
disabled
=
true
;
return
item
;
return
item
;
...
@@ -107,6 +109,13 @@ const updateForm = async () => {
...
@@ -107,6 +109,13 @@ const updateForm = async () => {
}
else
{
}
else
{
formConfig
.
replace
(
formConfigArr
.
map
(
item
=>
{
formConfig
.
replace
(
formConfigArr
.
map
(
item
=>
{
if
(
item
.
propName
!==
"repayment"
)
{
if
(
item
.
propName
!==
"repayment"
)
{
if
([
'firstGoldRatio'
,
'priceOfItem'
,
'term'
].
includes
(
item
.
propName
))
{
item
.
value
=
0
;
}
else
if
([
'contractRate'
,
'firstRentDay'
].
includes
(
item
.
propName
))
{
item
.
value
=
''
;
}
else
if
(
item
.
propName
===
"repayment"
)
{
item
.
value
=
'均等还款'
}
item
.
disabled
=
false
;
item
.
disabled
=
false
;
}
}
return
item
;
return
item
;
...
@@ -210,9 +219,9 @@ const backLast = () => {
...
@@ -210,9 +219,9 @@ const backLast = () => {
</
style
>
</
style
>
<route>
<route>
{
{
meta: {
meta: {
keepAlive: true
keepAlive: true
}
}
}
}
</route>
</route>
\ No newline at end of file
\ No newline at end of file
src/modules/intention/views/index.vue
View file @
09a4505e
...
@@ -36,7 +36,7 @@ const getList = async () => {
...
@@ -36,7 +36,7 @@ const getList = async () => {
return
{
return
{
title
:
item
.
intentionNumber
,
title
:
item
.
intentionNumber
,
other_title
:
item
.
creationDate
,
other_title
:
item
.
creationDate
,
values
:
[[
"合同金额"
,
"状态"
],
[
"¥ "
+
item
.
contractAmount
,
item
.
intentionStatusN
]],
values
:
[[
"合同金额"
,
"状态"
],
[
"¥ "
+
(
item
.
contractAmount
||
'0.00'
)
,
item
.
intentionStatusN
]],
intentionId
:
item
.
intentionId
intentionId
:
item
.
intentionId
}
}
})
})
...
...
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