From 91c1740c211f0fec246f4d93262f689fe7dff1cb Mon Sep 17 00:00:00 2001 From: yvan.ni Date: Tue, 23 May 2023 16:47:02 +0800 Subject: [PATCH] 会员在开团的时候,如果未到达,也要让物流的配送方式能够切换 --- pages/cart/cart2_pt/cart2_pt.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/cart/cart2_pt/cart2_pt.js b/pages/cart/cart2_pt/cart2_pt.js index 22ed336..7c6d1b8 100644 --- a/pages/cart/cart2_pt/cart2_pt.js +++ b/pages/cart/cart2_pt/cart2_pt.js @@ -382,7 +382,7 @@ Page({ break; } - if(th.data.show_same_city==1 && th.data.json_d.pickupway && th.data.json_d.pickupway == 2 ){ + if(th.data.show_same_city==1 && th.data.json_d.pickupway && th.data.json_d.pickupway == 2 && th.data.kt_type!=3 ){ et = 2; } @@ -862,7 +862,7 @@ Page({ } }) if (!is_next){ - th.setData({show_submit:1, submit: 0,same_ok:0 }) + th.setData({show_submit:1, submit: 0,same_ok:0,show_btn:1 }) return false } -- libgit2 0.21.4