添加工序配置
修改入库页面,任务完成,库存页面等
This commit is contained in:
1 parent
c2b039ea47
commit
5a04ca9d59
41 files changed
+1151
-84
No files matched your search
@@ -461,6 +461,10 @@ namespace HHWMS.Web
|
||||
return moveloc;
|
||||
}
|
||||
}
|
||||
else if (outter != null && outter.Status == LocationStatusEnum.锁定)
|
||||
{
|
||||
return ResponseResult<dynamic>.Error("外侧仓位已被锁定!请稍后再尝试!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -532,7 +536,7 @@ namespace HHWMS.Web
|
||||
&& l.ContainerStatus == LocationStatus.空仓位
|
||||
&& locationPairs.TryGetValue(l.ContiguousCode, out var outer)
|
||||
&& outer.ContainerStatus == LocationStatus.空仓位)
|
||||
.OrderBy(l => l.Height)
|
||||
.OrderBy(l => Math.Abs((decimal)outter.Height - (decimal)l.Height))
|
||||
.ThenBy(l => Math.Abs(outter.RoadWay - l.RoadWay))
|
||||
.ThenBy(l => Math.Abs(outter.Line - l.Line))
|
||||
.ThenBy(l => l.Layer)
|
||||
|
||||
Reference in new issue
Block a user