Commit 115b27260eac3bd958eb2527a36cd2250190f185
1 parent
c59d6a69
优惠活动
Showing
1 changed file
with
1 additions
and
1 deletions
pages/goods/goodsInfo/goodsInfo.js
... | ... | @@ -1793,7 +1793,7 @@ Page({ |
1793 | 1793 | //if (this.data.data.goods.is_virtual) return this.buyVirtualGoods(d); |
1794 | 1794 | if ("add" == t.currentTarget.dataset.action) { |
1795 | 1795 | |
1796 | - if (th.data.prom_goods) { | |
1796 | + if (th.data.prom_goods && !th.data.sele_g.whsle_id) { | |
1797 | 1797 | newd.prom_type = 3; |
1798 | 1798 | newd.prom_id = th.data.prom_goods[0].prom_id; |
1799 | 1799 | } | ... | ... |