diff --git a/src/views/modules/coupon/coupon-add-or-update.vue b/src/views/modules/coupon/coupon-add-or-update.vue index 2642cf6..4624929 100644 --- a/src/views/modules/coupon/coupon-add-or-update.vue +++ b/src/views/modules/coupon/coupon-add-or-update.vue @@ -18,7 +18,7 @@ - + - - - @@ -89,7 +89,7 @@ - - + 长期有效 领取生效 自定义 @@ -181,7 +181,7 @@ prop="effectTime" v-if="dataForm.effectType == '2'" > - @@ -211,7 +211,7 @@ - - + - + { if (data.code !== 0) return this.$message.error(data.msg); this.visible = true; + this.getCouponInfoLoad = false; if (data && data.code == 0) { this.dataForm = data.couponEntity; + + if(this.dataForm.grantCount>0){ + this.isEdit=false + } if ( this.dataForm.effectTime && this.dataForm.effectTime != null diff --git a/src/views/modules/coupon/coupon.vue b/src/views/modules/coupon/coupon.vue index 365cccb..0b640a6 100644 --- a/src/views/modules/coupon/coupon.vue +++ b/src/views/modules/coupon/coupon.vue @@ -1,16 +1,35 @@