From 2f2ba4d97c248a23c3f97e08ffa54d81e65de92f Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Sat, 1 Nov 2025 16:17:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Accompany/components/AddAccompany.vue | 33 +++++++++++++++---- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/src/views/Accompany/components/AddAccompany.vue b/src/views/Accompany/components/AddAccompany.vue index 14758b4..077569e 100644 --- a/src/views/Accompany/components/AddAccompany.vue +++ b/src/views/Accompany/components/AddAccompany.vue @@ -17,7 +17,7 @@ - +
- + - + - - + + - - + +
@@ -125,6 +125,10 @@ coverList:[], imageList:[], accompany_product_site:[], + showContent:false, + // showflowContent:false, + // showpriceContent:false, + // showappointContent:false, form: { id:'', type: 1, @@ -163,12 +167,19 @@ this.imageList = [] this.accompany_product_site = [] } + this.showContent = true + // this.showflowContent = true + // this.showpriceContent = true + // this.showappointContent = true }, visible(newVal) { this.$emit('update:isShow', newVal) } }, methods: { + saveContent(e,type){ + this.form[type] = e + }, setType(e){ console.log("type",e) this.form.type=e?e:1 @@ -271,6 +282,14 @@ } this.accompany_product_site = detail['accompany_product_site'] || []; this.form.site_id = this.form.site_id?this.form.site_id.split(",") : []; + this.form.content = detail.content? detail.content:'' + this.form.appoint_content = detail.appoint_content? detail.appoint_content:'' + this.form.price_content = detail.price_content? detail.price_content:'' + + this.showContent = true + // this.showflowContent = true + // this.showpriceContent = true + // this.showappointContent = true } catch (err) { console.error(err); }