使用优惠券价格

This commit is contained in:
ghusermoon 2020-08-20 11:42:52 +08:00
parent 4c8e2ba4b6
commit 16c2c1fa71

View File

@ -346,9 +346,9 @@ export default {
if(JSON.stringify(this.choiceCoupon) != '{}') price -= Number(this.choiceCoupon.voucher_price);
// 0.01
if(price <= minPrice) price = minPrice;
console.log("minPrice" + minPrice);
console.log("freight:" + freight);
console.log("price:" + price);
// console.log("minPrice" + minPrice);
// console.log("freight:" + freight);
// console.log("price:" + price);
this.totalPrice = (price + freight).toFixed(2);
},
setDelivery(index) {