Commit a9fccde6ed04dc7130befc011b493a8f48688514
1 parent
1bcb4014
尾款的优化 同城配送
Showing
2 changed files
with
6 additions
and
1 deletions
packageC/pages/presell/cart/cart.js
pages/cart/cart_wk/cart_wk.js
... | ... | @@ -574,6 +574,8 @@ Page({ |
574 | 574 | return getApp().my_warnning("请选择收货地址", 0, th); |
575 | 575 | } |
576 | 576 | |
577 | + | |
578 | + th.data.exp_type=parseInt(th.data.exp_type+''); | |
577 | 579 | //---支付参数-- |
578 | 580 | var dd = { |
579 | 581 | order_sn: th.data.order.order_sn, |
... | ... | @@ -586,7 +588,7 @@ Page({ |
586 | 588 | tail_pay_type: ind,//0微信支付 1余额支付 |
587 | 589 | }; |
588 | 590 | |
589 | - if (th.data.exp_type == 0 && th.data.exp_type == 2) { | |
591 | + if (th.data.exp_type == 0 || th.data.exp_type == 2) { | |
590 | 592 | var index = th.data.index; |
591 | 593 | dd.shipping_code = th.data.wu_arr[index].code; |
592 | 594 | dd.shipping_name = th.data.wu_arr[index].name; | ... | ... |