Commit 94929c57 authored by liudong1993's avatar liudong1993

1

parent 9a4fb1de
......@@ -105,5 +105,10 @@ namespace Property.Model.Entity
get;
set;
}
/// <summary>
/// 账面单价 用于展示 不做计算的
/// </summary>
public decimal ShowUnit_Price { get; set; }
}
}
\ No newline at end of file
......@@ -978,6 +978,7 @@ namespace Property.WebApi.Controllers.User
x.Id,
x.Number,
x.Money,
x.ShowUnit_Price,
UnitPrice = x.Number == 0 ? 0 : Math.Round((x.Money ?? 0) / (x.Number ?? 1), 2, MidpointRounding.AwayFromZero),
SuppliesName = x.SModel.Name,
x.SuppliesId,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment