非采购入库-优化
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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();
|
||||||
@@ -369,7 +371,8 @@ namespace WMS.Web.Domain.Services
|
|||||||
ganenrateChangeBoxs.Add(changeBox);
|
ganenrateChangeBoxs.Add(changeBox);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user