修复bug
This commit is contained in:
@@ -295,8 +295,8 @@ namespace WMS.Web.Repositories
|
||||
OutStockBeginTime = s.detail.OutStockBeginTime.DateToStringSeconds(),
|
||||
OutStockEndTime = s.detail.OutStockEndTime.DateToStringSeconds(),
|
||||
Stock = _singleDataService.GetSingleData(SingleAction.StocksJoinOrgCode, _loginRepositories.CompanyId, s.order.StockCode+s.order.OrgCode),
|
||||
SourceBillNo = string.Join(",", s.detail.ErpDetails.Select(s => s.SourceBillNo).Distinct()),
|
||||
SaleBillNo = string.Join(",", s.detail.ErpDetails.Select(s => s.SaleBillNo).Distinct()),
|
||||
SourceBillNoList = s.detail.ErpDetails.Select(s=>s.SourceBillNo).ToList(),
|
||||
SaleBillNoList = s.detail.ErpDetails.Select(s => s.SaleBillNo).ToList(),
|
||||
DeliveryOrg = _erpBasicDataExtendService.GetOrgName(orgs, s.order.DeliveryOrgId),
|
||||
ReceiptCustomer = s.order.Type == OutStockType.Sal
|
||||
? _erpBasicDataExtendService.GetCustomerName(customers, s.order.ReceiptCustomerId)
|
||||
@@ -308,6 +308,11 @@ namespace WMS.Web.Repositories
|
||||
#endregion
|
||||
|
||||
}).Skip((dto.PageNo - 1) * dto.PageSize).Take(dto.PageSize).ToListAsync();
|
||||
foreach(var l in list)
|
||||
{
|
||||
l.SourceBillNo = string.Join(",", l.SourceBillNoList.Distinct());
|
||||
l.SaleBillNo = string.Join(",", l.SaleBillNoList.Distinct());
|
||||
}
|
||||
return (list, total);
|
||||
}
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user