Commit e682e1c9f663c4921719d2829231c5e73c2610da
Merge branch 'dev_pay_select' into dev
Showing
1 changed file
with
8 additions
and
1 deletions
packageE/pages/cart/cart2/cart2.js
@@ -3885,7 +3885,7 @@ Page({ | @@ -3885,7 +3885,7 @@ Page({ | ||
3885 | var coupon_price = quan_price; //优惠券优惠了多少钱 | 3885 | var coupon_price = quan_price; //优惠券优惠了多少钱 |
3886 | if (order_m < 0) { | 3886 | if (order_m < 0) { |
3887 | order_m = 0; | 3887 | order_m = 0; |
3888 | - coupon_price = parseFloat(order_m).toFixed(2); | 3888 | + coupon_price = parseFloat(allpice - cut_price).toFixed(2); |
3889 | } | 3889 | } |
3890 | //--看一下有没有订单优惠-- | 3890 | //--看一下有没有订单优惠-- |
3891 | var o_condition = parseFloat(order_m); | 3891 | var o_condition = parseFloat(order_m); |
@@ -5325,6 +5325,13 @@ Page({ | @@ -5325,6 +5325,13 @@ Page({ | ||
5325 | th.setData({ | 5325 | th.setData({ |
5326 | submit: 0, | 5326 | submit: 0, |
5327 | }) | 5327 | }) |
5328 | + if(data.code==-2){ | ||
5329 | + setTimeout(()=>{ | ||
5330 | + getApp().re_to('/pages/user/order_list/order_list') | ||
5331 | + },1300) | ||
5332 | + | ||
5333 | + } | ||
5334 | + | ||
5328 | } | 5335 | } |
5329 | 5336 | ||
5330 | 5337 |