diff --git a/NX.ERP.Model/Response/Base/Materiel.cs b/NX.ERP.Model/Response/Base/Materiel.cs index 85d533a..c57ba5c 100644 --- a/NX.ERP.Model/Response/Base/Materiel.cs +++ b/NX.ERP.Model/Response/Base/Materiel.cs @@ -43,7 +43,7 @@ namespace NX.ERP.Model public decimal Height { get => height; set => height = value; } [Newtonsoft.Json.JsonIgnore] public int Volume { get => volume; set => volume = value; } - [Newtonsoft.Json.JsonIgnore] + public int Weight { get => weight; set => weight = value; } [Newtonsoft.Json.JsonIgnore] public double UnitPrice { get => unitPrice; set => unitPrice = value; } @@ -137,8 +137,15 @@ namespace NX.ERP.Model public bool IsSale { get; set; } public bool IsProducing { get; set; } + /// + /// 重量单位 + /// + public string WUnit { get; set; } - + /// + /// 毛重 + /// + public float GrossW { get; set; } } } diff --git a/NX.ERP.U8/Base/MaterielDAL.cs b/NX.ERP.U8/Base/MaterielDAL.cs index b8607db..40b9448 100644 --- a/NX.ERP.U8/Base/MaterielDAL.cs +++ b/NX.ERP.U8/Base/MaterielDAL.cs @@ -309,20 +309,13 @@ namespace NX.ERP.U8 iInvSPrice AS InvSPrice, iInvNCost AS InvNCost, - dSDate AS SDate, dEDate AS EDate, - - + cWUnit as WUnit, + fGrossW as GrossW, dModifyDate AS ModifyDate, - - - - - - - + bProxyForeign AS ProxyForeign, CONVERT(BIGINT,pubufts) as pubufts,