对比接口-筛选仓库对应明细
This commit is contained in:
@@ -115,7 +115,7 @@ namespace WMS.Web.Domain.Services
|
||||
BoxId = boxId,
|
||||
InventoryInOutMethod = dto.Method,
|
||||
StockCode = outStockTask.StockCode,
|
||||
SubStockId = 0,// outStockTask.Details.First().SubStockId,
|
||||
SubStockId = dto.Details.FirstOrDefault(f => f.BoxId == boxId)?.SubStockId ?? 0,// outStockTask.Details.First().SubStockId,
|
||||
Details = inventoryDetail
|
||||
};
|
||||
inventoryList.Add(inventory);
|
||||
|
||||
Reference in New Issue
Block a user