Commit 115b27260eac3bd958eb2527a36cd2250190f185

Authored by yvan.ni
1 parent c59d6a69

优惠活动

pages/goods/goodsInfo/goodsInfo.js
@@ -1793,7 +1793,7 @@ Page({ @@ -1793,7 +1793,7 @@ Page({
1793 //if (this.data.data.goods.is_virtual) return this.buyVirtualGoods(d); 1793 //if (this.data.data.goods.is_virtual) return this.buyVirtualGoods(d);
1794 if ("add" == t.currentTarget.dataset.action) { 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 newd.prom_type = 3; 1797 newd.prom_type = 3;
1798 newd.prom_id = th.data.prom_goods[0].prom_id; 1798 newd.prom_id = th.data.prom_goods[0].prom_id;
1799 } 1799 }