|
|
@ -72,8 +72,10 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers |
|
|
|
var ls = p_list.Select(p => p.GroupNum).Distinct().ToList(); |
|
|
|
var notlist = _notRepository.Where(p => ls.Contains(p.GroupNum)).ToList();//JIT_ASN整发
|
|
|
|
List<PUB_NOT_SA_DETAIL> priceErrors = new List<PUB_NOT_SA_DETAIL>(); |
|
|
|
string name = "ASN单号或发运ID"; |
|
|
|
if (first.BusinessType == EnumBusinessType.BeiJian) |
|
|
|
{ |
|
|
|
name = "备件"; |
|
|
|
priceErrors = await _service.CheckPriceList(notlist,true); |
|
|
|
} |
|
|
|
else |
|
|
@ -87,7 +89,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers |
|
|
|
{ |
|
|
|
foreach (var itm in priceErrors) |
|
|
|
{ |
|
|
|
errors.Add($"发货单号或交付识别号零件{itm.LU}结算日期{itm.SettleDate}无价格区间数据"); |
|
|
|
errors.Add($"{name}零件{itm.LU}结算日期{itm.SettleDate}无价格区间数据"); |
|
|
|
} |
|
|
|
} |
|
|
|
if (errors.Count > 0) |
|
|
|