Commit b37c0514e1c08953cfc47e984711cda6eb11a426
1 parent
f720accf
有搭配购,就不参与全场优惠
Showing
1 changed file
with
1 additions
and
1 deletions
pages/goods/goodsInfo/goodsInfo.js
@@ -2194,7 +2194,7 @@ Page({ | @@ -2194,7 +2194,7 @@ Page({ | ||
2194 | } | 2194 | } |
2195 | 2195 | ||
2196 | //如果有搭配购的时候的时候 | 2196 | //如果有搭配购的时候的时候 |
2197 | - if(th.data.zh_act && newd.prom_type==0){ | 2197 | + if(th.data.zh_act && (newd.prom_type==0 || newd.prom_type==3)){ |
2198 | newd.prom_type = 7; | 2198 | newd.prom_type = 7; |
2199 | newd.prom_id = th.data.zh_act.id; | 2199 | newd.prom_id = th.data.zh_act.id; |
2200 | } | 2200 | } |