线边操作添加ERP关联
This commit is contained in:
1 parent
713c3528ad
commit
0e5d0247bf
19 files changed
+1467
-139
No files matched your search
@@ -215,6 +215,10 @@ namespace HHWMS.Web.Controllers
|
||||
return JsonMore(null, 500, "容器编码为空!");
|
||||
}
|
||||
|
||||
if (_unitWork.IsExit<TaskHeader>(x => x.ContainerCode == containerCode))
|
||||
{
|
||||
return JsonMore(null, 500, $"库内已存在托盘编码为 {containerCode} 的任务!");
|
||||
}
|
||||
// 查询容器
|
||||
var container = _unitWork.FindSingle<Container>(u => u.Code == containerCode);
|
||||
if (container == null)
|
||||
|
||||
Reference in new issue
Block a user