调整仓位显示

This commit is contained in:
18942506660
2024-03-20 09:44:13 +08:00
parent 9fcb54d1d9
commit c0e7a6eff1
6 changed files with 37 additions and 21 deletions

View File

@@ -169,7 +169,12 @@ namespace WMS.Web.Domain.Services
ChangeBoxRecord entity = new ChangeBoxRecord();
entity.Create(loginInfo.UserInfo.StaffId, d.Qty, d.MaterialNumber, d.SerialNumbers, dt.SrcBoxId, dt.DestBoxId);
//entity.SrcSubStockId = boxi?.SubStockId ?? 0;//原乡仓位需要去拉一下库存获取
entity.SrcSubStockCode = subStock_s?.Code ?? "";//原乡仓位需要去拉一下库存获取
if (subStock_s != null)
{
entity.SrcSubStockCode = subStock_s.Code;//原乡仓位需要去拉一下库存获取
entity.SrcBoxOrgCode = subStock_s.ErpOrgCode;
entity.SrcStockCode = subStock_s.StockCode;
}
if (subStock != null)
{
//entity.DestSubStockId = dt.SubStockId;