箱库存-修改
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user