0614-进度增加计划和实际开始/完成时间
This commit is contained in:
@@ -116,7 +116,7 @@ namespace FineUIPro.Web.JDGL.WBS
|
||||
rdId.HeaderTextAlign = TextAlign.Center;
|
||||
Grid1.Columns.Add(rdId);
|
||||
rdId.Hidden = true;
|
||||
ColumnNum = 5 + months.Count * 2 + 1;
|
||||
ColumnNum = 9 + months.Count * 2 + 1;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
@@ -139,7 +139,13 @@ namespace FineUIPro.Web.JDGL.WBS
|
||||
{
|
||||
if (string.IsNullOrEmpty(this.Grid1.Rows[i].DataKeys[2].ToString()))
|
||||
{
|
||||
this.Grid1.Rows[i].RowCssClass = "noEdit";
|
||||
foreach (GridColumn column in Grid1.Columns)
|
||||
{
|
||||
if (column.ColumnIndex != 0)
|
||||
{
|
||||
this.Grid1.Rows[i].CellCssClasses[column.ColumnIndex] = "f-grid-cell-uneditable";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -180,9 +186,17 @@ namespace FineUIPro.Web.JDGL.WBS
|
||||
string totalNum = values.Value<string>("TotalNum");
|
||||
string planPrice = values.Value<string>("PlanPrice");
|
||||
string realPrice = values.Value<string>("RealPrice");
|
||||
string planStartDate = values.Value<string>("PlanStartDate");
|
||||
string planEndDate = values.Value<string>("PlanEndDate");
|
||||
string realStartDate = values.Value<string>("RealStartDate");
|
||||
string realEndDate = values.Value<string>("RealEndDate");
|
||||
costControl.TotalNum = Funs.GetNewDecimal(totalNum);
|
||||
costControl.PlanPrice = Funs.GetNewDecimal(planPrice);
|
||||
costControl.RealPrice = Funs.GetNewDecimal(realPrice);
|
||||
costControl.PlanStartDate = Funs.GetNewDateTime(planStartDate);
|
||||
costControl.PlanEndDate = Funs.GetNewDateTime(planEndDate);
|
||||
costControl.RealStartDate = Funs.GetNewDateTime(realStartDate);
|
||||
costControl.RealEndDate = Funs.GetNewDateTime(realEndDate);
|
||||
BLL.CostControlService.UpdateCostControl(costControl);
|
||||
for (int j = 0; j < months.Count; j++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user