2023-11-06
This commit is contained in:
@@ -40,9 +40,9 @@
|
|||||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="合同执行跟踪表" EnableCollapse="true"
|
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="合同执行跟踪表" EnableCollapse="true"
|
||||||
runat="server" BoxFlex="1" DataKeyNames="Id" AllowCellEditing="true"
|
runat="server" BoxFlex="1" DataKeyNames="Id" AllowCellEditing="true"
|
||||||
ClicksToEdit="1" DataIDField="Id" AllowSorting="true" SortField="Id"
|
ClicksToEdit="1" DataIDField="Id" AllowSorting="true" SortField="Id"
|
||||||
SortDirection="DESC" OnSort="Grid1_Sort" EnableColumnLines="true"
|
SortDirection="DESC" OnSort="Grid1_Sort" EnableColumnLines="true" OnRowDataBound="Grid1_RowDataBound" IsFluid="True"
|
||||||
AllowPaging="True" IsDatabasePaging="true" PageSize="500" OnPageIndexChange="Grid1_PageIndexChange"
|
AllowPaging="true" IsDatabasePaging="true" PageSize="500" OnPageIndexChange="Grid1_PageIndexChange"
|
||||||
EnableRowDoubleClickEvent="true" EnableRowClickEvent="True">
|
EnableRowDoubleClickEvent="true" >
|
||||||
<Toolbars>
|
<Toolbars>
|
||||||
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Right">
|
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Right">
|
||||||
<Items>
|
<Items>
|
||||||
|
|||||||
@@ -102,7 +102,10 @@ namespace FineUIPro.Web.PHTGL.ContractCompile
|
|||||||
{
|
{
|
||||||
try
|
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) -
|
decimal? QuantityOffset = Funs.GetNewDecimalOrZero(model.EstimatedQuantity) -
|
||||||
Funs.GetNewDecimalOrZero(model.SettledQuantity);
|
Funs.GetNewDecimalOrZero(model.SettledQuantity);
|
||||||
|
|||||||
Reference in New Issue
Block a user