From d1fa008407f46cd46c11925f8cc10c9ea3ea16e7 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Wed, 19 Apr 2023 14:23:52 +0800 Subject: [PATCH] 270 --- .../app/AppIntegratingSupermarket/components/AddStore.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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('提交成功')