From 455c7cea28415b2e152cc5c88f0fdc5ab4cc863a Mon Sep 17 00:00:00 2001 From: gyq <875626088@qq.com> Date: Mon, 22 Dec 2025 11:19:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=B6=88=E8=B4=B9=E8=BF=94?= =?UTF-8?q?=E7=8E=B0=E8=A1=A8=E5=8D=95=E9=AA=8C=E8=AF=81=E8=BD=AC=E4=B8=BA?= =?UTF-8?q?=E6=95=B0=E5=AD=97=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/marketing_center/cashback/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/marketing_center/cashback/index.vue b/src/views/marketing_center/cashback/index.vue index bd739e9..c72cd70 100644 --- a/src/views/marketing_center/cashback/index.vue +++ b/src/views/marketing_center/cashback/index.vue @@ -17,7 +17,7 @@ - + @@ -134,13 +134,13 @@ const rules = ref({ let errStr = '' form.value.cashbackStepList.map(item => { if (form.value.cashbackType == 'percentage') { - if (item.cashbackAmount > 100) { + if (+item.cashbackAmount > 100) { flag = false errStr = '输入有误,请检查返现比例是不是大于100' } } if (form.value.cashbackType == 'fix') { - if (!item.amount || !item.cashbackAmount || item.cashbackAmount > item.amount) { + if (!+item.amount || !+item.cashbackAmount || +item.cashbackAmount > +item.amount) { flag = false errStr = '输入有误,请检查返现金额是不是大于返现门槛' }