Merge branch 'master' of https://gitee.com/frane-yang/SGGL_SeDin_New
This commit is contained in:
@@ -20,12 +20,12 @@
|
||||
OnSelectedIndexChanged="btSearch_Click" Width="500px"
|
||||
EmptyText="请选择项目" EnableEdit="true">
|
||||
</f:DropDownList>
|
||||
<f:DatePicker runat="server" DateFormatString="yyyy-MM-dd" EmptyText="开始日期"
|
||||
<%-- <f:DatePicker runat="server" DateFormatString="yyyy-MM-dd" EmptyText="开始日期"
|
||||
ID="txtStartTime" EnableEdit="false" Hidden="true">
|
||||
</f:DatePicker>
|
||||
<f:DatePicker runat="server" DateFormatString="yyyy-MM-dd" EmptyText="结束日期"
|
||||
ID="txtEndTime" EnableEdit="false" Hidden="true">
|
||||
</f:DatePicker>
|
||||
</f:DatePicker>--%>
|
||||
<f:ToolbarFill ID="ToolbarFill2" runat="server">
|
||||
</f:ToolbarFill>
|
||||
<f:Button ID="btSearch" Text="查询" Icon="SystemSearch" runat="server" OnClick="btSearch_Click"></f:Button>
|
||||
@@ -54,7 +54,7 @@
|
||||
FieldType="String" HeaderText="项目名称" HeaderTextAlign="Center" TextAlign="Left">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="150px" ColumnID="Count1" DataField="Count1"
|
||||
FieldType="Int" HeaderText="项目总体毛利" HeaderTextAlign="Center" TextAlign="Right">
|
||||
FieldType="String" HeaderText="项目总体毛利" HeaderTextAlign="Center" TextAlign="Right">
|
||||
</f:RenderField>
|
||||
</Columns>
|
||||
<PageItems>
|
||||
|
||||
@@ -33,8 +33,7 @@ namespace FineUIPro.Web.DigData
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
var getData = HTGLDataDWService.getDataDWList( this.drpProject.SelectedValue,
|
||||
Funs.GetNewDateTime(this.txtStartTime.Text), Funs.GetNewDateTime(this.txtEndTime.Text),this.Grid1);
|
||||
var getData = HTGLDataDWService.getDataDWList( this.drpProject.SelectedValue,this.Grid1);
|
||||
Grid1.RecordCount = HTGLDataDWService.count;
|
||||
Grid1.DataSource = getData;
|
||||
Grid1.DataBind();
|
||||
|
||||
@@ -59,24 +59,6 @@ namespace FineUIPro.Web.DigData
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpProject;
|
||||
|
||||
/// <summary>
|
||||
/// txtStartTime 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker txtStartTime;
|
||||
|
||||
/// <summary>
|
||||
/// txtEndTime 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker txtEndTime;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill2 控件。
|
||||
/// </summary>
|
||||
|
||||
@@ -110,17 +110,17 @@
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:Label ID="Label4" runat="server" Label="合同签约价">
|
||||
<f:Label ID="lbContractAmount" runat="server" Label="合同签约价">
|
||||
</f:Label>
|
||||
<f:Label ID="Label1" runat="server" Label="概算">
|
||||
<f:Label ID="lbEstimatedAmount" runat="server" Label="概算">
|
||||
</f:Label>
|
||||
<f:Label ID="Label11" runat="server" Label="单合同毛利">
|
||||
</f:Label>
|
||||
<f:Label ID="Label6" runat="server" Label="项目总体毛利">
|
||||
<%-- <f:Label ID="Label11" runat="server" Label="单合同毛利">
|
||||
</f:Label>--%>
|
||||
<f:Label ID="lbTotalProfit" runat="server" Label="项目总体毛利">
|
||||
</f:Label>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<f:FormRow Hidden="true">
|
||||
<Items>
|
||||
<f:Label ID="Label12" runat="server" Label="合同进度百分比">
|
||||
</f:Label>
|
||||
@@ -132,7 +132,7 @@
|
||||
</f:Label>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<f:FormRow Hidden="true">
|
||||
<Items>
|
||||
<f:Label ID="Label16" runat="server" Label="合同签证率">
|
||||
</f:Label>
|
||||
@@ -144,6 +144,29 @@
|
||||
</f:Label>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="合同"
|
||||
runat="server" BoxFlex="1" DataKeyNames="ProjectId" DataIDField="ProjectId" ForceFit="true"
|
||||
AllowSorting="true" SortField="DropMainContractCode" SortDirection="DESC"
|
||||
EnableColumnLines="true" AllowPaging="false" PageSize="100" EnableTextSelection="True">
|
||||
<Columns>
|
||||
<f:TemplateField ColumnID="tfNumber" Width="55px" HeaderText="序号" HeaderTextAlign="Center" TextAlign="Center"
|
||||
EnableLock="true" Locked="False">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="labNumber" runat="server" Text='<%# Grid1.PageIndex * Grid1.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</f:TemplateField>
|
||||
<f:RenderField Width="120px" ColumnID="DropMainContractCode" DataField="DropMainContractCode"
|
||||
FieldType="String" HeaderText="合同号" HeaderTextAlign="Center" TextAlign="Left">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="150px" ColumnID="Count1" DataField="Count1"
|
||||
FieldType="String" HeaderText="单合同毛利" HeaderTextAlign="Center" TextAlign="Right">
|
||||
</f:RenderField>
|
||||
</Columns>
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
</Items>
|
||||
|
||||
@@ -116,6 +116,26 @@ namespace FineUIPro.Web.DigData
|
||||
if (item == "HTGL")
|
||||
{
|
||||
this.gpHTGL.Hidden = false;
|
||||
decimal contractAmount = 0;
|
||||
var getContract = Funs.DB.PHTGL_Contract.Where(x => x.ProjectId == this.ProjectId);
|
||||
if (getContract.Count() > 0)
|
||||
{
|
||||
contractAmount = getContract.Sum(x => x.ContractAmount ?? 0);
|
||||
}
|
||||
this.lbContractAmount.Text = contractAmount.ToString();
|
||||
|
||||
decimal estimatedAmount = 0;
|
||||
var getContractTrack = Funs.DB.PHTGL_ContractTrack.Where(x => x.ProjectId == this.ProjectId);
|
||||
if (getContractTrack.Count() > 0)
|
||||
{
|
||||
estimatedAmount = getContractTrack.Sum(x => x.EstimatedAmount ?? 0);
|
||||
|
||||
}
|
||||
this.lbEstimatedAmount.Text= estimatedAmount.ToString();
|
||||
|
||||
this.lbTotalProfit.Text = estimatedAmount > 0 ? Math.Round(contractAmount / estimatedAmount ).ToString() + "%" : "0%";
|
||||
|
||||
|
||||
}
|
||||
if (item == "LW")
|
||||
{
|
||||
|
||||
+24
-15
@@ -240,40 +240,31 @@ namespace FineUIPro.Web.DigData
|
||||
protected global::FineUIPro.Form Form4;
|
||||
|
||||
/// <summary>
|
||||
/// Label4 控件。
|
||||
/// lbContractAmount 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Label Label4;
|
||||
protected global::FineUIPro.Label lbContractAmount;
|
||||
|
||||
/// <summary>
|
||||
/// Label1 控件。
|
||||
/// lbEstimatedAmount 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Label Label1;
|
||||
protected global::FineUIPro.Label lbEstimatedAmount;
|
||||
|
||||
/// <summary>
|
||||
/// Label11 控件。
|
||||
/// lbTotalProfit 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Label Label11;
|
||||
|
||||
/// <summary>
|
||||
/// Label6 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Label Label6;
|
||||
protected global::FineUIPro.Label lbTotalProfit;
|
||||
|
||||
/// <summary>
|
||||
/// Label12 控件。
|
||||
@@ -347,6 +338,24 @@ namespace FineUIPro.Web.DigData
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Label Label19;
|
||||
|
||||
/// <summary>
|
||||
/// Grid1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid Grid1;
|
||||
|
||||
/// <summary>
|
||||
/// labNumber 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label labNumber;
|
||||
|
||||
/// <summary>
|
||||
/// gpLW 控件。
|
||||
/// </summary>
|
||||
|
||||
@@ -1,284 +0,0 @@
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:ArgumentNullException
|
||||
错误信息:值不能为 null。
|
||||
参数名: text
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.SqlClient.SqlHelpers.GetStringContainsPattern(String text, Char escape, Boolean& usedEscapeChar)
|
||||
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.TranslateStringMethod(SqlMethodCall mc)
|
||||
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitMethodCall(SqlMethodCall mc)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitExpression(SqlExpression exp)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitBinaryOperator(SqlBinary bo)
|
||||
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitBinaryOperator(SqlBinary bo)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitExpression(SqlExpression exp)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitSelectCore(SqlSelect select)
|
||||
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitSelect(SqlSelect select)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitAlias(SqlAlias a)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitSource(SqlSource source)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitSelectCore(SqlSelect select)
|
||||
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitSelect(SqlSelect select)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitAlias(SqlAlias a)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitSource(SqlSource source)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitSelectCore(SqlSelect select)
|
||||
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitSelect(SqlSelect select)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
|
||||
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Convert(SqlNode node, SqlFactory sql, ProviderMode providerMode)
|
||||
在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(ResultShape resultShape, Type resultType, SqlNode node, ReadOnlyCollection`1 parentParameters, SqlNodeAnnotations annotations)
|
||||
在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(Expression query, SqlNodeAnnotations annotations)
|
||||
在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
|
||||
在 System.Data.Linq.DataQuery`1.System.Linq.IQueryProvider.Execute[S](Expression expression)
|
||||
在 System.Linq.Queryable.Count[TSource](IQueryable`1 source)
|
||||
在 BLL.WBSAnalysisService.getWBSExpertArgumentCount(String projectId, String workPackageId) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\BLL\DigData\WBSAnalysisService.cs:行号 117
|
||||
在 lambda_method(Closure , WBS_WorkPackage )
|
||||
在 System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
|
||||
在 (IEnumerator )
|
||||
在 FineUIPro.Grid.CRTRkdQFrrBRFQuCddjZPswlTORP(IEnumerable , Boolean )
|
||||
在 (Grid , IEnumerable , Boolean )
|
||||
在 FineUIPro.Grid.DataBind(Boolean keepCurrentData)
|
||||
在 (Grid , Boolean )
|
||||
在 FineUIPro.Grid.DataBind()
|
||||
在 FineUIPro.Web.DigData.ProjectWBSAnalysis.BindGrid() 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\FineUIPro.Web\DigData\ProjectWBSAnalysis.aspx.cs:行号 58
|
||||
在 FineUIPro.Web.DigData.ProjectWBSAnalysis.changeTree(Object sender, EventArgs e) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\FineUIPro.Web\DigData\ProjectWBSAnalysis.aspx.cs:行号 46
|
||||
在 FineUIPro.Web.Controls.ProjectWBSControl.trWBS_NodeCommand(Object sender, TreeCommandEventArgs e) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\FineUIPro.Web\Controls\ProjectWBSControl.ascx.cs:行号 78
|
||||
在 FineUIPro.Tree.OnNodeCommand(TreeCommandEventArgs e)
|
||||
在 (Tree , TreeCommandEventArgs )
|
||||
在 FineUIPro.Tree.RaisePostBackEvent(String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:09/25/2023 09:52:02
|
||||
出错文件:http://localhost:2325/DigData/ProjectWBSAnalysis.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:09/25/2023 09:52:02
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:IOException
|
||||
错误信息:句柄无效。
|
||||
|
||||
错误堆栈:
|
||||
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
|
||||
在 System.IO.__Error.WinIOError()
|
||||
在 System.Threading.EventWaitHandle.Set()
|
||||
在 System.Net.TimerThread.Prod()
|
||||
在 System.Net.TimerThread.TimerQueue.CreateTimer(Callback callback, Object context)
|
||||
在 System.Net.HttpWebRequest.SubmitRequest(ServicePoint servicePoint)
|
||||
在 System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
|
||||
在 System.Net.HttpWebRequest.GetRequestStream()
|
||||
在 Microsoft.WebTools.BrowserLink.Runtime.Tracing.DataDispatchExecutionListener.Initialize(HttpWebRequest request)
|
||||
在 Microsoft.WebTools.BrowserLink.Runtime.Tracing.PageInspectorHttpModule.OnPreRequestHandlerExecute(Object sender, EventArgs e)
|
||||
在 System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
|
||||
在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
|
||||
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
|
||||
出错时间:09/25/2023 09:53:44
|
||||
出错文件:http://localhost:2325/indexProject.aspx?projectId=7b691ed0-6bad-468f-9e54-f0f5ba4df21f
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:09/25/2023 09:53:45
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:ArgumentNullException
|
||||
错误信息:值不能为 null。
|
||||
参数名: text
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.SqlClient.SqlHelpers.GetStringContainsPattern(String text, Char escape, Boolean& usedEscapeChar)
|
||||
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.TranslateStringMethod(SqlMethodCall mc)
|
||||
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitMethodCall(SqlMethodCall mc)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitExpression(SqlExpression exp)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitBinaryOperator(SqlBinary bo)
|
||||
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitBinaryOperator(SqlBinary bo)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitExpression(SqlExpression exp)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitSelectCore(SqlSelect select)
|
||||
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitSelect(SqlSelect select)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitAlias(SqlAlias a)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitSource(SqlSource source)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitSelectCore(SqlSelect select)
|
||||
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitSelect(SqlSelect select)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitAlias(SqlAlias a)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitSource(SqlSource source)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitSelectCore(SqlSelect select)
|
||||
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitSelect(SqlSelect select)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
|
||||
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Convert(SqlNode node, SqlFactory sql, ProviderMode providerMode)
|
||||
在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(ResultShape resultShape, Type resultType, SqlNode node, ReadOnlyCollection`1 parentParameters, SqlNodeAnnotations annotations)
|
||||
在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(Expression query, SqlNodeAnnotations annotations)
|
||||
在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
|
||||
在 System.Data.Linq.DataQuery`1.System.Linq.IQueryProvider.Execute[S](Expression expression)
|
||||
在 System.Linq.Queryable.Count[TSource](IQueryable`1 source)
|
||||
在 BLL.WBSAnalysisService.getWBSExpertArgumentCount(String projectId, String workPackageId) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\BLL\DigData\WBSAnalysisService.cs:行号 114
|
||||
在 lambda_method(Closure , WBS_WorkPackage )
|
||||
在 System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
|
||||
在 (IEnumerator )
|
||||
在 FineUIPro.Grid.CRTRkdQFrrBRFQuCddjZPswlTORP(IEnumerable , Boolean )
|
||||
在 (Grid , IEnumerable , Boolean )
|
||||
在 FineUIPro.Grid.DataBind(Boolean keepCurrentData)
|
||||
在 (Grid , Boolean )
|
||||
在 FineUIPro.Grid.DataBind()
|
||||
在 FineUIPro.Web.DigData.ProjectWBSAnalysis.BindGrid() 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\FineUIPro.Web\DigData\ProjectWBSAnalysis.aspx.cs:行号 58
|
||||
在 FineUIPro.Web.DigData.ProjectWBSAnalysis.changeTree(Object sender, EventArgs e) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\FineUIPro.Web\DigData\ProjectWBSAnalysis.aspx.cs:行号 46
|
||||
在 FineUIPro.Web.Controls.ProjectWBSControl.trWBS_NodeCommand(Object sender, TreeCommandEventArgs e) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\FineUIPro.Web\Controls\ProjectWBSControl.ascx.cs:行号 78
|
||||
在 FineUIPro.Tree.OnNodeCommand(TreeCommandEventArgs e)
|
||||
在 (Tree , TreeCommandEventArgs )
|
||||
在 FineUIPro.Tree.RaisePostBackEvent(String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:09/25/2023 09:57:30
|
||||
出错文件:http://localhost:2325/DigData/ProjectWBSAnalysis.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:09/25/2023 09:57:30
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:ArgumentNullException
|
||||
错误信息:值不能为 null。
|
||||
参数名: text
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.SqlClient.SqlHelpers.GetStringContainsPattern(String text, Char escape, Boolean& usedEscapeChar)
|
||||
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.TranslateStringMethod(SqlMethodCall mc)
|
||||
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitMethodCall(SqlMethodCall mc)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitExpression(SqlExpression exp)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitBinaryOperator(SqlBinary bo)
|
||||
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitBinaryOperator(SqlBinary bo)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitExpression(SqlExpression exp)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitSelectCore(SqlSelect select)
|
||||
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitSelect(SqlSelect select)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitAlias(SqlAlias a)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitSource(SqlSource source)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitSelectCore(SqlSelect select)
|
||||
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitSelect(SqlSelect select)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitAlias(SqlAlias a)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitSource(SqlSource source)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.VisitSelectCore(SqlSelect select)
|
||||
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitSelect(SqlSelect select)
|
||||
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
|
||||
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Convert(SqlNode node, SqlFactory sql, ProviderMode providerMode)
|
||||
在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(ResultShape resultShape, Type resultType, SqlNode node, ReadOnlyCollection`1 parentParameters, SqlNodeAnnotations annotations)
|
||||
在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(Expression query, SqlNodeAnnotations annotations)
|
||||
在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
|
||||
在 System.Data.Linq.DataQuery`1.System.Linq.IQueryProvider.Execute[S](Expression expression)
|
||||
在 System.Linq.Queryable.Count[TSource](IQueryable`1 source)
|
||||
在 BLL.WBSAnalysisService.getWBSExpertArgumentCount(String projectId, String workPackageId) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\BLL\DigData\WBSAnalysisService.cs:行号 114
|
||||
在 lambda_method(Closure , WBS_WorkPackage )
|
||||
在 System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
|
||||
在 (IEnumerator )
|
||||
在 FineUIPro.Grid.CRTRkdQFrrBRFQuCddjZPswlTORP(IEnumerable , Boolean )
|
||||
在 (Grid , IEnumerable , Boolean )
|
||||
在 FineUIPro.Grid.DataBind(Boolean keepCurrentData)
|
||||
在 (Grid , Boolean )
|
||||
在 FineUIPro.Grid.DataBind()
|
||||
在 FineUIPro.Web.DigData.ProjectWBSAnalysis.BindGrid() 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\FineUIPro.Web\DigData\ProjectWBSAnalysis.aspx.cs:行号 58
|
||||
在 FineUIPro.Web.DigData.ProjectWBSAnalysis.changeTree(Object sender, EventArgs e) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\FineUIPro.Web\DigData\ProjectWBSAnalysis.aspx.cs:行号 46
|
||||
在 FineUIPro.Web.Controls.ProjectWBSControl.trWBS_NodeCommand(Object sender, TreeCommandEventArgs e) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\FineUIPro.Web\Controls\ProjectWBSControl.ascx.cs:行号 78
|
||||
在 FineUIPro.Tree.OnNodeCommand(TreeCommandEventArgs e)
|
||||
在 (Tree , TreeCommandEventArgs )
|
||||
在 FineUIPro.Tree.RaisePostBackEvent(String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:09/25/2023 10:02:17
|
||||
出错文件:http://localhost:2325/DigData/ProjectWBSAnalysis.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:09/25/2023 10:02:17
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:NullReferenceException
|
||||
错误信息:未将对象引用设置到对象的实例。
|
||||
错误堆栈:
|
||||
在 (TreeNode )
|
||||
在 FineUIPro.TreeCommandEventArgs..ctor(TreeNode node, String commandName, String commandArgument)
|
||||
在 (TreeNode , String , String )
|
||||
在 FineUIPro.Tree.RaisePostBackEvent(String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:09/25/2023 10:05:00
|
||||
出错文件:http://localhost:2325/DigData/ProjectWBSAnalysis.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:09/25/2023 10:05:00
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:NullReferenceException
|
||||
错误信息:未将对象引用设置到对象的实例。
|
||||
错误堆栈:
|
||||
在 (TreeNode )
|
||||
在 FineUIPro.TreeCommandEventArgs..ctor(TreeNode node, String commandName, String commandArgument)
|
||||
在 (TreeNode , String , String )
|
||||
在 FineUIPro.Tree.RaisePostBackEvent(String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:09/25/2023 10:05:02
|
||||
出错文件:http://localhost:2325/DigData/ProjectWBSAnalysis.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:09/25/2023 10:05:02
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:NullReferenceException
|
||||
错误信息:未将对象引用设置到对象的实例。
|
||||
错误堆栈:
|
||||
在 FineUIPro.Web.indexProject.MenuSwitchMethod(String type) 位置 E:\工作\赛鼎施工平台\SGGL_SeDin(New)\SGGL_SeDin_New\SGGL\FineUIPro.Web\indexProject.aspx.cs:行号 595
|
||||
在 FineUIPro.Web.indexProject.btnPHTGL_Click(Object sender, EventArgs e) 位置 E:\工作\赛鼎施工平台\SGGL_SeDin(New)\SGGL_SeDin_New\SGGL\FineUIPro.Web\indexProject.aspx.cs:行号 697
|
||||
在 FineUIPro.Button.OnClick(EventArgs e)
|
||||
在 (Button , EventArgs )
|
||||
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:09/26/2023 16:04:25
|
||||
出错文件:http://localhost:2325/indexProject.aspx?projectId=7b691ed0-6bad-468f-9e54-f0f5ba4df21f
|
||||
IP地址:::1
|
||||
|
||||
出错时间:09/26/2023 16:04:25
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidCastException
|
||||
错误信息:无法将类型为“FineUIPro.RenderField”的对象强制转换为类型“FineUIPro.GroupField”。
|
||||
错误堆栈:
|
||||
在 FineUIPro.Web.PZHGL.InformationProject.ConstructionLogWorkEfficiency.Page_Load(Object sender, EventArgs e) 位置 E:\工作\赛鼎施工平台\SGGL_SeDin(New)\SGGL_SeDin_New\SGGL\FineUIPro.Web\PZHGL\InformationProject\ConstructionLogWorkEfficiency.aspx.cs:行号 141
|
||||
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||
在 System.EventHandler.Invoke(Object sender, EventArgs e)
|
||||
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||
在 System.Web.UI.Control.LoadRecursive()
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:09/28/2023 09:26:08
|
||||
出错文件:http://localhost:2325/PZHGL/InformationProject/ConstructionLogWorkEfficiency.aspx?ConstructionLogId=09043ee7-93ec-4705-93bb-d49b44148d3c&contractNo=03348581-d016-4ee8-b5a7-d61ace761c3c,23a86756-402f-4c77-a452-b36231bb7b4f&professional=0,1&WorkPostId=41EF8B02-2852-495E-A2BE-2EF19BA70A4F,2E71A650-6D40-459A-AAC1-5FB5E00D247C,558124BF-B678-48EB-B7DB-22211951747B&MachineId=0cefba88-c16a-4508-a642-1ffb079dbf58,5d6ccd22-5072-4bbd-847e-e1b7c06adc3b,f29fa0ad-b834-4198-a543-8e3deef0d340
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:09/28/2023 09:26:08
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
<f:RenderField Width="120px" ColumnID="ContactPhone" DataField="ContactPhone" FieldType="String"
|
||||
HeaderText="联系人电话" HeaderTextAlign="Center" TextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="120px" ColumnID="PersonName" DataField="PersonName" FieldType="String"
|
||||
<f:RenderField Width="120px" ColumnID="ReceiveMan" DataField="ReceiveMan" FieldType="String"
|
||||
HeaderText="接收人" HeaderTextAlign="Center" TextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="120px" ColumnID="ReceiveDate" DataField="ReceiveDate" FieldType="String"
|
||||
|
||||
@@ -14,6 +14,10 @@
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Right">
|
||||
<Items>
|
||||
<f:Button ID="btnAttachUrl" Text="详情" ToolTip="附件上传及查看" Icon="TableCell" runat="server"
|
||||
OnClick="btnAttachUrl_Click" ValidateForms="SimpleForm1">
|
||||
</f:Button>
|
||||
<f:ToolbarFill runat="server"/>
|
||||
<f:Button ID="btnSave" Icon="SystemSave" runat="server" ValidateForms="SimpForm" OnClick="btnSave_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
@@ -185,6 +189,10 @@
|
||||
EnableMaximize="true" Target="Top" EnableResize="false" runat="server"
|
||||
IsModal="true" Width="1200px" Height="620px" OnClose="Window1_Close">
|
||||
</f:Window>
|
||||
<f:Window ID="WindowAtt" Title="附件" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
|
||||
Height="500px">
|
||||
</f:Window>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using BLL;
|
||||
using FineUIPro.Web.HSSE.Meeting;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -22,7 +23,18 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
ViewState["PipelineId"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
public string WeldJointId
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["WeldJointId"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["WeldJointId"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
@@ -52,7 +64,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
this.drpDetectionTypeId.DataTextField = "DetectionTypeCode";
|
||||
//Funs.FineUIPleaseSelect(this.drpDetectionTypeId);
|
||||
string flag = Request.Params["flag"];
|
||||
string weldJointId = Request.Params["WeldJointId"];
|
||||
WeldJointId = Request.Params["WeldJointId"];
|
||||
string isTwoJoint = Request.Params["IsTwoJoint"];
|
||||
|
||||
|
||||
@@ -66,9 +78,9 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
GroupPanel2.Hidden = true;
|
||||
IsReadOnly(false);
|
||||
}
|
||||
if (!string.IsNullOrEmpty(weldJointId))
|
||||
if (!string.IsNullOrEmpty(WeldJointId))
|
||||
{
|
||||
Model.HJGL_WeldJoint joint = BLL.WeldJointService.GetWeldJointByWeldJointId(weldJointId);
|
||||
Model.HJGL_WeldJoint joint = BLL.WeldJointService.GetWeldJointByWeldJointId(WeldJointId);
|
||||
Model.WPQ_WPQList list = BLL.WPQListServiceService.GetWPQById(joint.WPQId);
|
||||
this.txtWpqId.Text = joint.WPQId;
|
||||
|
||||
@@ -82,7 +94,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
}
|
||||
if (Request.Params["Type"] == "add") //插入焊口
|
||||
{
|
||||
var baseWeldJoints = BLL.WeldJointService.GetBaseWeldJointsByWeldJointId(weldJointId);
|
||||
var baseWeldJoints = BLL.WeldJointService.GetBaseWeldJointsByWeldJointId(WeldJointId);
|
||||
this.txtWeldJointCode.Text = joint.WeldJointCode + "Z-" + (baseWeldJoints.Count + 1).ToString();
|
||||
}
|
||||
else
|
||||
@@ -287,7 +299,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
weldJointCode = this.txtWeldJointCode.Text;
|
||||
}
|
||||
|
||||
if (BLL.WeldJointService.IsExistWeldJointCode(weldJointCode, this.PipelineId, Request.Params["WeldJointId"]))
|
||||
if (BLL.WeldJointService.IsExistWeldJointCode(weldJointCode, this.PipelineId, WeldJointId))
|
||||
{
|
||||
Alert.ShowInTop("该管线焊口已存在!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
@@ -318,7 +330,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
return;
|
||||
}
|
||||
Model.HJGL_WeldJoint joint = new Model.HJGL_WeldJoint();
|
||||
string weldJointId = Request.Params["WeldJointId"];
|
||||
string weldJointId = WeldJointId;
|
||||
joint.PipelineId = this.PipelineId;
|
||||
joint.PipelineCode = txtPipelineCode.Text.Trim();
|
||||
joint.ProjectId = this.CurrUser.LoginProjectId;
|
||||
@@ -435,6 +447,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
string newId = SQLHelper.GetNewID(typeof(Model.HJGL_WeldJoint));
|
||||
joint.WeldJointId = newId;
|
||||
joint.BaseWeldJointId = weldJointId;
|
||||
WeldJointId = joint.WeldJointId;
|
||||
BLL.WeldJointService.AddWeldJoint(joint);
|
||||
}
|
||||
}
|
||||
@@ -442,6 +455,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
{
|
||||
string newId = SQLHelper.GetNewID(typeof(Model.HJGL_WeldJoint));
|
||||
joint.WeldJointId = newId;
|
||||
WeldJointId = joint.WeldJointId;
|
||||
if (Request.Params["IsTwoJoint"] == "1")
|
||||
{
|
||||
joint.IsTwoJoint = true;
|
||||
@@ -854,5 +868,14 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
protected void btnAttachUrl_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrEmpty(this.WeldJointId))
|
||||
{
|
||||
SaveData();
|
||||
}
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/WeldJoint&menuId={1}", WeldJointId, BLL.Const.HJGL_WeldJointMenuId)));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -50,6 +50,15 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar1;
|
||||
|
||||
/// <summary>
|
||||
/// btnAttachUrl 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnAttachUrl;
|
||||
|
||||
/// <summary>
|
||||
/// btnSave 控件。
|
||||
/// </summary>
|
||||
@@ -382,5 +391,14 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window1;
|
||||
|
||||
/// <summary>
|
||||
/// WindowAtt 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window WindowAtt;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -182,6 +182,7 @@ namespace FineUIPro.Web.HSSE.CostGoods
|
||||
orderby y.Year, x.SupSortIndex, x.SortIndex
|
||||
select new { x.ExpenseDetailId, x.ExpenseId, y.Year, x.SupCostTypeId, x.SupCostTypeName, x.SupSortIndex, x.CostType, x.CostTypeName, x.SortIndex, x.CostMoney };
|
||||
var getType = (from x in getDetail select new { x.SupSortIndex, x.SortIndex, x.CostType }).Distinct();
|
||||
int j = 1;
|
||||
foreach (var item in getType)
|
||||
{
|
||||
var getD = getDetail.FirstOrDefault(x => x.CostType == item.CostType);
|
||||
@@ -208,8 +209,30 @@ namespace FineUIPro.Web.HSSE.CostGoods
|
||||
}
|
||||
row[r] = getDetail.Where(x => x.CostType == item.CostType).Sum(x => x.CostMoney ?? 0);
|
||||
table.Rows.Add(row);
|
||||
j = r + 1;
|
||||
}
|
||||
}
|
||||
|
||||
DataRow rowSum = table.NewRow();
|
||||
rowSum[0] = SQLHelper.GetNewID();
|
||||
rowSum[1] = "";
|
||||
rowSum[2] = "合计";
|
||||
int rSum = 3;
|
||||
for (int i = 0; sDate + i <= eDate; i++)
|
||||
{
|
||||
var getV = getDetail.Where(x => x.Year == sDate + i );
|
||||
if (getV.Count() > 0)
|
||||
{
|
||||
rowSum[rSum] = getV.Sum(x => x.CostMoney ?? 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
rowSum[rSum] = 0.00;
|
||||
}
|
||||
|
||||
rSum = rSum + 1;
|
||||
}
|
||||
table.Rows.Add(rowSum);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
<Items>
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" EnableCollapse="true"
|
||||
runat="server" BoxFlex="1" DataKeyNames="Id" AllowCellEditing="true"
|
||||
ClicksToEdit="2" DataIDField="Id" AllowSorting="true" SortField="Id"
|
||||
ClicksToEdit="2" DataIDField="Id" AllowSorting="true" SortField="SerialNumber"
|
||||
SortDirection="DESC" OnSort="Grid1_Sort" EnableColumnLines="true"
|
||||
AllowPaging="true" IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange" EnableTextSelection="true"
|
||||
EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick">
|
||||
@@ -66,7 +66,9 @@
|
||||
<asp:Label ID="lblNumber" runat="server" Text='<%# Grid1.PageIndex * Grid1.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</f:TemplateField>
|
||||
|
||||
<f:RenderField Width="150px" ColumnID="SerialNumber" DataField="SerialNumber" SortField="SerialNumber"
|
||||
FieldType="String" HeaderText="序号" TextAlign="Left" HeaderTextAlign="Center" >
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="150px" ColumnID="Major" DataField="Major" SortField="Major" Hidden="True"
|
||||
FieldType="String" HeaderText="专业" TextAlign="Left" HeaderTextAlign="Center" >
|
||||
</f:RenderField>
|
||||
|
||||
Reference in New Issue
Block a user