From bebbcab19bf53d06945b039d3e8d734ab3621515 Mon Sep 17 00:00:00 2001 From: lzhizhao <790086754@qq.com> Date: Mon, 18 Aug 2025 23:59:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A4=84=E7=90=86=E7=A7=AF=E5=88=86?= =?UTF-8?q?=E6=9C=80=E4=BD=8E0.01=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../popup/points-product-config.vue | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) 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