Jelajahi Sumber

Merge branch 'dev' of http://123.60.180.165:4647/ZZYDOP/DOPCore into dev

Murphy 2 tahun lalu
induk
melakukan
d73aca4b01

+ 4 - 0
MicroServices/Business/Business.Application/ReplenishmentManagement/ReplenishmentAppService.cs

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