mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-16 23:53:48 +08:00
Coupon issue & Staging API port revised
This commit is contained in:
@@ -296,6 +296,8 @@ export default {
|
||||
return this.sumPrice * ( 1 - this.curCoupon.discount );
|
||||
}
|
||||
} else {
|
||||
this.discountAmount = 0;
|
||||
this.curCoupon = {couponName:'未能使用该优惠券'};
|
||||
return this.sumPrice;
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user