Commit 4cb8ffac8ede3070b0f743311af354c2e331536f

Authored by yvan.ni
1 parent ef7d5b26

阶梯促销的叠加的优化

packageE/pages/cart/cart2/cart2.js
@@ -1445,8 +1445,10 @@ Page({ @@ -1445,8 +1445,10 @@ Page({
1445 console.log(res.data.data,"111"); 1445 console.log(res.data.data,"111");
1446 1446
1447 //组合促销有另外一个字段名is_orderyh,在控制订单促销的叠加 1447 //组合促销有另外一个字段名is_orderyh,在控制订单促销的叠加
1448 - if(item1.prom_type!=7) 1448 + if(item1.prom_type!=7 && item1.prom_type!=10) {
1449 item1.is_order_yh=res.data.data.is_order_yh; 1449 item1.is_order_yh=res.data.data.is_order_yh;
  1450 + }else item1.is_order_yh=0;
  1451 +
1450 item1.is_post_temp=res.data.data.is_post_temp; 1452 item1.is_post_temp=res.data.data.is_post_temp;
1451 } 1453 }
1452 }) 1454 })