Commit 56f6f7e6cf17247c1dc60aeea89e538be51bbaf8

Authored by yvan.ni
1 parent e108f452

小程序购物车组合购购买的和公众号一致

Showing 1 changed file with 2 additions and 2 deletions
pages/cart/cart/cart.js
... ... @@ -3474,8 +3474,8 @@ Page({
3474 3474 }
3475 3475 }
3476 3476  
3477   - if (i_arr[j].prom_type == 7 && (!this.data.requestData[i].need_list || (this.data.requestData[i].need_list && this.data.requestData[i].need_list.length == 0)) && i_arr[j].act && i_arr[j].act.buy_limit != 0) {
3478   - let userbuynum = await this.getUserBuyPromNum(i_arr[j].goods_prom_id);
  3477 + if (i_arr[j].prom_type == 7 && i_arr[j].act && i_arr[j].act.buy_limit != 0) {
  3478 + let userbuynum = await this.getUserBuyPromNum(i_arr[j].prom_id);
3479 3479  
3480 3480 if(!zh_buyed_m[i_arr[j].prom_id]) zh_buyed_m[i_arr[j].prom_id]=userbuynum;
3481 3481 if(i_arr[j].act.buy_limit>0){
... ...