Commit 12ee8fb14fd301d7572c8fa0341413137865afde
1 parent
755e834f
专享礼包购买的bug优化
Showing
3 changed files
with
5 additions
and
2 deletions
pages/giftpack/buygiftpack/giftpackbuy.js
| ... | ... | @@ -140,6 +140,8 @@ Page({ |
| 140 | 140 | var th = this; |
| 141 | 141 | var index = e.currentTarget.dataset.index; //活动id |
| 142 | 142 | var sele_g=th.data.wareCard[index]; |
| 143 | + this.data.payMoney=sele_g.payMoney; | |
| 144 | + | |
| 143 | 145 | th.setData({sele_g:sele_g,buyType:2,}) |
| 144 | 146 | if(sele_g.is_pickup){ |
| 145 | 147 | if(sele_g.pickup_list && th.data.def_pick_store){ | ... | ... |
pages/giftpack/giftpacklist/giftpacklist.js
pages/giftpack/public/buy_com.js
| ... | ... | @@ -484,6 +484,7 @@ module.exports = { |
| 484 | 484 | }, |
| 485 | 485 | |
| 486 | 486 | check_def_pk:function (th) { |
| 487 | + th.data.def_pick_store.is_no_dis=0; | |
| 487 | 488 | var def_pick_store=th.data.def_pick_store |
| 488 | 489 | var sele_g=th.data.sele_g; |
| 489 | 490 | var arr=sele_g.pickup_list.split(','); |
| ... | ... | @@ -494,9 +495,8 @@ module.exports = { |
| 494 | 495 | |
| 495 | 496 | if(idx==-1){ |
| 496 | 497 | def_pick_store.is_no_dis=1; |
| 497 | - th.setData({def_pick_store}) | |
| 498 | 498 | } |
| 499 | - | |
| 499 | + th.setData({def_pick_store}) | |
| 500 | 500 | |
| 501 | 501 | } |
| 502 | 502 | ... | ... |