From cb95aad42f49f9ac5d7e1528105124e7cd9c077a Mon Sep 17 00:00:00 2001 From: "1304317391@qq.com" Date: Mon, 28 Nov 2022 15:31:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E5=A2=9E=E5=8A=A0=E9=93=BE?= =?UTF-8?q?=E6=8E=A5=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/bxg/activity/coupon/form3.vue | 211 ++++++++++++++++++++++++ src/views/bxg/activity/coupon/index.vue | 29 +++- src/views/bxg/shop/goods/form.vue | 18 +- 3 files changed, 256 insertions(+), 2 deletions(-) create mode 100644 src/views/bxg/activity/coupon/form3.vue diff --git a/src/views/bxg/activity/coupon/form3.vue b/src/views/bxg/activity/coupon/form3.vue new file mode 100644 index 0000000..f315eae --- /dev/null +++ b/src/views/bxg/activity/coupon/form3.vue @@ -0,0 +1,211 @@ + + + + + + \ No newline at end of file diff --git a/src/views/bxg/activity/coupon/index.vue b/src/views/bxg/activity/coupon/index.vue index 8dcbc01..c215fa5 100644 --- a/src/views/bxg/activity/coupon/index.vue +++ b/src/views/bxg/activity/coupon/index.vue @@ -17,6 +17,7 @@ + @@ -65,6 +66,15 @@ 操作 + + 发放 + - + + + + + + @@ -531,6 +536,7 @@ export default { unit_name: '', store_info: '', image: '', + linkImage:'', slider_image: [], description: '', ficti: 0, @@ -646,6 +652,12 @@ export default { console.log('bbbbbb:'+this.oneFormValidate.pic) } }, + 'formValidate.linkImage': function(val) { + console.log('aaaa:'+val) + if (val) { + this.formValidate.linkImage= val + } + }, 'form.sliderImageArr': function(val) { if (val) { this.form.slider_image = val.join(',') @@ -882,6 +894,9 @@ export default { if (data.config==undefined){ data['config']=[] } + if (data.linkImage==null){ + data.linkImage='' + } that.editableTabs=data.config that.formValidate = data; that.formValidate.cate_id = cate_id; @@ -995,6 +1010,7 @@ export default { unit_name: '', store_info: '', image: '', + linkImage:'', slider_image: [], description: '', ficti: 0,