非采购入库-优化

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

View File

@@ -4,6 +4,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Text.Json;
using System.Threading.Tasks; using System.Threading.Tasks;
using WMS.Web.Core.Dto; using WMS.Web.Core.Dto;
using WMS.Web.Core.Dto.ChangeBoxRecord; using WMS.Web.Core.Dto.ChangeBoxRecord;
@@ -358,6 +359,7 @@ namespace WMS.Web.Domain.Services
var changeBox = new SaveChangeBoxRecordRequest(); var changeBox = new SaveChangeBoxRecordRequest();
changeBox.DestBoxId = dto_box.BoxId; changeBox.DestBoxId = dto_box.BoxId;
changeBox.SrcBoxId = boxId; changeBox.SrcBoxId = boxId;
changeBox.SubStockId = dto.SubStockId;
foreach (var item in dto_box.Details) foreach (var item in dto_box.Details)
{ {
var changeBoxRD = new SaveChangeBoxRecordDetailsRequest(); var changeBoxRD = new SaveChangeBoxRecordDetailsRequest();
@@ -370,6 +372,7 @@ namespace WMS.Web.Domain.Services
} }
} }
string g_json = JsonSerializer.Serialize(ganenrateChangeBoxs);
//改箱保存操作 //改箱保存操作
var changeBoxSave_Result = await _changeMoveBoxService.ChangeBoxSave(ganenrateChangeBoxs, loginInfo, isTransaction); var changeBoxSave_Result = await _changeMoveBoxService.ChangeBoxSave(ganenrateChangeBoxs, loginInfo, isTransaction);
if (!changeBoxSave_Result.IsSuccess) if (!changeBoxSave_Result.IsSuccess)