Commit bed20b2733f0d63530375cd53d906466695d55dc
1 parent
bb6827bb
商品使用优惠券后不符合订单优惠 问题优化
Showing
1 changed file
with
1 additions
and
1 deletions
pages/cart/cart2/cart2.js
... | ... | @@ -2101,7 +2101,7 @@ Page({ |
2101 | 2101 | th.check_is_order_prom(o_condition, function () { |
2102 | 2102 | var order_prom_amount = 0; |
2103 | 2103 | var order_prom_id = 0; |
2104 | - if (th.data.order_prom[th.data.bn_pick]) { | |
2104 | + if (th.data.order_prom[th.data.bn_pick] && th.data.order_prom[th.data.bn_pick]['money'] <= o_condition) { | |
2105 | 2105 | var ord_prom = th.data.order_prom[th.data.bn_pick]; |
2106 | 2106 | //么有使用券,或者活动没有限制使用优惠券 |
2107 | 2107 | if (coupon_price <= 0 || !ord_prom.is_xz_yh) { | ... | ... |