修改
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -53,11 +53,11 @@ namespace NX.ERP.U8
|
||||
cInvCCode AS MaterialTypeCode,
|
||||
cReplaceItem AS 替换件,
|
||||
cPosition AS 货位编码,
|
||||
bSale AS 是否销售,
|
||||
bSale AS IsSale,
|
||||
bPurchase AS IsPurchase,
|
||||
bSelf AS IsSelf,
|
||||
bComsume AS 是否生产耗用,
|
||||
bProducing AS 是否在制,
|
||||
bProducing AS IsProducing,
|
||||
bService AS 是否应税劳务,
|
||||
bAccessary AS 是否成套件,
|
||||
iTaxRate AS TaxRate,
|
||||
@@ -176,7 +176,7 @@ namespace NX.ERP.U8
|
||||
iQTMethod AS 质量检验方案,
|
||||
PictureGUID AS 图片GUID,
|
||||
bPlanInv AS 是否计划品,
|
||||
bProxyForeign AS 是否委外,
|
||||
bProxyForeign AS ProxyForeign,
|
||||
bATOModel AS 是否ATO模型,
|
||||
bCheckItem AS 是否选项类,
|
||||
bPTOModel AS 是否PTO模型,
|
||||
|
||||
Reference in New Issue
Block a user