diff --git a/src/views/modules/marketing/points-mall/popup/points-product-config.vue b/src/views/modules/marketing/points-mall/popup/points-product-config.vue index 45359b3..0df91f1 100644 --- a/src/views/modules/marketing/points-mall/popup/points-product-config.vue +++ b/src/views/modules/marketing/points-mall/popup/points-product-config.vue @@ -72,7 +72,10 @@ - + 积分优惠购 积分换购 @@ -132,7 +135,8 @@ > @@ -210,6 +214,11 @@ export default { }, methods: { + handleChangeRadio() { + if (this.configForm.exchangePointsType === 1) { + this.configForm.exchangeRequiredAmount = 0.01; + } + }, show(productData, editData = null, exchangeType = 1) { this.visible = true; this.isEdit = !!editData; @@ -289,12 +298,6 @@ export default { : 0.01 // 如果不是积分优惠购,固定传0.01 }; } - console.log(submitData); - if (submitData.exchangeRequiredAmount < 0.01) { - this.$message.error("请输入正确的优惠购价格, 不能小于0.01"); - this.submitting = false; - return; - } // 根据是否编辑模式调用不同的API const apiCall = this.isEdit