From e280bea7d2920e59c9d868eb6a5a489c7e7f28e2 Mon Sep 17 00:00:00 2001 From: jiazhipeng Date: Sat, 14 Sep 2024 09:29:17 +0800 Subject: [PATCH] =?UTF-8?q?=E9=82=AE=E5=AF=84=E8=8E=B7=E5=8F=96=E4=BC=98?= =?UTF-8?q?=E6=83=A0=E5=88=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- subPackages/techan/order.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subPackages/techan/order.vue b/subPackages/techan/order.vue index 6c21c36..36bac6c 100644 --- a/subPackages/techan/order.vue +++ b/subPackages/techan/order.vue @@ -418,6 +418,7 @@ export default { } } else{ + // 有bug折扣券不加邮费 price = ((this.info.money) * this.info.buyNum + postPrice) - (((this.info.money) * this.info.buyNum + postPrice) * this.coupon.percent/100) } } else { @@ -534,7 +535,7 @@ export default { // 获取最大优惠券 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) if (res.id) { this.coupon = res