代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -1,14 +1,8 @@
|
||||
using BLL;
|
||||
using Model;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.PHTGL.ContractCompile
|
||||
{
|
||||
@@ -101,11 +95,11 @@ namespace FineUIPro.Web.PHTGL.ContractCompile
|
||||
protected void Grid1_RowDataBound(object sender, GridRowEventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
string Id =e.DataItem.GetType().GetProperty("Id").GetValue(e.DataItem).ToString();
|
||||
{
|
||||
|
||||
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);
|
||||
@@ -126,9 +120,9 @@ namespace FineUIPro.Web.PHTGL.ContractCompile
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -254,7 +248,7 @@ namespace FineUIPro.Web.PHTGL.ContractCompile
|
||||
model.ProjectDescription = ProjectDescription;
|
||||
model.UnitOfMeasurement = UnitOfMeasurement;
|
||||
model.Quantity = Quantity;
|
||||
model.TotalCostFixedComprehensiveUnitPrice = Funs.GetNewDecimalOrZero( TotalCostFixedComprehensiveUnitPrice);
|
||||
model.TotalCostFixedComprehensiveUnitPrice = Funs.GetNewDecimalOrZero(TotalCostFixedComprehensiveUnitPrice);
|
||||
model.MainMaterialCost = Funs.GetNewDecimalOrZero(MainMaterialCost);
|
||||
model.TotalPrice = Funs.GetNewDecimalOrZero(TotalPrice);
|
||||
model.CalculationRule = CalculationRule;
|
||||
@@ -267,7 +261,7 @@ namespace FineUIPro.Web.PHTGL.ContractCompile
|
||||
model.EstimatedQuantity = EstimatedQuantity;
|
||||
model.EstimatedAmount = Funs.GetNewDecimal(EstimatedAmount);
|
||||
model.SettledQuantity = SettledQuantity;
|
||||
model.SettledAmount = Funs.GetNewDecimalOrZero(SettledQuantity)* Funs.GetNewDecimalOrZero(TotalCostFixedComprehensiveUnitPrice);
|
||||
model.SettledAmount = Funs.GetNewDecimalOrZero(SettledQuantity) * Funs.GetNewDecimalOrZero(TotalCostFixedComprehensiveUnitPrice);
|
||||
|
||||
PhtglContractTrackService.UpdatePHTGL_ContractTrack(model);
|
||||
}
|
||||
@@ -280,7 +274,7 @@ namespace FineUIPro.Web.PHTGL.ContractCompile
|
||||
{
|
||||
ShowNotify("计算合同权重失败,请选择施工分包合同后重新保存", MessageBoxIcon.Question);
|
||||
}
|
||||
|
||||
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user