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); }