出库 不同时生成两个料盒出库到一个工位的任务
新建出库单 明细
This commit is contained in:
1 parent
e7c558ecf9
commit
8e11aa092b
6 files changed
+48
-7
No files matched your search
@@ -185,8 +185,15 @@ namespace HHWMS.Web
|
||||
gLoc = _unitwork.Find<Location>(x => string.IsNullOrEmpty(x.ContainerCode)
|
||||
&& x.Row == location.Row
|
||||
&& x.Type.Equals(LocationTypeEnum.堆垛机工位)).FirstOrDefault();
|
||||
|
||||
if (gLoc != null)
|
||||
{
|
||||
// 工位为空,先判断是否有去此工位的任务
|
||||
var gTask = _unitwork.FindSingle<TaskHeader>(x => x.ToLocation.Equals(gLoc.Code));
|
||||
if (gTask != null)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
var pTask = new TaskHeader
|
||||
{
|
||||
ZoneCode = ZoneCodeEnum.盘料库,
|
||||
|
||||
Reference in new issue
Block a user