散料入库

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

+6 -2
View File
@@ -26,6 +26,10 @@ namespace HHWMS.Web.Models
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string MaterialCode { get; set; }
[Display(Name = "Inventory.UniqueCode", Description = "唯一编码")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string UniqueCode { get; set; }
[Display(Name = "Inventory.MaterialType", Description = "物料类型")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string MaterialType { get; set; }
@@ -65,11 +69,11 @@ namespace HHWMS.Web.Models
[Display(Name = "Receipt.CompletedQty", Description = "完成数量")]
[Column(TypeName = "decimal(12,4)")]
public decimal? CompletedQty { get; set; }
public decimal? CompletedQty { get; set; } = Decimal.Zero;
[Display(Name = "Inventory.Qty", Description = "数量")]
[Column(TypeName = "decimal(12,4)")]
public decimal? Qty { get; set; }
public decimal? Qty { get; set; } = Decimal.Zero;
[Display(Name = "Inventory.Status", Description = "物料状态")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]