Commit 239608623a379a1b5f5de49e98857d914627fcb9

Authored by yvan.ni
1 parent dd2f15e0

拼团普通购买超出活动限购不用计算

pages/goods/goodsInfo/goodsInfo.js
... ... @@ -3114,8 +3114,8 @@ Page({
3114 3114 return false;
3115 3115 }
3116 3116 }
3117   - //---判断商品是否超出活动限购---
3118   - if (th.data.prom_buy_num != -1 && th.data.prom_buy_limit > 0) {
  3117 + //---判断商品是否超出活动限购,拼团的普通购买不计算活动的限购---
  3118 + if (th.data.prom_buy_num != -1 && th.data.prom_buy_limit > 0 && th.data.is_normal!=1) {
3119 3119 if (th.data.goodsInputNum + th.data.prom_buy_num > th.data.prom_buy_limit) {
3120 3120 wx.showModal({
3121 3121 title: '提示',
... ...