调整仓库类型
This commit is contained in:
@@ -177,8 +177,8 @@ namespace WMS.Web.Repositories
|
||||
query = query.Where(w => w.ResultType == (TakeStockType)dto.ResultType);
|
||||
if (!string.IsNullOrEmpty(dto.BillNo))
|
||||
query = query.Where(w => EF.Functions.Like(w.BillNo, "%" + dto.BillNo + "%"));
|
||||
if (dto.StockId != null)
|
||||
query = query.Where(w => w.StockId == dto.StockId);
|
||||
if (!string.IsNullOrEmpty(dto.StockCode))
|
||||
query = query.Where(w => w.StockCode == dto.StockCode);
|
||||
if (dto.DateBeginDate != null)
|
||||
query = query.Where(w => w.Date >= dto.DateBeginDate);
|
||||
if (dto.DateEndDate != null)
|
||||
@@ -191,8 +191,8 @@ namespace WMS.Web.Repositories
|
||||
Id = s.Id,
|
||||
BillNo = s.BillNo,
|
||||
Unit = _erpBasicDataExtendService.GetMaterialUnitName(materials, s.MaterialId),
|
||||
Stock = _singleDataService.GetSingleData(SingleAction.Stocks, _loginRepositories.CompanyId, s.StockId),
|
||||
SubStock = _singleDataService.GetSingleData(SingleAction.SubStocks, _loginRepositories.CompanyId, s.SubStockId),
|
||||
Stock = _singleDataService.GetSingleData(SingleAction.Stocks, _loginRepositories.CompanyId, s.StockCode),
|
||||
SubStock = _singleDataService.GetSingleData(SingleAction.SubStocks, _loginRepositories.CompanyId, s.SubStockCode),
|
||||
BeforeQty = s.BeforeQty,
|
||||
AfterQty = s.AfterQty,
|
||||
FinalQty = s.FinalQty,
|
||||
|
||||
Reference in New Issue
Block a user