Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-store
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 a719a982
authored
Dec 25, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
可选链
1 parent
feb334b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
src/views/homeSet/index.vue
src/views/homeSet/index.vue
View file @
a719a98
...
@@ -529,6 +529,8 @@ export default {
...
@@ -529,6 +529,8 @@ export default {
mounted
()
{
mounted
()
{
this
.
userInfo
=
this
.
$globalState
.
session
this
.
userInfo
=
this
.
$globalState
.
session
// 判断当前的门店是不是物业门店
// 判断当前的门店是不是物业门店
console
.
log
(
this
.
$wuye_merchantLists
)
console
.
log
(
this
.
userInfo
.
merchantId
)
this
.
isWuyeFlag
=
this
.
$wuye_merchantLists
.
some
(
item
=>
item
==
this
.
userInfo
.
merchantId
);
this
.
isWuyeFlag
=
this
.
$wuye_merchantLists
.
some
(
item
=>
item
==
this
.
userInfo
.
merchantId
);
// 如果不是物业门店 隐藏福利二维码
// 如果不是物业门店 隐藏福利二维码
this
.
updateExternalFormList
();
this
.
updateExternalFormList
();
...
@@ -555,6 +557,7 @@ export default {
...
@@ -555,6 +557,7 @@ export default {
item
.
editFormData
.
forEach
(
formItem
=>
{
item
.
editFormData
.
forEach
(
formItem
=>
{
if
(
formItem
.
name
===
'welfareGroupQRCode'
||
formItem
.
name
===
'welfareOfficerQRCode'
)
{
if
(
formItem
.
name
===
'welfareGroupQRCode'
||
formItem
.
name
===
'welfareOfficerQRCode'
)
{
formItem
.
isHide
=
!
this
.
isWuyeFlag
;
formItem
.
isHide
=
!
this
.
isWuyeFlag
;
console
.
log
(
!
this
.
isWuyeFlag
)
}
}
});
});
}
}
...
@@ -603,8 +606,8 @@ export default {
...
@@ -603,8 +606,8 @@ export default {
this
.
editForm
.
noticeToSubMerchant
=
res
.
noticeToSubMerchant
||
'N'
this
.
editForm
.
noticeToSubMerchant
=
res
.
noticeToSubMerchant
||
'N'
// 本次新增福利二维码
// 本次新增福利二维码
this
.
editForm
.
welfareGroupQRCode
=
res
?.
welfareGroupQRCode
.
split
()
||
[]
this
.
editForm
.
welfareGroupQRCode
=
res
?.
welfareGroupQRCode
?
.
split
()
||
[]
this
.
editForm
.
welfareOfficerQRCode
=
res
?.
welfareOfficerQRCode
.
split
()
||
[]
this
.
editForm
.
welfareOfficerQRCode
=
res
?.
welfareOfficerQRCode
?
.
split
()
||
[]
// 在线客服
// 在线客服
this
.
customerServerList
=
[]
this
.
customerServerList
=
[]
...
...
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