Commit f0103fa2 by caoyanzhi

update: 客户展示设置

parent 4fc12a0c
......@@ -117,12 +117,12 @@ export default {
errMsg.errorMsg(res.data);
return;
}
// storeType = -1时为通用策略
// storeType = -999时为通用策略
// 通用策略不能修改门店类型
if (this.myCustomData.storeType.includes('-999')) return;
if (Array.isArray(result)) {
this.selectedTypes = result.reduce((types, el) => {
if (typeof el.storeType == 'string' && el.memberManageSettingId != this.myCustomData.memberManageSettingId) {
if (typeof el.storeType == 'string' && el.memberManageSettingId != this.myCustomData.memberManageSettingId && el.storeType != '-999') {
let storeTypes = el.storeType.split(',');
storeTypes = storeTypes.filter(el => !types.includes(el));
types = types.concat(storeTypes);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment