Commit 138c7e16125f3107f0d004433ba6ae24d0cb886c
1 parent
ae200e6d
服务卡项指定门店的优化
Showing
1 changed file
with
8 additions
and
3 deletions
packageA/pages/serviceCard_pd/goodsInfo/goodsInfo.js
| ... | ... | @@ -1252,7 +1252,8 @@ Page({ |
| 1252 | 1252 | } |
| 1253 | 1253 | |
| 1254 | 1254 | wx.showLoading({ |
| 1255 | - title: '加载中.' | |
| 1255 | + title: '加载中.', | |
| 1256 | + mask:true | |
| 1256 | 1257 | }); |
| 1257 | 1258 | //----------获取门店---------------- |
| 1258 | 1259 | getApp().request.promiseGet("/api/weshop/pickup/list", { |
| ... | ... | @@ -1343,6 +1344,8 @@ Page({ |
| 1343 | 1344 | th.setData({all_pick_list: e.data.data.pageData}); |
| 1344 | 1345 | th.deal_pickup(e); |
| 1345 | 1346 | }else{ |
| 1347 | + th.setData({all_pick_list: null, only_pk:null,def_pickpu_list:null }); | |
| 1348 | + | |
| 1346 | 1349 | wx.hideLoading(); |
| 1347 | 1350 | } |
| 1348 | 1351 | }, 800) |
| ... | ... | @@ -3414,15 +3417,17 @@ Page({ |
| 3414 | 3417 | getApp().goto("/pages/team/team_success/team_success?ordersn=" + odr.order_sn); |
| 3415 | 3418 | |
| 3416 | 3419 | } else { |
| 3420 | + th.get_sto(); | |
| 3417 | 3421 | th.setData({ |
| 3418 | - is_normal: ind, | |
| 3422 | + is_normal: 0, | |
| 3419 | 3423 | openSpecModal_pt: 1 |
| 3420 | 3424 | }); |
| 3421 | 3425 | } |
| 3422 | 3426 | } |
| 3423 | 3427 | else { |
| 3428 | + th.get_sto(); | |
| 3424 | 3429 | th.setData({ |
| 3425 | - is_normal: ind, | |
| 3430 | + is_normal: 0, | |
| 3426 | 3431 | openSpecModal_pt: 1 |
| 3427 | 3432 | }); |
| 3428 | 3433 | } | ... | ... |