This commit is contained in:
曹辉 2023-03-03 17:27:29 +08:00
parent 9df3d5f5b7
commit e02959720b

View File

@ -597,16 +597,19 @@
} else {
this.couponListfalse.push(e)
}
if (this.couponId == e.couponId) {
if (this.totalPrice >= e.couponConsumePrice) {
this.Paidinprice = (this.totalPrice - e.couponPrice).toFixed(2)
this.coupon = e
} else {
this.Paidinprice = null
this.couponId = null
this.coupon = null
}
}
this.Paidinprice = null
this.couponId = null
this.coupon = null
// if (this.couponId == e.couponId) {
// if (this.totalPrice >= e.couponConsumePrice) {
// this.Paidinprice = (this.totalPrice - e.couponPrice).toFixed(2)
// this.coupon = e
// } else {
// this.Paidinprice = null
// this.couponId = null
// this.coupon = null
// }
// }
})
}
},