|
@@ -473,7 +473,8 @@
|
|
|
},
|
|
|
// 员工用户是否开启商城
|
|
|
getShopUserStatus(flag){
|
|
|
- getShopUserParam({}).then(res=>{
|
|
|
+ const data = this.$store.state.vuex_storeShelf
|
|
|
+ getShopUserParam({shelfSn: data.shelfSn}).then(res=>{
|
|
|
const item = res.data
|
|
|
this.hasShopiing = item && item.paramMap && item.paramMap.mall_flag && item.paramMap.mall_flag.paramValue == 1
|
|
|
this.$store.state.vuex_hasShopiing = this.hasShopiing
|