列表仓位

This commit is contained in:
18942506660
2023-10-30 10:15:53 +08:00
parent 3cfb985d24
commit cd2e23eccb
6 changed files with 12 additions and 7 deletions

View File

@@ -100,6 +100,11 @@ namespace WMS.Web.Domain.Values.Single
/// </summary>
[EnumRemark("菜单")]
Menus = 18,
/// <summary>
/// 仓位集合
/// </summary>
[EnumRemark("仓位")]
SubStocks = 19,
}
}

View File

@@ -96,8 +96,8 @@ namespace WMS.Web.Repositories
SerialNumber = "",
SrcBox = "",
DestBox = "",
SrcSubStock = "",
DestSubStock = "",
SrcSubStock = _singleDataService.GetSingleData(SingleAction.SubStocks, _loginRepositories.CompanyId, s.SrcSubStockId),
DestSubStock = _singleDataService.GetSingleData(SingleAction.SubStocks, _loginRepositories.CompanyId, s.DestSubStockId),
Creator = _singleDataService.GetSingleData(SingleAction.Staffs, _loginRepositories.CompanyId, s.CreatorId),
CreateTime =s.CreateTime.DateToStringSeconds()
#endregion

View File

@@ -90,9 +90,9 @@ namespace WMS.Web.Repositories
{
#region dto组装
Box = "",
SrcSubStock = "",
SrcSubStock = _singleDataService.GetSingleData(SingleAction.SubStocks, _loginRepositories.CompanyId, s.SrcSubStockId),
Specifications = "",
DestSubStock = "",
DestSubStock = _singleDataService.GetSingleData(SingleAction.SubStocks, _loginRepositories.CompanyId, s.DestSubStockId),
Qty = s.Qty,
Type = s.Type.GetRemark(),
Creator = _singleDataService.GetSingleData(SingleAction.Staffs, _loginRepositories.CompanyId, s.CreatorId),

View File

@@ -103,7 +103,7 @@ namespace WMS.Web.Repositories
SourceBillNo=s.detail.SourceBillNo,
SaleBillNo = s.detail.SaleBillNo,
DeliveryOrg = "",
ReceiptCustomer = "",
ReceiptCustomer = _singleDataService.GetSingleData(SingleAction.Customers, _loginRepositories.CompanyId, s.detail.ReceiptCustomerId),
MaterialName = "",
MaterialNumber = "",
Specifications = "",

View File

@@ -186,7 +186,7 @@ namespace WMS.Web.Repositories
SourceBillNo = s.detail.SourceBillNo,
SaleBillNo = s.detail.SaleBillNo,
DeliveryOrg = "",
ReceiptCustomer = "",
ReceiptCustomer = _singleDataService.GetSingleData(SingleAction.Customers, _loginRepositories.CompanyId, s.detail.ReceiptCustomerId),
MaterialName = "",
MaterialNumber = "",
Specifications = ""

View File

@@ -95,7 +95,7 @@ namespace WMS.Web.Repositories
BillNo = s.order.BillNo,
Unit = _singleDataService.GetSingleData(SingleAction.Units, _loginRepositories.CompanyId, s.detail.UnitId),
Stock = _singleDataService.GetSingleData(SingleAction.Stocks, _loginRepositories.CompanyId, s.detail.StockId),
SubStock = "",
SubStock = _singleDataService.GetSingleData(SingleAction.SubStocks, _loginRepositories.CompanyId, s.detail.SubStockId),
BeforeQty = s.detail.BeforeQty,
AfterQty = s.detail.AfterQty,
FinalQty = s.detail.FinalQty,