非采购入库-优化

This commit is contained in:
tongfei
2023-11-27 14:03:17 +08:00
parent 6288bbcf3d
commit a8fc592398
2 changed files with 5 additions and 2 deletions

View File

@@ -1768,7 +1768,7 @@
</member>
<member name="M:WMS.Web.Domain.Infrastructure.IBasicsRepositories.GetSubUcStockAsync(System.Collections.Generic.List{System.Int32},System.Int32)">
<summary>
获取仓位详情根据仓位ID集合和公司ID
获取仓位集合根据仓位ID集合和公司ID
</summary>
<param name="ids"></param>
<param name="companyId"></param>

View File

@@ -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)