盘料出库1对多工位出库
This commit is contained in:
1 parent
30f1e69664
commit
2cae99cb34
12 files changed
+308
-59
No files matched your search
@@ -45,13 +45,19 @@ public class ReceiptSLInController : BaseController
|
||||
&& x.Status != LocationStatus.任务锁
|
||||
&& x.Status != LocationStatus.满货
|
||||
&& x.Status != LocationStatus.空仓位
|
||||
&& x.Row == stations.First().Row).FirstOrDefault();
|
||||
&& x.Row == stations.First().Row)
|
||||
.OrderBy(x => x.Layer)
|
||||
.ThenByDescending(x => x.Line)
|
||||
.FirstOrDefault();
|
||||
if (box == null && stations.Count == 2)
|
||||
box = _unitWork.Find<Location>(x => (x.ZoneCode == ZoneCodeEnum.散料库)
|
||||
&& x.Status != LocationStatus.任务锁
|
||||
&& x.Status != LocationStatus.满货
|
||||
&& x.Status != LocationStatus.空仓位
|
||||
&& x.Row == stations.Last().Row).FirstOrDefault();
|
||||
&& x.Row == stations.Last().Row)
|
||||
.OrderBy(x => x.Layer)
|
||||
.ThenByDescending(x => x.Line)
|
||||
.FirstOrDefault();
|
||||
|
||||
if (box == null) return JsonMore(null, 500, "库内没有可用散料箱!");
|
||||
|
||||
|
||||
Reference in new issue
Block a user