采购上架优化

This commit is contained in:
tongfei
2023-11-25 11:52:18 +08:00
parent ece634b395
commit de6998c6b9
4 changed files with 31 additions and 11 deletions

View File

@@ -475,7 +475,7 @@ namespace WMS.Web.Domain.Services
#region
//3.组装-按产品入库
var dtoDatas_details_Method_Product = dtoDatas.Where(x => x.Method == InventoryInOutMethod.Box).SelectMany(x => x.Details).ToList();
var dtoDatas_details_Method_Product = dtoDatas.Where(x => x.Method == InventoryInOutMethod.Product).SelectMany(x => x.Details).ToList();
var generateDtoList_Metod_Product = dtoDatas_details_Method_Product.GroupBy(x => new { x.BoxId, x.OrgCode, x.StockCode, x.SubStockId })
.Select(x => new BoxInventoryGenerateDto()
{