Commit ad3af2fbb4b8ac3d6b4c56c568eef8a30c77039a
1 parent
de958ea5
秒杀普通商品购买的时候, 指定门店的优化
Showing
1 changed file
with
2 additions
and
1 deletions
pages/goods/goodsInfo/goodsInfo.js
... | ... | @@ -8492,11 +8492,12 @@ Page({ |
8492 | 8492 | openSpecModal_flash_normal: 1 |
8493 | 8493 | }); |
8494 | 8494 | } else { |
8495 | - th.get_sto(1); | |
8495 | + | |
8496 | 8496 | th.get_sku(o.stoid, th.data.data, th.data.gid, 1, function () { |
8497 | 8497 | th.setData({ |
8498 | 8498 | openSpecModal_flash_normal: 1 |
8499 | 8499 | }); |
8500 | + th.get_sto(1); | |
8500 | 8501 | }); |
8501 | 8502 | } |
8502 | 8503 | if (!this.data.data.whsle_id) this.check_is_youhui(th.data.gid, 1); | ... | ... |