diff --git a/pages/goods/goodsInfo/goodsInfo.js b/pages/goods/goodsInfo/goodsInfo.js index dd3abd7..e32ded7 100644 --- a/pages/goods/goodsInfo/goodsInfo.js +++ b/pages/goods/goodsInfo/goodsInfo.js @@ -3223,6 +3223,7 @@ Page({ //要把不匹配还原 if (th.data.def_pick_store && JSON.stringify(th.data.def_pick_store) != '{}'){ th.data.def_pick_store.is_no_dis=0; + th.data.def_pick_store.is_no_dis_nor=0; th.setData({def_pick_store:th.data.def_pick_store}) } @@ -5100,6 +5101,13 @@ Page({ //如果是拼单活动的普通购买 if (ind == 1) { + + //要把不匹配还原 + if (th.data.def_pick_store && JSON.stringify(th.data.def_pick_store) != '{}'){ + th.data.def_pick_store.is_no_dis_nor=0; + th.setData({def_pick_store:th.data.def_pick_store}) + } + if (!th.data.is_normal) { th.data.g_buy_num = new Map(); } @@ -7972,6 +7980,13 @@ Page({ this.data.g_buy_num = new Map(); var th = this; + + //要把不匹配还原 + if (th.data.def_pick_store && JSON.stringify(th.data.def_pick_store) != '{}'){ + th.data.def_pick_store.is_no_dis_nor=0; + th.setData({def_pick_store:th.data.def_pick_store}) + } + if (th.data.sku_g_pt) { //要同步指定门店 @@ -8515,7 +8530,16 @@ Page({ open_ind_store: 5, }); //拼团直接给4 + //要把不匹配还原 + if (th.data.def_pick_store && JSON.stringify(th.data.def_pick_store) != '{}'){ + th.data.def_pick_store.is_no_dis_nor=0; + th.setData({def_pick_store:th.data.def_pick_store}) + } + if (th.data.sku_g_pt) { + //要同步指定门店 + th.set_sele_g(th.data.sku_g_pt); + this.get_sto(1) this.setData({ openSpecModal_flash_normal: 1