Commit 5e701d6af363ef9711513d2a32abe1f0778ed087
1 parent
180a3157
OA单测试完成
Showing
3 changed files
with
18 additions
and
0 deletions
packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.js
@@ -6367,6 +6367,12 @@ Page({ | @@ -6367,6 +6367,12 @@ Page({ | ||
6367 | choice_sort_store: 0 | 6367 | choice_sort_store: 0 |
6368 | }); | 6368 | }); |
6369 | 6369 | ||
6370 | + if(th.data.isfront){ | ||
6371 | + th.setData({ | ||
6372 | + front_pick: ut.deep_cp(item) | ||
6373 | + }) | ||
6374 | + } | ||
6375 | + | ||
6370 | var openindstore = th.data.open_ind_store; | 6376 | var openindstore = th.data.open_ind_store; |
6371 | if (openindstore == 1) { | 6377 | if (openindstore == 1) { |
6372 | th.setData({ | 6378 | th.setData({ |
packageE/pages/cart/cart2_pt/cart2_pt.js
@@ -1038,6 +1038,10 @@ Page({ | @@ -1038,6 +1038,10 @@ Page({ | ||
1038 | th.setData({ [wl_txt]: shipping_price, }) | 1038 | th.setData({ [wl_txt]: shipping_price, }) |
1039 | 1039 | ||
1040 | } | 1040 | } |
1041 | + else{ | ||
1042 | + var wl_txt = "formData.shipping_price"; | ||
1043 | + th.setData({ [wl_txt]: 0, }) | ||
1044 | + } | ||
1041 | } | 1045 | } |
1042 | } else if (th.data.bn_exp_type == 1) { | 1046 | } else if (th.data.bn_exp_type == 1) { |
1043 | var wl_txt = "formData.shipping_price"; | 1047 | var wl_txt = "formData.shipping_price"; |
pages/goods/goodsInfo/goodsInfo.js
@@ -7927,6 +7927,14 @@ Page({ | @@ -7927,6 +7927,14 @@ Page({ | ||
7927 | choice_sort_store: 0 | 7927 | choice_sort_store: 0 |
7928 | }); | 7928 | }); |
7929 | 7929 | ||
7930 | + if(th.data.isfront){ | ||
7931 | + th.setData({ | ||
7932 | + front_pick: ut.deep_cp(item) | ||
7933 | + }) | ||
7934 | + } | ||
7935 | + | ||
7936 | + | ||
7937 | + | ||
7930 | var openindstore = th.data.open_ind_store; | 7938 | var openindstore = th.data.open_ind_store; |
7931 | if (openindstore == 1) { | 7939 | if (openindstore == 1) { |
7932 | th.setData({ | 7940 | th.setData({ |