修改进度报表导出

This commit is contained in:
2023-06-30 09:01:01 +08:00
parent 2e4e6d7403
commit 74b11ca61a
8 changed files with 2044 additions and 89 deletions
@@ -84,7 +84,7 @@ namespace FineUIPro.Web.JDGL.WBS
DateTime months = Convert.ToDateTime(this.txtMonths.Text.Trim());
//if (this.rblStatisticsType.SelectedValue == "1")
//{
DataTable table = BLL.WorkloadStatisticsService.GetTreeDataTable(this.CurrUser.LoginProjectId, months, BLL.Const._Null, this.drpCnProfession.SelectedValue, this.drpUnitProject.SelectedValue, this.drpWbsSet.SelectedValue);
DataTable table = BLL.WorkloadStatisticsService.GetTreeDataTable(this.CurrUser.LoginProjectId, months, BLL.Const._Null, this.drpCnProfession.SelectedValue, this.drpUnitProject.SelectedValue, this.drpWbsSet.SelectedValue, this.txtEquipmentMaterialType.Text.Trim());
Grid1.DataSource = table;
Grid1.DataBind();
//}
@@ -142,7 +142,7 @@ namespace FineUIPro.Web.JDGL.WBS
ppsId = 3,
ppsName = "施工",
performanceDate = this.txtMonths.Text.Trim() + "-25",
pv = Math.Round((thisDetail.ThisPlanValue??0) / baseMoney,4),
pv = Math.Round((thisDetail.ThisPlanValue ?? 0) / baseMoney, 4),
ev = Math.Round((thisDetail.ThisPlanCost ?? 0) / baseMoney, 4),
ac = Math.Round((thisDetail.ThisRealCost ?? 0) / baseMoney, 4),
totalPv = Math.Round((thisDetail.TotalPlanValue ?? 0) / baseMoney, 4),
@@ -298,7 +298,7 @@ namespace FineUIPro.Web.JDGL.WBS
Response.Write(GetGridTableHtml2(Grid1));
Response.End();
DateTime months = Convert.ToDateTime(this.txtMonths.Text.Trim());
DataTable table = BLL.WorkloadStatisticsService.GetTreeDataTable(this.CurrUser.LoginProjectId, months, BLL.Const._Null, this.drpCnProfession.SelectedValue, this.drpUnitProject.SelectedValue, this.drpWbsSet.SelectedValue);
DataTable table = BLL.WorkloadStatisticsService.GetTreeDataTable(this.CurrUser.LoginProjectId, months, BLL.Const._Null, this.drpCnProfession.SelectedValue, this.drpUnitProject.SelectedValue, this.drpWbsSet.SelectedValue, this.txtEquipmentMaterialType.Text.Trim());
Grid1.DataSource = table;
Grid1.DataBind();
}