任务详情

This commit is contained in:
tongfei
2024-03-27 10:12:37 +08:00
parent 621485fb4c
commit ca3a43c775
11 changed files with 461 additions and 12 deletions

View File

@@ -556,7 +556,8 @@ namespace WMS.Web.Domain.Services
foreach (var item in dto.Boxs)
{
var taskBox = _mapper.Map<InStockTaskBox>(item);
taskBox.TaskId = entity.Id;
taskBox.TaskId = entity.Id;
taskBox.Receiver(staffId);
var current_dto_box_dets = boxEntitys.Where(x => x.Id == item.BoxId).SelectMany(x => x.Details).ToList();
taskBox.Details = _mapper.Map<List<InStockTaskBoxDetails>>(current_dto_box_dets);
taskBox.Details.ForEach(x => { x.ErpDetailId = item.ErpDetailId; });