修改任务明细为子任务

This commit is contained in:
zgf committed 2023-08-14 10:28:13 +08:00
1 parent 820d9d065b
commit f8ee359644
19 files changed
+142 -64

No files matched your search

+11 -5
View File
@@ -29,19 +29,25 @@ namespace HHWMS.Web.Models
/// 入库任务
/// </summary>
[Display(Name = "TaskType.In")]
In = 100,
料盒入库 = 1,
/// <summary>
/// 出库任务
/// </summary>
[Display(Name = "TaskType.Out")]
Out = 200,
料盒出库 = 2,
/// <summary>
/// 移库任务
/// 盘料入库
/// </summary>
[Display(Name = "TaskType.Move")]
Move = 300
[Display(Name = "TaskType.PIn")]
盘料入库 = 3,
/// <summary>
/// 盘料出库
/// </summary>
[Display(Name = "TaskType.POut")]
盘料出库 = 3
}
/// <summary>
+12
View File
@@ -23,6 +23,10 @@ namespace HHWMS.Web.Models
[Display(Name = "Inventory.ReceiptDetailId", Description = "明细ID")]
public int? OrderDetailId { get; set; }
[Display(Name = "Inventory.UniqueCode", Description = "唯一码")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string UniqueCode { get; set; }
[Display(Name = "Inventory.MaterialCode", Description = "物料编码")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
@@ -58,6 +62,14 @@ namespace HHWMS.Web.Models
[Display(Name = "TaskDetail.InventoryId", Description = "库存Id")]
public int? InventoryId { get; set; }
[Display(Name = "Task.FromLocation", Description = "起始仓位")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string FromLocation { get; set; }
[Display(Name = "Task.ToLocation", Description = "目标仓位")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string ToLocation { get; set; }
[Display(Name = "TaskDetail.Status", Description = "状态")]
public TaskStatusEnum? Status { get; set; }
}