Commit 0fcb43d5 authored by youjie's avatar youjie

no message

parent 144e7b04
...@@ -925,12 +925,17 @@ ...@@ -925,12 +925,17 @@
} }
let leaderIds=[]; let leaderIds=[];
console.log(this.shopDataList,'----this.shopDataList')
this.shopDataList.forEach((item) => { this.shopDataList.forEach((item) => {
if (item.IsCheck){ if (item.IsCheck){
item.PriceShopList.forEach(x=>{ item.PriceShopList.forEach(x=>{
x.ShopDetailsList.forEach(y=>{ x.ShopDetailsList.forEach(y=>{
let filter = leaderIds.filter(z=>{return z==y.LeaderId}) let filter = leaderIds.filter(z=>{return z==y.LeaderId})
if((!y.LeaderCommissionFrId&&y.LeaderCommission&&y.GuideCommission)&&(filter.length==0||!filter)) leaderIds.push(y.LeaderId); if((((y.LeaderCommissionFrId==''||y.LeaderCommissionFrId!='0')&&y.LeaderCommission!='0')||
(y.GuideCommissionFrId==''||y.GuideCommissionFrId!='0')&&y.GuideCommission!='0')&&(filter.length==0||!filter)) {
console.log(y.LeaderCommission,'-----'+y.GuideCommission,'-----'+y.LeaderId)
leaderIds.push(y.LeaderId);
}
}) })
}) })
// leaderIds.push(item.LeaderGuideIds); // leaderIds.push(item.LeaderGuideIds);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment