盘料出库1对多工位出库
This commit is contained in:
1 parent
30f1e69664
commit
2cae99cb34
12 files changed
+308
-59
No files matched your search
@@ -66,6 +66,7 @@ namespace HHWMS.Web.Controllers
|
||||
}
|
||||
else
|
||||
{
|
||||
vm.Entity.FirstStatus = ReceiptStatusEnum.新建;
|
||||
vm.DoAdd();
|
||||
if (!ModelState.IsValid)
|
||||
{
|
||||
|
||||
@@ -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, "库内没有可用散料箱!");
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
<wt:textbox field="Entity.SupplierCode" />
|
||||
<wt:textbox field="Entity.TotalQty" />
|
||||
<wt:combobox field="Entity.LastStatus" />
|
||||
<wt:textbox field="Entity.TotalLines" />*@
|
||||
<wt:combobox field="Entity.FirstStatus" />
|
||||
<wt:textbox field="Entity.TotalLines" />
|
||||
<wt:combobox field="Entity.FirstStatus" />*@
|
||||
<wt:datetime field="Entity.AppointmentTime" type="DateTime" />
|
||||
<wt:textbox field="Entity.Remark" />
|
||||
</wt:row>
|
||||
|
||||
Reference in new issue
Block a user