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,