21
This commit is contained in:
parent
919313445a
commit
198ac6db1d
|
|
@ -571,7 +571,7 @@
|
|||
this.buyNum = num;
|
||||
|
||||
// 处理优惠券与积分互斥
|
||||
let coupon_id = (this.couponData && this.couponData.id) || ''
|
||||
let coupon_id = (this.couponData && this.couponData.id) ? String(this.couponData.id) : ''
|
||||
if (coupon_id != '' && this.useIntegral) {
|
||||
this.useIntegral = false;
|
||||
} else if (this.useIntegral && coupon_id != '') {
|
||||
|
|
@ -623,7 +623,7 @@
|
|||
this.buyNum = num;
|
||||
|
||||
// 处理优惠券与积分互斥
|
||||
let coupon_id = (this.couponData && this.couponData.id) || ''
|
||||
let coupon_id = (this.couponData && this.couponData.id) ? String(this.couponData.id) : ''
|
||||
if (coupon_id != '' && this.useIntegral) {
|
||||
this.useIntegral = false;
|
||||
} else if (this.useIntegral && coupon_id != '') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user