|
|
@@ -6498,6 +6498,10 @@ namespace Business.Replenishment
|
|
|
//存在货源清单,采购单明细可用数量满足当前交货计划,则先计算供应商配额,计算当前供应商对应的采购明细是否满足配额,若满足则占用采购单明细可用数量
|
|
|
foreach (var pch in curChaes)
|
|
|
{
|
|
|
+ if (pch.quota_rate.GetValueOrDefault() == 0)
|
|
|
+ {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
//如果交货计划已分配数量>=交货计划净需求数量,则终止
|
|
|
if (allQty >= item.tosechedqty)
|
|
|
{
|