散料入库

This commit is contained in:
zgf committed 2023-08-23 04:10:59 +08:00
1 parent 630e33a27a
commit 2097bffabb
6 files changed
+388 -247

No files matched your search

+4 -4
View File
@@ -154,7 +154,7 @@ namespace HHWMS.Web
var taskfromlocatioin = _unitwork.FindSingle<Location>(x => x.Code.Equals(task.FromLocation));
switch (task.TaskType)
{
case TaskTypeEnum.料盒入库:
case TaskTypeEnum.盘料盒入库:
// 更新库位
// 起始库位为空
// 目标库位为有货
@@ -163,7 +163,7 @@ namespace HHWMS.Web
// 测试 创建料盒出库任务
newTask.ZoneCode = "L";
newTask.TaskNo = _unitwork.GetSerialNumber("out", 4);
newTask.TaskType = TaskTypeEnum.料盒出库;
newTask.TaskType = TaskTypeEnum.盘料盒出库;
newTask.ContainerCode = task.FromLocation;
newTask.FromLocation = task.ToLocation;
newTask.ToLocation = task.FromLocation;
@@ -171,7 +171,7 @@ namespace HHWMS.Web
//newTask.Station = task.Station;
_unitwork.Add(newTask);
break;
case TaskTypeEnum.料盒出库:
case TaskTypeEnum.盘料盒出库:
// 更新库位
// 起始库位为空
// 目标库位为有货
@@ -218,7 +218,7 @@ namespace HHWMS.Web
var fromL = _unitwork.FindSingle<Location>(x => x.Row.Equals(tasktolocatioin.Row) && x.Type == "G1");
newTask.ZoneCode = "L";
newTask.TaskNo = _unitwork.GetSerialNumber("in", 4);
newTask.TaskType = TaskTypeEnum.料盒入库;
newTask.TaskType = TaskTypeEnum.盘料盒入库;
newTask.ContainerCode = fromL.Code;
newTask.FromLocation = fromL.Code;
newTask.ToLocation = "L01-01-19-01";