Commit f9d5f7525c47bd7c4f19cc6a685751bb49fdf05c

Authored by yvan.ni
1 parent 1970521f

组合购优惠叠加的bug优化

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