添加库位监控
库存 库位 添加zone权限管控
This commit is contained in:
1 parent
b005422b01
commit
e90e0db019
43 files changed
+536
-479
No files matched your search
@@ -12,9 +12,9 @@ public class Location : BasePoco
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public new int ID { get; set; }
|
||||
|
||||
public LocationZone LocationZone { get; set; }
|
||||
public LocationZone Zone { get; set; }
|
||||
[Display(Name = "Location.ZoneCode", Description = "库位编码")]
|
||||
public int LocationZoneId { get; set; }
|
||||
public int ZoneId { get; set; }
|
||||
|
||||
[Display(Name = "Location.Code", Description = "库位编码")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
@@ -28,7 +28,7 @@ public class Location : BasePoco
|
||||
|
||||
[Display(Name = "Location.RoadWay", Description = "巷道")]
|
||||
[Required(ErrorMessage = "Validate.{0}required")]
|
||||
public short? RoadWay { get; set; }
|
||||
public short RoadWay { get; set; }
|
||||
|
||||
[Display(Name = "Location.Row", Description = "行")]
|
||||
public short Row { get; set; }
|
||||
|
||||
@@ -13,9 +13,9 @@ namespace HHWMS.Web.Models
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public new int ID { get; set; }
|
||||
|
||||
[Display(Name = "Task.ZoneCode", Description = "库区")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string ZoneCode { get; set; }
|
||||
[Display(Name = "Location.ZoneCode", Description = "库区")]
|
||||
public int ZoneId{ get; set; }
|
||||
public LocationZone Zone { get; set; }
|
||||
|
||||
[Display(Name = "Task.ContainerCode", Description = "容器编码")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
@@ -90,8 +90,7 @@ namespace HHWMS.Web.Models
|
||||
public string Status { get; set; }
|
||||
|
||||
[Display(Name = "Inventory.TaskStatus", Description = "任务状态")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string TaskStatus { get; set; }
|
||||
public InventoryTaskStatusEnum TaskStatus { get; set; }
|
||||
|
||||
[Display(Name = "Inventory.Flag", Description = "格数")]
|
||||
public int Flag { get; set; }
|
||||
@@ -99,3 +98,11 @@ namespace HHWMS.Web.Models
|
||||
public int UpdateVersion { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
public enum InventoryTaskStatusEnum : short
|
||||
{
|
||||
[Display(Name = "InventoryTaskStatusEnum.Idle")]
|
||||
Idle = 0,
|
||||
[Display(Name = "InventoryTaskStatusEnum.Locked")]
|
||||
Locked = 1,
|
||||
}
|
||||
Reference in new issue
Block a user