载具入库将PreTaskId改为RequireId

This commit is contained in:
alex
2023-06-16 08:58:16 +08:00
parent 0aceef8697
commit 489f01cf7f
12 changed files with 24 additions and 16 deletions

View File

@@ -52,7 +52,7 @@ namespace Tnb.WarehouseMgr
{
_db = repository.AsSugarClient();
_dictionaryDataService = dictionaryDataService;
_billRullService= billRullService;
_billRullService = billRullService;
}
/// <summary>
/// 根据载具Id带出库位、仓库信息
@@ -233,7 +233,7 @@ namespace Tnb.WarehouseMgr
items.ForEach(x =>
{
x.is_chain = 0;
x.chain_type = "0";
});
}
@@ -433,6 +433,10 @@ namespace Tnb.WarehouseMgr
{
foreach (var dt in disTasks)
{
if (!input.prefix.IsNullOrWhiteSpace())
{
dt.biz_type = $"{input.prefix}{dt.biz_type}";
}
var upInput = new WareHouseUpInput { bizTypeId = dt.biz_type, requireId = dt.require_id };
if (dt.is_chain == 0)
{