|
@ -418,6 +418,7 @@ export default { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} else{ |
|
|
} else{ |
|
|
|
|
|
// 有bug折扣券不加邮费 |
|
|
price = ((this.info.money) * this.info.buyNum + postPrice) - (((this.info.money) * this.info.buyNum + postPrice) * this.coupon.percent/100) |
|
|
price = ((this.info.money) * this.info.buyNum + postPrice) - (((this.info.money) * this.info.buyNum + postPrice) * this.coupon.percent/100) |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
@ -534,7 +535,7 @@ export default { |
|
|
|
|
|
|
|
|
// 获取最大优惠券 |
|
|
// 获取最大优惠券 |
|
|
async getMaxCouponData () { |
|
|
async getMaxCouponData () { |
|
|
let param = {money:this.allprice,sku_ids:this.info.id} |
|
|
let param = {money:this.info.money * this.info.buyNum,sku_ids:this.info.id} |
|
|
let res = await this.getMaxCoupon(param) |
|
|
let res = await this.getMaxCoupon(param) |
|
|
if (res.id) { |
|
|
if (res.id) { |
|
|
this.coupon = res |
|
|
this.coupon = res |
|
|