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
21cb3f50
Commit
21cb3f50
authored
Jan 30, 2026
by
yuzhenWang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test' into 'prod'
Test See merge request
!52
parents
1deb1dae
edf7624e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
27 deletions
+27
-27
src/formJson/productPlan.js
+1
-1
src/formJson/secondHolder.js
+1
-1
src/views/sign/appointment/components/productPlan.vue
+25
-25
No files found.
src/formJson/productPlan.js
View file @
21cb3f50
...
...
@@ -334,7 +334,7 @@ const productPlan = [
label
:
'供款期数'
,
key
:
'issueNumber'
,
value
:
''
,
domType
:
'
Selec
t'
,
domType
:
'
Inpu
t'
,
required
:
false
,
disabled
:
false
,
placeholder
:
'请选择'
,
...
...
src/formJson/secondHolder.js
View file @
21cb3f50
...
...
@@ -28,7 +28,7 @@ const secondHolder = [
//受益人
{
showMoudle
:
false
,
//模块是否展示
fatherTitle
:
'
受益
人'
,
fatherTitle
:
'
第二持有
人'
,
keyType
:
'Object'
,
//用于表单收集值时,判断是数组还是对象
key
:
'apiSecondHolderInfoDto'
,
anchorKey
:
'apiSecondHolderInfoDto'
,
...
...
src/views/sign/appointment/components/productPlan.vue
View file @
21cb3f50
...
...
@@ -407,32 +407,32 @@ const handleSearchSelectChange = (father, key) => {
dialogForm
.
value
[
'productLaunchName'
]
=
item1
.
label
dialogForm
.
value
[
'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
}
})
//
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
)
dialogForm
.
value
[
item
.
key
]
=
item
.
options
[
0
].
value
}
}
})
//
if (item.options.length > 0) dialogForm.value[item.key] = item.options[0].value
//
}
//
}
//
})
})
})
}
// 有些产品会没有供款年期,所以这段逻辑先注释掉后续在加
//
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)
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) {
...
...
@@ -450,10 +450,10 @@ const handleSearchSelectChange = (father, key) => {
// 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