0923-gaofei
This commit is contained in:
@@ -8,6 +8,17 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>赢得值曲线</title>
|
||||
<link href="../../res/css/common.css" rel="stylesheet" type="text/css" />
|
||||
<style>
|
||||
.f-grid-row .f-grid-cell-inner {
|
||||
white-space: normal;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.f-grid-colheader-text {
|
||||
white-space: normal;
|
||||
word-break: break-all;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
@@ -32,23 +43,23 @@
|
||||
<f:RenderField Width="100px" ColumnID="月份" DataField="月份"
|
||||
FieldType="String" HeaderText="月份" HeaderTextAlign="Center" TextAlign="Left">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="150px" ColumnID="本月已完工作实际费用" DataField="本月已完工作实际费用"
|
||||
FieldType="Double" HeaderText="本月已完工作实际费用" HeaderTextAlign="Center" TextAlign="Left">
|
||||
<f:RenderField Width="150px" ColumnID="本月已完工作实际费用-ACWP" DataField="本月已完工作实际费用-ACWP"
|
||||
FieldType="Double" HeaderText="本月已完工作实际费用-ACWP" HeaderTextAlign="Center" TextAlign="Left">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="150px" ColumnID="累计已完工作实际费用" DataField="累计已完工作实际费用"
|
||||
FieldType="Double" HeaderText="累计已完工作实际费用" HeaderTextAlign="Center" TextAlign="Left">
|
||||
<f:RenderField Width="150px" ColumnID="累计已完工作实际费用-ACWP" DataField="累计已完工作实际费用-ACWP"
|
||||
FieldType="Double" HeaderText="累计已完工作实际费用-ACWP" HeaderTextAlign="Center" TextAlign="Left">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="150px" ColumnID="本月计划工作预算费用" DataField="本月计划工作预算费用"
|
||||
FieldType="Double" HeaderText="本月计划工作预算费用" HeaderTextAlign="Center" TextAlign="Left">
|
||||
<f:RenderField Width="150px" ColumnID="本月计划工作预算费用-BCWS" DataField="本月计划工作预算费用-BCWS"
|
||||
FieldType="Double" HeaderText="本月计划工作预算费用-BCWS" HeaderTextAlign="Center" TextAlign="Left">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="150px" ColumnID="累计计划工作预算费用" DataField="累计计划工作预算费用"
|
||||
FieldType="Double" HeaderText="累计计划工作预算费用" HeaderTextAlign="Center" TextAlign="Left">
|
||||
<f:RenderField Width="150px" ColumnID="累计计划工作预算费用-BCWS" DataField="累计计划工作预算费用-BCWS"
|
||||
FieldType="Double" HeaderText="累计计划工作预算费用-BCWS" HeaderTextAlign="Center" TextAlign="Left">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="150px" ColumnID="本月已完工作预算费用" DataField="本月已完工作预算费用"
|
||||
FieldType="Double" HeaderText="本月已完工作预算费用" HeaderTextAlign="Center" TextAlign="Left">
|
||||
<f:RenderField Width="150px" ColumnID="本月已完工作预算费用-BCWP" DataField="本月已完工作预算费用-BCWP"
|
||||
FieldType="Double" HeaderText="本月已完工作预算费用-BCWP" HeaderTextAlign="Center" TextAlign="Left">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="150px" ColumnID="累计已完工作预算费用" DataField="累计已完工作预算费用"
|
||||
FieldType="Double" HeaderText="累计已完工作预算费用" HeaderTextAlign="Center" TextAlign="Left">
|
||||
<f:RenderField Width="150px" ColumnID="累计已完工作预算费用-BCWP" DataField="累计已完工作预算费用-BCWP"
|
||||
FieldType="Double" HeaderText="累计已完工作预算费用-BCWP" HeaderTextAlign="Center" TextAlign="Left">
|
||||
</f:RenderField>
|
||||
</Columns>
|
||||
</f:Grid>
|
||||
|
||||
@@ -305,7 +305,7 @@ namespace FineUIPro.Web.JDGL.CostAnalysis
|
||||
if (costControl != null)
|
||||
{
|
||||
string strSql = "select distinct (cast(YEAR(Months) as varchar(4))+'.'+cast(MONTH(Months) as varchar(2))) as 月份,t.Months," +
|
||||
"ThisRealCost as 本月已完工作实际费用,ThisPlanCost as 本月已完工作预算费用,ThisPlanValue as 本月计划工作预算费用,TotalPlanValue as 累计计划工作预算费用,TotalRealCost as 累计已完工作实际费用,TotalPlanCost as 累计已完工作预算费用 " +
|
||||
"ThisRealCost as '本月已完工作实际费用-ACWP',ThisPlanCost as '本月已完工作预算费用-BCWP',ThisPlanValue as '本月计划工作预算费用-BCWS',TotalPlanValue as '累计计划工作预算费用-BCWS',TotalRealCost as '累计已完工作实际费用-ACWP',TotalPlanCost as '累计已完工作预算费用-BCWP' " +
|
||||
"from dbo.View_WBS_CostControlDetail as t where CostControlId=@Id order by t.Months";
|
||||
//string date = DateTime.Now.Year + "-" + DateTime.Now.Month + "-01";
|
||||
SqlParameter[] parameter = new SqlParameter[]
|
||||
@@ -321,7 +321,7 @@ namespace FineUIPro.Web.JDGL.CostAnalysis
|
||||
else
|
||||
{
|
||||
string strSql = "select distinct (cast(YEAR(Months) as varchar(4))+'.'+cast(MONTH(Months) as varchar(2))) as 月份,t.Months," +
|
||||
"ThisRealCost as 本月已完工作实际费用,ThisPlanCost as 本月已完工作预算费用,ThisPlanValue as 本月计划工作预算费用,TotalPlanValue as 累计计划工作预算费用,TotalRealCost as 累计已完工作实际费用,TotalPlanCost as 累计已完工作预算费用 " +
|
||||
"ThisRealCost as '本月已完工作实际费用-ACWP',ThisPlanCost as '本月已完工作预算费用-BCWP',ThisPlanValue as '本月计划工作预算费用-BCWS',TotalPlanValue as '累计计划工作预算费用-BCWS',TotalRealCost as '累计已完工作实际费用-ACWP',TotalPlanCost as '累计已完工作预算费用-BCWP' " +
|
||||
"from dbo.View_WBS_CostControlParentDetail as t where ParentId=@Id order by t.Months";
|
||||
//string date = DateTime.Now.Year + "-" + DateTime.Now.Month + "-01";
|
||||
SqlParameter[] parameter = new SqlParameter[]
|
||||
|
||||
Reference in New Issue
Block a user