Commit dae56f42 by 高淑倩

实际价格 - 优惠价 + plus

parent 17091d48
......@@ -104,9 +104,10 @@ wxService.page({
let newCurrentCoupon = currentCoupon? currentCoupon : 0
let orderCoupon = parseFloat(newCurrentCoupon) // 优惠券价格
let plusPrice = isSelect ? plusMemberPrice : 0 // plus
// 实际价格 - 优惠价 + plus
this.setData({
// orderPrice: Math.round(orderInitPrice - orderCoupon)
orderPrice: orderInitPrice - orderCoupon - plusPrice
orderPrice: orderInitPrice - orderCoupon + plusPrice
})
},
formSubmit(e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment