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
ab707eaa
Commit
ab707eaa
authored
Oct 27, 2025
by
yuzhenWang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合并分支拉取新代码
parent
2aa179a9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
10 deletions
+16
-10
src/views/components/phone.vue
+0
-7
src/views/sign/FnaList/components/customer.vue
+16
-3
No files found.
src/views/components/phone.vue
View file @
ab707eaa
...
...
@@ -138,13 +138,6 @@ const setPhone = item => {
console
.
log
(
'item'
,
item
)
menuList
.
value
[
0
].
value
=
item
.
code
menuList
.
value
[
1
].
value
=
item
.
mobile
// menuList.value.forEach(e => {
// for (const key in item) {
// if (e.key === key) {
// e.value = item[e.key]
// }
// }
// })
}
// 关闭国家地区的抽屉
const
hanleCountryClose
=
()
=>
{
...
...
src/views/sign/FnaList/components/customer.vue
View file @
ab707eaa
...
...
@@ -468,6 +468,8 @@ const handleCloseDrawer = () => {
}
// 点击了抽屉的确定
const
confirmDrawer
=
info
=>
{
console
.
log
(
'抽屉info'
,
info
)
// info 为抽屉返回的值
if
(
drawerInfo
.
value
.
type
==
'arrowRight'
&&
drawerInfo
.
value
.
drawerType
)
{
console
.
log
(
'drawerInfo.value'
,
drawerInfo
.
value
)
...
...
@@ -476,10 +478,23 @@ const confirmDrawer = info => {
//要判断drawerType
switch
(
drawerInfo
.
value
.
drawerType
)
{
case
'phone'
:
let
phoneString
=
''
newObj
.
objType
=
drawerInfo
.
value
.
drawerType
// 因为电话有多个,根据点击的电话类型在抽屉里回显,所以要用drawerInfo.value.code来控制
form
.
value
[
info
.
key
]
=
`
${
newObj
[
drawerInfo
.
value
.
code
]}
${
newObj
[
drawerInfo
.
value
.
key
]}
`
form
.
value
[
info
.
key
]
=
phoneString
=
`
${
newObj
[
drawerInfo
.
value
.
code
]}
${
newObj
[
drawerInfo
.
value
.
key
]
}
`
newObj
.
phoneString
=
phoneString
saveKey
.
value
[
drawerInfo
.
value
.
key
]
=
newObj
phoneQuickList
.
value
.
push
({
phoneString
,
code
:
newObj
[
drawerInfo
.
value
.
code
],
mobile
:
newObj
[
drawerInfo
.
value
.
key
]
})
phoneQuickList
.
value
=
removeDuplicates
(
phoneQuickList
.
value
,
'phoneString'
)
console
.
log
(
'phoneQuickList.value'
,
phoneQuickList
.
value
)
console
.
log
(
'saveKey.value'
,
saveKey
.
value
)
break
case
'address'
:
newObj
.
objType
=
drawerInfo
.
value
.
drawerType
...
...
@@ -668,8 +683,6 @@ const setFormValue = (obj, formData, exportValue) => {
}
else
{
form
.
value
.
age
=
null
}
console
.
log
(
'form.value回填'
,
form
.
value
)
phoneQuickList
.
value
=
removeDuplicates
(
tempPhoneList
,
'phoneString'
)
addressQuickList
.
value
=
removeDuplicates
(
tempAddressList
,
'addressString'
)
...
...
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