调整仓库类型
This commit is contained in:
@@ -268,8 +268,8 @@ namespace WMS.Web.Repositories
|
||||
query = query.Where(w => w.order.Status == (OutStockStatus)dto.Status);
|
||||
if (dto.DeliveryOrgId != null)
|
||||
query = query.Where(w => w.order.DeliveryOrgId == dto.DeliveryOrgId);
|
||||
if (dto.StockId != null)
|
||||
query = query.Where(w => w.detail.StockId == dto.StockId);
|
||||
if (!string.IsNullOrEmpty(dto.StockCode))
|
||||
query = query.Where(w => w.detail.StockCode == dto.StockCode);
|
||||
if (dto.CreateBeginDate != null)
|
||||
query = query.Where(w => w.order.OperateTime >= dto.CreateBeginDate);
|
||||
if (dto.CreateEndDate != null)
|
||||
@@ -287,7 +287,7 @@ namespace WMS.Web.Repositories
|
||||
CreateTime = s.order.OperateTime.DateToStringSeconds(),
|
||||
OutStockBeginTime = s.detail.OutStockBeginTime.DateToStringSeconds(),
|
||||
OutStockEndTime = s.detail.OutStockEndTime.DateToStringSeconds(),
|
||||
Stock = _singleDataService.GetSingleData(SingleAction.Stocks, _loginRepositories.CompanyId, s.detail.StockId),
|
||||
Stock = _singleDataService.GetSingleData(SingleAction.Stocks, _loginRepositories.CompanyId, s.detail.StockCode),
|
||||
SourceBillNo = s.order.SourceBillNo,
|
||||
SaleBillNo = s.detail.SaleBillNo,
|
||||
DeliveryOrg = _erpBasicDataExtendService.GetOrgName(orgs, s.order.DeliveryOrgId),
|
||||
|
||||
Reference in New Issue
Block a user