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 c474a1e4
authored
Aug 25, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
df518391
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/views/staffManage/edit.vue
src/views/staffManage/edit.vue
View file @
c474a1e
...
@@ -218,7 +218,6 @@ export default {
...
@@ -218,7 +218,6 @@ export default {
]
]
},
},
isEdit
:
true
,
isEdit
:
true
,
isWatch
:
false
,
editFormData
:
[
editFormData
:
[
{
{
label
:
'所属服务中心'
,
label
:
'所属服务中心'
,
...
@@ -431,7 +430,6 @@ export default {
...
@@ -431,7 +430,6 @@ export default {
this
.
routeInfo
=
this
.
$route
.
query
this
.
routeInfo
=
this
.
$route
.
query
this
.
routeInfo
.
editType
!=
'add'
?
this
.
getInfo
()
:
''
this
.
routeInfo
.
editType
!=
'add'
?
this
.
getInfo
()
:
''
this
.
userInfo
=
this
.
$globalState
.
session
this
.
userInfo
=
this
.
$globalState
.
session
this
.
isWatch
=
this
.
routeInfo
.
editType
!=
'add'
if
(
this
.
routeInfo
.
editType
==
'edit'
)
{
if
(
this
.
routeInfo
.
editType
==
'edit'
)
{
this
.
changeFormAttr
(
'editFormData'
,
'isDisabled'
,
[
'merchantNo'
],
true
)
this
.
changeFormAttr
(
'editFormData'
,
'isDisabled'
,
[
'merchantNo'
],
true
)
}
}
...
@@ -604,6 +602,8 @@ export default {
...
@@ -604,6 +602,8 @@ export default {
}
}
this
.
$apis
.
customer
.
getServiceCenterList
(
params
).
then
(
res
=>
{
this
.
$apis
.
customer
.
getServiceCenterList
(
params
).
then
(
res
=>
{
this
.
baseData
.
merchantList
=
res
this
.
baseData
.
merchantList
=
res
// 若当前服务商下仅有1个服务中心时默认自动选中该服务中心
if
(
res
.
length
==
1
&&
this
.
routeInfo
.
editType
==
'add'
)
this
.
editForm
.
merchantNo
=
res
[
0
].
yqMerchantId
this
.
$utils
.
getOptionsList
(
this
,
'editFormData'
,
false
)
this
.
$utils
.
getOptionsList
(
this
,
'editFormData'
,
false
)
})
})
},
},
...
...
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