Commit 05a3bf4c8aa7bf2dbc2c51c2ef837b6d0e1fd503
1 parent
c972ff58
指定门店的优化
Showing
1 changed file
with
3 additions
and
1 deletions
pages/goods/goodsInfo/goodsInfo.js
| @@ -4340,6 +4340,8 @@ Page({ | @@ -4340,6 +4340,8 @@ Page({ | ||
| 4340 | 4340 | ||
| 4341 | } | 4341 | } |
| 4342 | 4342 | ||
| 4343 | + | ||
| 4344 | + | ||
| 4343 | //数据组装下 | 4345 | //数据组装下 |
| 4344 | var em = {}; | 4346 | var em = {}; |
| 4345 | em.data = {}; | 4347 | em.data = {}; |
| @@ -4350,7 +4352,7 @@ Page({ | @@ -4350,7 +4352,7 @@ Page({ | ||
| 4350 | 4352 | ||
| 4351 | 4353 | ||
| 4352 | //--如果找到默认门店,同时也应该判断配送方式对不对-- | 4354 | //--如果找到默认门店,同时也应该判断配送方式对不对-- |
| 4353 | - if (th.data.fir_def_store && !is_find_def_store && th.data.fir_def_store.pickup_id && !th.data.def_pick_store.is_no_dis_nor && !th.data.def_pick_store.is_no_dis_act && | 4355 | + if (th.data.fir_def_store && !is_find_def_store && th.data.fir_def_store.pickup_id && |
| 4354 | (g_distr_type == 0 || th.data.fir_def_store.distr_type == 0 || th.data.def_pick_store.distr_type == g_distr_type)) { | 4356 | (g_distr_type == 0 || th.data.fir_def_store.distr_type == 0 || th.data.def_pick_store.distr_type == g_distr_type)) { |
| 4355 | th.data.fir_def_store.CanOutQty = 0; | 4357 | th.data.fir_def_store.CanOutQty = 0; |
| 4356 | //--当选择的门店是客户默认的门店的时候-- | 4358 | //--当选择的门店是客户默认的门店的时候-- |