将查找仓位方法移到LocationVM
This commit is contained in:
1 parent
2bfda34103
commit
45bc46a828
3 files changed
+354
-109
No files matched your search
@@ -265,7 +265,7 @@ namespace HHWMS.Web.Controllers
|
||||
Row = row,
|
||||
Line = line,
|
||||
Layer = layer,
|
||||
RowFlag = (short?)(row == 1 || row == 4 ? 1 : 0),
|
||||
RowFlag = (short?)(vm.RoadwayType == 1 || vm.RoadwayType == 2 ? 0 : (row == 1 || row == 4 ? 1 : 0)),
|
||||
ContiguousCode = vm.RoadwayType == 4 ? $"{vm.Entity.Type}{vm.Entity.RoadWay.ToString().PadLeft(2, '0')}-{(row % 2 == 0?row-1:row+1) .ToString().PadLeft(2, '0')}-{line.ToString().PadLeft(2, '0')}-{layer.ToString().PadLeft(2, '0')}" : null,
|
||||
IsStop = false,
|
||||
Status = LocationStatus.空仓位,
|
||||
|
||||
Reference in new issue
Block a user