111
This commit is contained in:
@@ -1380,6 +1380,9 @@ namespace FineUIPro.Web.Report
|
||||
projectList.GetRow(rowIndex).GetCell(72).SetCellValue((DateTime)Convert.ToDateTime(itemOver.PM_Pre_Approval));
|
||||
projectList.GetRow(rowIndex).GetCell(72).CellStyle = styleDate;
|
||||
}
|
||||
if (projectList.GetRow(rowIndex).GetCell(73) == null) projectList.GetRow(rowIndex).CreateCell(73);
|
||||
projectList.GetRow(rowIndex).GetCell(73).SetCellValue(itemOver.Job_Hold);
|
||||
projectList.GetRow(rowIndex).GetCell(73).CellStyle = styleQfw;
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
@@ -283,7 +283,40 @@ namespace FineUIPro.Web.Report
|
||||
reportModel.GetRow(rowIndex).GetCell(5).CellStyle = styleCenter;
|
||||
//Act. Type
|
||||
if (reportModel.GetRow(rowIndex).GetCell(6) == null) reportModel.GetRow(rowIndex).CreateCell(6);
|
||||
reportModel.GetRow(rowIndex).GetCell(6).SetCellValue(table.Rows[i]["ActType"].ToString());
|
||||
if (table.Rows[i]["Type"].ToString().Contains("T01_OverTime"))
|
||||
{
|
||||
string actType = table.Rows[i]["ActType"].ToString();
|
||||
if (actType.Contains("2"))
|
||||
{
|
||||
string actStr = actType + "1";
|
||||
reportModel.GetRow(rowIndex).GetCell(6).SetCellValue(actStr);
|
||||
}
|
||||
}
|
||||
else if (table.Rows[i]["Type"].ToString().Contains("T02_OverTime"))
|
||||
{
|
||||
string actType = table.Rows[i]["ActType"].ToString();
|
||||
if (actType.Contains("2"))
|
||||
{
|
||||
string actStr = actType + "2";
|
||||
reportModel.GetRow(rowIndex).GetCell(6).SetCellValue(actStr);
|
||||
}
|
||||
}
|
||||
|
||||
else if (table.Rows[i]["Type"].ToString().Contains("T03_OverTime"))
|
||||
{
|
||||
string actType = table.Rows[i]["ActType"].ToString();
|
||||
if (actType.Contains("2"))
|
||||
{
|
||||
string actStr = actType + "3";
|
||||
reportModel.GetRow(rowIndex).GetCell(6).SetCellValue(actStr);
|
||||
}
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
reportModel.GetRow(rowIndex).GetCell(6).SetCellValue(table.Rows[i]["ActType"].ToString());
|
||||
}
|
||||
|
||||
reportModel.GetRow(rowIndex).GetCell(6).CellStyle = styleCenter;
|
||||
//Hours
|
||||
if (!string.IsNullOrEmpty(table.Rows[i]["Hours"].ToString()))
|
||||
|
||||
Reference in New Issue
Block a user