BOM 和MO 添加名称个物料规格

This commit is contained in:
gongxh
2021-06-04 14:48:56 +08:00
parent 43b9e3473a
commit cd8d10ddae
8 changed files with 36 additions and 28 deletions

View File

@@ -39,6 +39,10 @@ namespace NX.ERP.Model.Response.MOM
public int BomId { get; set; }
public string SortSeq { get; set; }
public string ComponentCode { get; set; }
public string ComponentName { get; set; }
public string ComponentSpecsModel { get; set; }
public decimal BaseQtyN { get; set; }
public decimal BaseQtyD { get; set; }
public int WipType { get; set; }
@@ -69,6 +73,10 @@ namespace NX.ERP.Model.Response.MOM
public int Status { get; set; }
public string ParentCode { get; set; }
public string ParentName { get; set; }
public string ParentSpecsModel { get; set; }
public ICollection<OptionComponent> OptionComponents { get => optionComponents; set => optionComponents = value; }
private ICollection<OptionComponent> optionComponents = new List<OptionComponent>();

View File

@@ -16,6 +16,11 @@ namespace NX.ERP.Model.MOM
public int AllocateId { get => id; set => id = value; }
public string MaterialCode { get => invCode; set => invCode = value; }
public string MaterialName { get; set; }
public string MaterialSpecsModel { get; set; }
public double Qty { get => qty; set => qty = value; }
public int ProductOrderId { get => modid; set => modid = value; }
//public string UnitCode { get; set; }

View File

@@ -26,6 +26,9 @@ namespace NX.ERP.Model.MOM
public string ProductName { get; set; }
public string ProductCode { get; set; }
public string ProductSpecsModel { get; set; }
[Newtonsoft.Json.JsonIgnore]
public string MDeptCode { get; set; }
//public string BatchNo { get; set; }