feat: 接入ERP成品发货出库流程

This commit is contained in:
mtf committed 2026-07-18 13:41:54 +08:00
1 parent 66a1f60428
commit 7c2722c88d
25 files changed
+2547 -22

No files matched your search

@@ -57,6 +57,17 @@ namespace HHWMS.Web.Controllers
return Json(new { Code = 400, Msg = $"{containerCode} 容器状态不正确!已存在任务或者已在库内" });
}
if (TryGetShipmentContainerData(containerCode, out var shipmentRows))
{
return Json(new
{
Code = 200,
Msg = "已加载ERP发货分配,请确认实际出库数量",
Data = shipmentRows,
IsShipment = true
});
}
// var task = _unitWork.FindSingle<TaskHeader>(u => u.ContainerCode == containerCode);
// if (task != null && !string.IsNullOrWhiteSpace(task.ToLocation))
// {
@@ -82,7 +93,8 @@ namespace HHWMS.Web.Controllers
return Json(new {
Code = 200,
Msg = "验证成功",
Data = inventories
Data = inventories,
IsShipment = false
});
}
catch (Exception ex)