Commit 860b12b6 authored by jiangjiantao's avatar jiangjiantao

bugfixed

parent b77a8902
......@@ -850,7 +850,7 @@ Page({
//清空商品信息
clearGood(e) {
this.setData({ goods: [] })
this.setData({ goods: [],discCouponPrice:0 })
this.calculation([]);
},
......@@ -1122,6 +1122,12 @@ Page({
},
//使用券
useCoupon(e) {
if(this.data.goods.length == 0){
this.showToast("请先录入商品")
return
}
this.setData({ discCouponState: 1 })
var request = {};
request.discCouponState = 1;
......
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