2023-11-06

This commit is contained in:
2023-11-06 11:00:06 +08:00
parent 2d50250b72
commit 1b7463957c
2 changed files with 8 additions and 5 deletions
@@ -101,8 +101,11 @@ namespace FineUIPro.Web.PHTGL.ContractCompile
protected void Grid1_RowDataBound(object sender, GridRowEventArgs e)
{
try
{
var model = (Model.PHTGL_ContractTrack)e.DataItem;
{
string Id =e.DataItem.GetType().GetProperty("Id").GetValue(e.DataItem).ToString();
var model = PhtglContractTrackService.GetPHTGL_ContractTrackById(Id);
// 工程量偏差
decimal? QuantityOffset = Funs.GetNewDecimalOrZero(model.EstimatedQuantity) -
Funs.GetNewDecimalOrZero(model.SettledQuantity);