Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-csf-front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yuzhenWang
yd-csf-front
Commits
fd3feaf0
Commit
fd3feaf0
authored
Jan 27, 2026
by
yuzhenWang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改预约-产品计划供款期数为文本框
parent
4f8fad46
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
27 deletions
+29
-27
src/formJson/productPlan.js
+1
-1
src/views/sign/appointment/components/productPlan.vue
+28
-26
No files found.
src/formJson/productPlan.js
View file @
fd3feaf0
...
...
@@ -54,7 +54,7 @@ const productPlan = [
{
label
:
'供款期数'
,
key
:
'issueNumber'
,
domType
:
'
Selec
t'
,
domType
:
'
Inpu
t'
,
required
:
true
,
placeholder
:
'请选择'
,
dictType
:
'issueNumber'
,
...
...
src/views/sign/appointment/components/productPlan.vue
View file @
fd3feaf0
...
...
@@ -425,33 +425,35 @@ const handleSearchSelectChange = (father, key) => {
})
})
}
if
(
key
==
'productLaunchMainName'
)
{
father
.
data
.
forEach
(
item
=>
{
searchOptions
.
value
[
'productLaunchMainName'
].
forEach
(
item1
=>
{
if
(
item1
.
value
==
form
.
value
[
father
.
key
][
key
])
{
form
.
value
[
father
.
key
][
key
]
=
item1
.
label
form
.
value
[
father
.
key
][
'productLaunchBizId'
]
=
item1
.
value
}
item1
.
apiAttributeSettingDtoList
.
forEach
(
item2
=>
{
if
(
item2
.
fieldBizId
==
'field_eWCnuwS3WPKog5kZ'
&&
item
.
key
==
'issueNumber'
)
{
if
(
item2
.
value
)
{
item
.
options
=
item2
.
value
.
split
(
/
[
,,;;
\s]
+/
)
.
map
(
item
=>
item
.
trim
())
.
filter
(
item
=>
item
!==
''
)
.
map
(
item
=>
{
return
{
label
:
item
,
value
:
item
}
})
// 有些产品会没有供款年期,所以这段逻辑先注释掉后续在加
// if (key == 'productLaunchMainName') {
// father.data.forEach(item => {
// searchOptions.value['productLaunchMainName'].forEach(item1 => {
// if (item1.value == form.value[father.key][key]) {
// // form.value[father.key][key] = item1.label
// // form.value[father.key]['productLaunchBizId'] = item1.value
// console.log('item1.apiAttributeSettingDtoList', item1.apiAttributeSettingDtoList)
// item1.apiAttributeSettingDtoList.forEach(item2 => {
// if (item2.fieldBizId == 'field_eWCnuwS3WPKog5kZ' && item.key == 'issueNumber') {
// if (item2.value) {
// item.options = item2.value
// .split(/[,,;;\s]+/)
// .map(item => item.trim())
// .filter(item => item !== '')
// .map(item => {
// return { label: item, value: item }
// })
if
(
item
.
options
.
length
>
0
)
form
.
value
[
father
.
key
][
'issueNumber'
]
=
item
.
options
[
0
].
value
}
console
.
log
(
item
.
options
,
item
,
'1111'
)
}
})
})
})
}
// if (item.options.length > 0)
// form.value[father.key]['issueNumber'] = item.options[0].value
// }
// console.log(item.options, item, '1111')
// }
// })
// }
// })
// })
// }
if
(
key
==
'insuranceTypeName'
)
{
searchOptions
.
value
[
'insuranceTypeName'
].
forEach
(
item
=>
{
if
(
item
.
value
==
form
.
value
[
'apiProductPlanMainInfoDto'
][
'insuranceTypeName'
])
{
...
...
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