增加统计总数
This commit is contained in:
@@ -303,6 +303,10 @@ namespace WMS.Web.Api.Controllers
|
||||
{
|
||||
x.MaterialSubStocks = materialSubStocks.Where(t => t.MaterialNumber == x.MaterialNumber && t.StockCode==x.StockCode && t.OrgCode == x.OrgCode).Select(x => x.SubStock).ToList();
|
||||
});
|
||||
foreach(var l in list)
|
||||
{
|
||||
l.WaitShelfQty = l.Details.Sum(s => s.WaitShelfQty);
|
||||
}
|
||||
|
||||
return ResultList<SourceBillNoNoPurchaseQueryResponse>.ReSuccess(list);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user