添加库位监控

库存 库位 添加zone权限管控
This commit is contained in:
zhougf committed 2025-05-13 17:26:39 +08:00
1 parent b005422b01
commit e90e0db019
43 files changed
+536 -479

No files matched your search

+12 -5
View File
@@ -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,
}