This commit is contained in:
gongxh
2021-05-21 13:34:51 +08:00
parent 4abb93fd80
commit 01fb895023
2 changed files with 31 additions and 7 deletions

View File

@@ -90,20 +90,44 @@ namespace NX.ERP.Model
}
}
[Newtonsoft.Json.JsonIgnore]
public DateTime? ModifyDate { get; set; }
/// <summary>
/// 是否采购
/// </summary>
public bool IsPurchase { get; set; }
[Newtonsoft.Json.JsonIgnore]
public bool IsSelf { get; set; }
public bool IsSub { get; set; }
[Newtonsoft.Json.JsonIgnore]
public bool ProxyForeign { get; set; }
//bPurchase,bSelf,IsSub
/// <summary>
/// 供应类型
/// 0-自制 1-外购 2-虚拟件 3-委外
/// </summary>
public int PlanProperty
{
get
{
if (this.IsPurchase && this.ProxyForeign) return 3;
if (this.IsSelf) return 0;
if (this.IsPurchase) return 1;
return 2;
}
}
public bool IsSale { get; set; }
public bool IsProducing { get; set; }