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; } public DateTime? ModifyDate { get; set; }
/// <summary>
/// 是否采购
/// </summary>
public bool IsPurchase { get; set; } public bool IsPurchase { get; set; }
[Newtonsoft.Json.JsonIgnore]
public bool IsSelf { get; set; } public bool IsSelf { get; set; }
public bool IsSub { get; set; }
[Newtonsoft.Json.JsonIgnore]
public bool ProxyForeign { get; set; }
//bPurchase,bSelf,IsSub //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; }

View File

@@ -53,11 +53,11 @@ namespace NX.ERP.U8
cInvCCode AS MaterialTypeCode, cInvCCode AS MaterialTypeCode,
cReplaceItem AS 替换件, cReplaceItem AS 替换件,
cPosition AS 货位编码, cPosition AS 货位编码,
bSale AS 是否销售, bSale AS IsSale,
bPurchase AS IsPurchase, bPurchase AS IsPurchase,
bSelf AS IsSelf, bSelf AS IsSelf,
bComsume AS 是否生产耗用, bComsume AS 是否生产耗用,
bProducing AS 是否在制, bProducing AS IsProducing,
bService AS 是否应税劳务, bService AS 是否应税劳务,
bAccessary AS 是否成套件, bAccessary AS 是否成套件,
iTaxRate AS TaxRate, iTaxRate AS TaxRate,
@@ -176,7 +176,7 @@ namespace NX.ERP.U8
iQTMethod AS 质量检验方案, iQTMethod AS 质量检验方案,
PictureGUID AS 图片GUID, PictureGUID AS 图片GUID,
bPlanInv AS 是否计划品, bPlanInv AS 是否计划品,
bProxyForeign AS 是否委外, bProxyForeign AS ProxyForeign,
bATOModel AS 是否ATO模型, bATOModel AS 是否ATO模型,
bCheckItem AS 是否选项类, bCheckItem AS 是否选项类,
bPTOModel AS 是否PTO模型, bPTOModel AS 是否PTO模型,