diff --git a/packageC/pages/presell/cart/cart.js b/packageC/pages/presell/cart/cart.js index 131e5fb..622b491 100644 --- a/packageC/pages/presell/cart/cart.js +++ b/packageC/pages/presell/cart/cart.js @@ -2408,6 +2408,9 @@ Page({ return getApp().my_warnning("请选择收货地址", 0, th); } + + + th.data.exp_type=parseInt(th.data.exp_type+''); //---支付参数-- var dd = { order_sn: th.data.order.order_sn, diff --git a/pages/cart/cart_wk/cart_wk.js b/pages/cart/cart_wk/cart_wk.js index 82ab925..3a50e04 100644 --- a/pages/cart/cart_wk/cart_wk.js +++ b/pages/cart/cart_wk/cart_wk.js @@ -574,6 +574,8 @@ Page({ return getApp().my_warnning("请选择收货地址", 0, th); } + + th.data.exp_type=parseInt(th.data.exp_type+''); //---支付参数-- var dd = { order_sn: th.data.order.order_sn, @@ -586,7 +588,7 @@ Page({ tail_pay_type: ind,//0微信支付 1余额支付 }; - if (th.data.exp_type == 0 && th.data.exp_type == 2) { + if (th.data.exp_type == 0 || th.data.exp_type == 2) { var index = th.data.index; dd.shipping_code = th.data.wu_arr[index].code; dd.shipping_name = th.data.wu_arr[index].name;