Commit 801ff1f8060d33c8373eef1e248a88a8d01df79d
1 parent
47a41983
门店是否销售
Showing
1 changed file
with
3 additions
and
1 deletions
pages/goods/goodsInfo/goodsInfo.js
... | ... | @@ -469,7 +469,7 @@ Page({ |
469 | 469 | } else { |
470 | 470 | //要用接口是获取距离,js的计算不准 |
471 | 471 | getApp().request.promiseGet("/api/weshop/pickup/list", { |
472 | - data: { store_id: os.stoid, pickup_id: e.pickup_id, lat: th.data.lat, lon: th.data.lon }, | |
472 | + data: { store_id: os.stoid, pickup_id: e.pickup_id, lat: th.data.lat, lon: th.data.lon,isstop:0,is_pos:1 }, | |
473 | 473 | }).then(res => { |
474 | 474 | if (res.data.code == 0) { |
475 | 475 | e = res.data.data.pageData[0]; |
... | ... | @@ -2497,12 +2497,14 @@ Page({ |
2497 | 2497 | store_id: o.stoid, |
2498 | 2498 | distr_type: g_distr_type, |
2499 | 2499 | isstop: 0, |
2500 | + is_pos:1, | |
2500 | 2501 | pageSize: 2000 |
2501 | 2502 | } |
2502 | 2503 | } else { |
2503 | 2504 | dd = { |
2504 | 2505 | store_id: o.stoid, |
2505 | 2506 | isstop: 0, |
2507 | + is_pos:1, | |
2506 | 2508 | pageSize: 2000 |
2507 | 2509 | } |
2508 | 2510 | } | ... | ... |