修复bug
This commit is contained in:
@@ -393,7 +393,8 @@ namespace WMS.Web.Repositories
|
||||
Specifications = _erpBasicDataExtendService.GetMaterialSpecifications(materials, s.detail.MaterialNumber),
|
||||
Unit = _erpBasicDataExtendService.GetMaterialUnitName(materials, s.detail.MaterialNumber),
|
||||
Remark = s.detail.Remark,
|
||||
InStock = GetInStock(s.detail.ErpDetails.Select(s => s.InStockCode).ToList(), companyId, s.order.OrgCode)
|
||||
InStockCodes= s.detail.ErpDetails.Select(s => s.InStockCode).ToList(),
|
||||
OrgCode= s.order.OrgCode
|
||||
#endregion
|
||||
|
||||
}).Skip((dto.PageNo - 1) * dto.PageSize).Take(dto.PageSize).ToListAsync();
|
||||
@@ -401,6 +402,7 @@ namespace WMS.Web.Repositories
|
||||
{
|
||||
l.SourceBillNo = string.Join(",", l.SourceBillNoList.Distinct());
|
||||
l.SaleBillNo = string.Join(",", l.SaleBillNoList.Distinct());
|
||||
l.InStock = GetInStock(l.InStockCodes, companyId, l.OrgCode);
|
||||
}
|
||||
return (list, total);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user