Commit 144e7b04 authored by youjie's avatar youjie

批量制单

parent e093f779
......@@ -882,7 +882,8 @@
this.bossLen += 1;
this.increment();
} else {
this.$message.error("单据生成失败,请稍后重试");
this.$message.error(res.data.message);
// this.$message.error("单据生成失败,请稍后重试");
this.loading = false;
this.selectedRowKeys = [];
this.getList();
......@@ -929,7 +930,7 @@
item.PriceShopList.forEach(x=>{
x.ShopDetailsList.forEach(y=>{
let filter = leaderIds.filter(z=>{return z==y.LeaderId})
if(!y.LeaderCommissionFrId&&filter.length==0) leaderIds.push(y.LeaderId);
if((!y.LeaderCommissionFrId&&y.LeaderCommission&&y.GuideCommission)&&(filter.length==0||!filter)) leaderIds.push(y.LeaderId);
})
})
// 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