购买优化
This commit is contained in:
@@ -271,9 +271,6 @@
|
||||
if (totalAmount < item.AllowMinAmount) {
|
||||
continue;
|
||||
}
|
||||
if(newValue == '0'){
|
||||
this.OneBuyModel.CouponAmount = 0;
|
||||
}
|
||||
if (item.Id == newValue) {
|
||||
if (item.CouponType == 1) {//满减
|
||||
this.OneBuyModel.CouponAmount = item.CouponValue;
|
||||
@@ -287,8 +284,10 @@
|
||||
}
|
||||
}
|
||||
return;
|
||||
} else {
|
||||
this.OneBuyModel.CouponId = '0';
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
immediate: true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user