Commit ac048d6146b9b2f1f9d48b5ec4b369ebd6903db1

Authored by yvan.ni
1 parent 960efc78

购物车 阶梯促销的问题优化

... ... @@ -50,7 +50,7 @@ App({
50 50 config: null, //门店参数
51 51 config2: null, //门店配置
52 52 code: null,
53   - user_id:null,//3277,// 6519901,//6453964,// 4687,// 6519870,//5682094,
  53 + user_id:null,// 6519870,//5682094,
54 54 buy_now:null,
55 55 picklist:null, //门店列表
56 56 wuliuprice: null, //物流价格表
... ... @@ -661,8 +661,10 @@ App({
661 661 this.globalData.config=null; //清除config的缓存
662 662 this.globalData.gr_index=0; //商品分组的序列
663 663 this.globalData.pk_store=null;
664   - this.globalData.wxapp_buy_obj=null
665   -
  664 + this.globalData.wxapp_buy_obj=null;
  665 + this.globalData.dis_buy_obj=null; //等级卡的购买记录
  666 + this.globalData.storeFooter=null; //底部的导航
  667 + this.globalData.full_screen=null; //全屏
666 668 },
667 669  
668 670 clear_word:function (word) {
... ...
pages/cart/cart/ladder_calculate.js
... ... @@ -90,7 +90,7 @@ module.exports = {
90 90 var vh=car_item.goods.findIndex(function (e) {
91 91 return e.goods_id == ite.goods_id
92 92 })
93   - if(vh>-1) return vh;
  93 + if(vh>-1) return car_item.goods[vh];
94 94 return 0;
95 95 }
96 96  
... ...