添加工序配置

修改入库页面,任务完成,库存页面等
This commit is contained in:
zhougf committed 2025-08-31 15:57:46 +08:00
1 parent c2b039ea47
commit 5a04ca9d59
41 files changed
+1151 -84

No files matched your search

@@ -65,6 +65,7 @@ namespace HHWMS.Web
.CheckEqual(Searcher.RowFlag, x=>x.RowFlag)
.CheckContain(Searcher.ContainerCode, x=>x.ContainerCode)
.CheckEqual(Searcher.IsStop, x=>x.IsStop)
.DPWhere(Wtm,x => x.ZoneId)
.Select(x => new Location_View
{
ID = x.ID,
@@ -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)