Commit 144e7b04 authored by youjie's avatar youjie

批量制单

parent e093f779
...@@ -882,7 +882,8 @@ ...@@ -882,7 +882,8 @@
this.bossLen += 1; this.bossLen += 1;
this.increment(); this.increment();
} else { } else {
this.$message.error("单据生成失败,请稍后重试"); this.$message.error(res.data.message);
// this.$message.error("单据生成失败,请稍后重试");
this.loading = false; this.loading = false;
this.selectedRowKeys = []; this.selectedRowKeys = [];
this.getList(); this.getList();
...@@ -929,7 +930,7 @@ ...@@ -929,7 +930,7 @@
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&&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); // 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