Commit 940ab433 authored by youjie's avatar youjie

no message

parent 10b3784e
...@@ -925,7 +925,6 @@ ...@@ -925,7 +925,6 @@
} }
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,i)=>{ item.PriceShopList.forEach((x,i)=>{
...@@ -934,24 +933,17 @@ ...@@ -934,24 +933,17 @@
filter = leaderIds.filter(z=>{return z==y.LeaderId}) filter = leaderIds.filter(z=>{return z==y.LeaderId})
let filter2 = [] let filter2 = []
filter2 = leaderIds.filter(z=>{return z==y.GuideId}) filter2 = leaderIds.filter(z=>{return z==y.GuideId})
// console.log(y.LeaderCommissionFrId,y.LeaderCommission,filter)
// console.log((y.LeaderCommissionFrId==''||y.LeaderCommissionFrId=='0'||!y.LeaderCommissionFrId)&&y.LeaderCommission!='0'&&(filter.length==0||!filter),'---111-',i,'---111-',index)
// console.log(y.GuideCommissionFrId,y.GuideCommission,filter2)
// console.log((y.GuideCommissionFrId==''||y.GuideCommissionFrId=='0'||!y.GuideCommissionFrId)&&y.GuideCommission!='0'&&(filter2.length==0||!filter2),'---222',i,'---222-',index)
if((y.LeaderCommissionFrId==''||y.LeaderCommissionFrId=='0'||!y.LeaderCommissionFrId)&&y.LeaderCommission!='0'&&(filter.length==0||!filter)){ if((y.LeaderCommissionFrId==''||y.LeaderCommissionFrId=='0'||!y.LeaderCommissionFrId)&&y.LeaderCommission!='0'&&(filter.length==0||!filter)){
leaderIds.push(y.LeaderId); leaderIds.push(y.LeaderId);
// console.log(y.LeaderId,'-----LeaderId')
} }
if((y.GuideCommissionFrId==''||y.GuideCommissionFrId=='0'||!y.GuideCommissionFrId)&&y.GuideCommission!='0'&&(filter2.length==0||!filter2)){ if((y.GuideCommissionFrId==''||y.GuideCommissionFrId=='0'||!y.GuideCommissionFrId)&&y.GuideCommission!='0'&&(filter2.length==0||!filter2)){
leaderIds.push(y.GuideId); leaderIds.push(y.GuideId);
// console.log(y.GuideId,'-----GuideId')
} }
}) })
}) })
// leaderIds.push(item.LeaderGuideIds); // leaderIds.push(item.LeaderGuideIds);
} }
}) })
// console.log(leaderIds,'----1111')
if(leaderIds.length>0){ if(leaderIds.length>0){
this.loading = true; this.loading = true;
this.IsLGCommissionAccount=true; this.IsLGCommissionAccount=true;
......
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