Browse Source

Merge branch 'dev_jzp'

master
jiazhipeng 1 year ago
parent
commit
8fdba05215
  1. 3
      subPackages/techan/order.vue

3
subPackages/techan/order.vue

@ -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

Loading…
Cancel
Save