Commit a170b1a3d06857339fbbca2b36ab6a9b764ed267

Authored by yvan.ni
1 parent b441f9ba

搭配购的商品也要算业绩归属

packageA/pages/prom_list/prom_list.js
... ... @@ -383,6 +383,14 @@ Page({
383 383 }
384 384 }
385 385  
  386 + //如果有导购ID的话
  387 + if(newd['guide_id'] && th.data.sele_collocation){
  388 + for(var jj in th.data.sele_collocation ){
  389 + th.data.sele_collocation[jj]['guide_id']=newd['guide_id'];
  390 + th.data.sele_collocation[jj]['guide_type']=newd['guide_type'];
  391 + }
  392 + }
  393 +
386 394  
387 395 //-----如果是秒杀,团购,积分购,拼团-----
388 396 if (th.data.data.prom_type != 5) {
... ...