diff --git a/project/fengdu/app/AppIntegratingSupermarket/components/AddStore.vue b/project/fengdu/app/AppIntegratingSupermarket/components/AddStore.vue index eff12fcc..3256b284 100644 --- a/project/fengdu/app/AppIntegratingSupermarket/components/AddStore.vue +++ b/project/fengdu/app/AppIntegratingSupermarket/components/AddStore.vue @@ -19,7 +19,7 @@ - + 不限 仅指定网格可见 @@ -373,12 +373,12 @@ this.instance.post(`/app/appintegralsupermarketshop/addOrUpdate`, { ...this.form, id: this.params.id || '', - visibleConfig: this.girdList.map(v => { + visibleConfig: this.form.serviceType === '1' ? this.girdList.map(v => { return { visibleId: v.girdCode, visibleName: v.girdName } - }) + }) : [] }).then(res => { if (res.code == 0) { this.$message.success('提交成功')