From 3829e896da85903adb465022a576f79a30647e59 Mon Sep 17 00:00:00 2001 From: modendeveloper Date: Wed, 9 Apr 2025 00:10:02 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A3441=20=E3=80=90=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E8=B4=AD=E7=89=A9=E8=BD=A6?= =?UTF-8?q?=E3=80=81=E5=BE=85=E8=AF=84=E4=BB=B7--=E5=86=8D=E4=B9=B0?= =?UTF-8?q?=E4=B8=80=E5=8D=95=EF=BC=8C=E5=85=88=E7=BB=93=E7=AE=97=E6=BB=A1?= =?UTF-8?q?=E8=B6=B3=E4=BC=98=E6=83=A0=E5=88=B8=E4=BD=BF=E7=94=A8=E7=9A=84?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=EF=BC=8C=E5=86=8D=E7=BB=93=E7=AE=97=E4=BB=B7?= =?UTF-8?q?=E6=A0=BC=E4=B8=8D=E6=BB=A1=E8=B6=B3=E4=B8=8A=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E4=BC=98=E6=83=A0=E5=88=B8=E7=9A=84=E8=AE=A2=E5=8D=95=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E4=BC=9A=E6=8F=90=E7=A4=BA=E2=80=9C=E4=B8=8D=E6=BB=A1?= =?UTF-8?q?=E8=B6=B3=E4=BC=98=E6=83=A0=E5=88=B8=E4=BD=BF=E7=94=A8=E7=9A=84?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/order/OrderSubmission/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/order/OrderSubmission/index.vue b/pages/order/OrderSubmission/index.vue index af82d04..f00b3fa 100644 --- a/pages/order/OrderSubmission/index.vue +++ b/pages/order/OrderSubmission/index.vue @@ -461,7 +461,7 @@ export default { postOrderComputed(this.orderGroupInfo.orderKey, { addressId: this.addressInfo.id, useIntegral: this.useIntegral ? 1 : 0, - couponId: this.couponId || 0, + couponId: this.couponList.usable.length === 0 ? 0 : this.couponId || 0, usePoints: this.usePointsCheck ? 1 : 0, shipping_type: parseInt(shipping_type) + 1 }).then(res => { @@ -670,7 +670,7 @@ export default { phone: this.contactsTel, addressId: this.addressInfo.id, useIntegral: this.useIntegral ? 1 : 0, - couponId: this.couponId || 0, + couponId: this.couponList.usable.length === 0 ? 0 : this.couponId || 0, usePoints: this.usePointsNumber || 0, payType: this.active, pinkId: this.pinkId,