Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-shop
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 17c15480
authored
May 06, 2024
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
驻店负责人下拉框添加删除功能
1 parent
d1f55f8c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/views/customerManage/editCustomer.vue
src/views/customerManage/editCustomer.vue
View file @
17c1548
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
</el-select>
</el-select>
</div>
</div>
<div
slot=
"staffUuid"
>
<div
slot=
"staffUuid"
>
<el-select
v-model=
"editForm['staffUuid']"
@
change=
"handleResidentManageChange"
>
<el-select
v-model=
"editForm['staffUuid']"
clearable
@
change=
"handleResidentManageChange"
>
<el-option
v-for=
"(item, index) in baseData.residentManagerList"
:key=
"index"
:label=
"item.staffName"
:value=
"item.staffUuid"
></el-option>
<el-option
v-for=
"(item, index) in baseData.residentManagerList"
:key=
"index"
:label=
"item.staffName"
:value=
"item.staffUuid"
></el-option>
</el-select>
</el-select>
</div>
</div>
...
@@ -331,7 +331,7 @@ export default {
...
@@ -331,7 +331,7 @@ export default {
}
}
})
})
// 驻店负责人参数
// 驻店负责人参数
if
(
params
?.
staffUuid
)
{
//
if (params?.staffUuid) {
let
obj
=
this
.
baseData
?.
residentManagerList
?.
find
(
val
=>
val
.
staffUuid
==
params
.
staffUuid
)
let
obj
=
this
.
baseData
?.
residentManagerList
?.
find
(
val
=>
val
.
staffUuid
==
params
.
staffUuid
)
params
.
residentManager
=
{
params
.
residentManager
=
{
userId
:
params
.
staffUuid
,
userId
:
params
.
staffUuid
,
...
@@ -340,7 +340,7 @@ export default {
...
@@ -340,7 +340,7 @@ export default {
userNum
:
obj
?.
staffPhone
userNum
:
obj
?.
staffPhone
}
}
delete
params
.
staffUuid
delete
params
.
staffUuid
}
//
}
this
.
$confirm
(
'<strong>是否确认提交?</strong> <div>提交客户开通申请,进入开店审核,审核通过后将为您自动'
+
(
this
.
routeInfo
.
editType
==
'add'
?
'创建'
:
'编辑'
)
+
'客户</div> '
,
'提示'
,
{
this
.
$confirm
(
'<strong>是否确认提交?</strong> <div>提交客户开通申请,进入开店审核,审核通过后将为您自动'
+
(
this
.
routeInfo
.
editType
==
'add'
?
'创建'
:
'编辑'
)
+
'客户</div> '
,
'提示'
,
{
dangerouslyUseHTMLString
:
true
,
dangerouslyUseHTMLString
:
true
,
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment