箱库存-修改

This commit is contained in:
tongfei
2023-11-23 16:03:16 +08:00
parent eb73e30fc6
commit 57e2b755de
8 changed files with 120 additions and 2 deletions

View File

@@ -196,6 +196,7 @@ namespace WMS.Web.Domain.Services
{
var entity = new InStock();
entity.Type = type;
entity.Method = InventoryInOutMethod.Box;
entity.Details = _mapper.Map<List<InStockDetails>>(dto.Details);
entity.Create(loginInfo.UserInfo.StaffId);
@@ -275,6 +276,7 @@ namespace WMS.Web.Domain.Services
//2.生成:入库单
var entity = new InStock();
entity.Type = task.Type;
entity.Method = dto.ShelfMethod == (int)ShelfMethod.Box ? InventoryInOutMethod.Box : InventoryInOutMethod.Product;
entity.Details = new List<InStockDetails>();
var temps = new List<InStockDetails>();