修改
This commit is contained in:
parent
9df3d5f5b7
commit
e02959720b
@ -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
|
||||
// }
|
||||
// }
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user