非采购入库-优化
This commit is contained in:
@@ -4,6 +4,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
using System.Threading.Tasks;
|
||||
using WMS.Web.Core.Dto;
|
||||
using WMS.Web.Core.Dto.ChangeBoxRecord;
|
||||
@@ -358,6 +359,7 @@ namespace WMS.Web.Domain.Services
|
||||
var changeBox = new SaveChangeBoxRecordRequest();
|
||||
changeBox.DestBoxId = dto_box.BoxId;
|
||||
changeBox.SrcBoxId = boxId;
|
||||
changeBox.SubStockId = dto.SubStockId;
|
||||
foreach (var item in dto_box.Details)
|
||||
{
|
||||
var changeBoxRD = new SaveChangeBoxRecordDetailsRequest();
|
||||
@@ -369,7 +371,8 @@ namespace WMS.Web.Domain.Services
|
||||
ganenrateChangeBoxs.Add(changeBox);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
string g_json = JsonSerializer.Serialize(ganenrateChangeBoxs);
|
||||
//改箱保存操作
|
||||
var changeBoxSave_Result = await _changeMoveBoxService.ChangeBoxSave(ganenrateChangeBoxs, loginInfo, isTransaction);
|
||||
if (!changeBoxSave_Result.IsSuccess)
|
||||
|
||||
Reference in New Issue
Block a user