This commit is contained in:
tongfei
2023-12-13 14:36:16 +08:00
parent 4ac5a2eb25
commit f8d50b7b35
6 changed files with 7 additions and 44 deletions

View File

@@ -32,18 +32,6 @@ namespace WMS.Web.Domain.Entitys
/// 数量
/// </summary>
public decimal Qty { get; set; }
/// <summary>
/// 组织编码
/// </summary>
public string OrgCode { get; set; }
/// <summary>
/// 仓库code
/// </summary>
public string StockCode { get; set; }
/// <summary>
/// 仓位ID
/// </summary>
public int SubStockId { get; set; }
/// <summary>
/// 序列号集

View File

@@ -266,8 +266,8 @@ namespace WMS.Web.Domain.Services
{
var inventoryInOutDet = _inventoryInOutDetailsService.GenerateDto(
item.BoxId, item.MaterialId,
item.OrgCode, item.StockCode,
item.SubStockId, OrderType.Back,
dtoData.OrgCode, dtoData.StockCode,
dtoData.SubStockId, OrderType.Back,
dtoData.BillNo, item.Qty, (dtoData.Type == BackRecordType.InstockOff ? InventoryInOutType.Out : InventoryInOutType.In));
InventoryInOutDetailsGenerateDtoList.Add(inventoryInOutDet);
}

View File

@@ -407,7 +407,7 @@ namespace WMS.Web.Domain.Services
};
if (backRecord.Type == BackRecordType.OutstockOn)
{
var subStockId = detail?.SubStockId ?? 0;
var subStockId = backRecord?.SubStockId ?? 0;
var srcSubStock = _singleDataService.GetSingleData(SingleAction.SubStocks, loginInfo.UserInfo.CompanyId, subStockId);
op.Remark += "\r\n" + "仓位:" + srcSubStock;
}