This commit is contained in:
2024-09-18 10:36:26 +08:00
parent 1ec4f71825
commit cba8e9e2f7
36 changed files with 4132 additions and 476 deletions
@@ -359,30 +359,30 @@ namespace FineUIPro.Web.Evaluation
if (reportModel.GetRow(3) == null) reportModel.CreateRow(3);
if (reportModel.GetRow(3).GetCell(2) == null) reportModel.GetRow(3).CreateCell(2);
reportModel.GetRow(3).GetCell(2).SetCellValue(eva.Discipline);
//7
if (reportModel.GetRow(6) == null) reportModel.CreateRow(6);
if (reportModel.GetRow(6).GetCell(2) == null) reportModel.GetRow(6).CreateCell(2);
reportModel.GetRow(6).GetCell(2).SetCellValue(eva.FO_NO);
if (reportModel.GetRow(6).GetCell(6) == null) reportModel.GetRow(6).CreateCell(6);
//6
if (reportModel.GetRow(5) == null) reportModel.CreateRow(5);
if (reportModel.GetRow(5).GetCell(2) == null) reportModel.GetRow(5).CreateCell(2);
reportModel.GetRow(5).GetCell(2).SetCellValue(eva.FO_NO);
if (reportModel.GetRow(5).GetCell(6) == null) reportModel.GetRow(5).CreateCell(6);
if (eva.Validate_Date.HasValue)
{
reportModel.GetRow(6).GetCell(6).SetCellValue(eva.Validate_Date.Value.ToString("yyyy/MM/dd"));
reportModel.GetRow(5).GetCell(6).SetCellValue(eva.Validate_Date.Value.ToString("yyyy/MM/dd"));
//reportModel.GetRow(6).GetCell(6).CellStyle = styleDate;
}
if (reportModel.GetRow(6).GetCell(8) == null) reportModel.GetRow(6).CreateCell(8);
if (reportModel.GetRow(5).GetCell(8) == null) reportModel.GetRow(5).CreateCell(8);
if (eva.Expire_Date.HasValue)
{
reportModel.GetRow(6).GetCell(8).SetCellValue(eva.Expire_Date.Value.ToString("yyyy/MM/dd"));
reportModel.GetRow(5).GetCell(8).SetCellValue(eva.Expire_Date.Value.ToString("yyyy/MM/dd"));
//reportModel.GetRow(6).GetCell(8).CellStyle = styleDate;
}
//8
if (reportModel.GetRow(7) == null) reportModel.CreateRow(7);
if (reportModel.GetRow(7).GetCell(2) == null) reportModel.GetRow(7).CreateCell(2);
reportModel.GetRow(7).GetCell(2).SetCellValue(eva.Contractor);
if (reportModel.GetRow(7).GetCell(8) == null) reportModel.GetRow(7).CreateCell(8);
reportModel.GetRow(7).GetCell(8).SetCellValue(eva.VolumeAllocation);
//7
if (reportModel.GetRow(6) == null) reportModel.CreateRow(6);
if (reportModel.GetRow(6).GetCell(2) == null) reportModel.GetRow(6).CreateCell(2);
reportModel.GetRow(6).GetCell(2).SetCellValue(eva.Contractor);
if (reportModel.GetRow(6).GetCell(8) == null) reportModel.GetRow(6).CreateCell(8);
reportModel.GetRow(6).GetCell(8).SetCellValue(eva.VolumeAllocation);
//9行
if (reportModel.GetRow(8) == null) reportModel.CreateRow(8);
@@ -433,26 +433,26 @@ namespace FineUIPro.Web.Evaluation
if (sesDataScore.Count(p => p.dataMonth == curDate.ToString("yyyy-MM")) > 0 && Funs.GetNewDecimal(sesDataScore.FirstOrDefault(p => p.dataMonth == curDate.ToString("yyyy-MM")).SumScore) > 0)
{
var yearNums = float.Parse(sesDataScore.FirstOrDefault(p => p.dataMonth == curDate.ToString("yyyy-MM")).SumScore).ToString("0.##");
reportModel.GetRow(13 + j).GetCell(1).SetCellValue(yearNums);
reportModel.GetRow(13 + j).GetCell(2).SetCellValue(yearNums);
}
else
{
reportModel.GetRow(13 + j).GetCell(1).SetCellValue("");
reportModel.GetRow(13 + j).GetCell(2).SetCellValue("");
}
}
else
{
if (reportModel.GetRow(13 + j - 12).GetCell(2) == null) reportModel.GetRow(13 + j - 12).CreateCell(2);
reportModel.GetRow(13 + j - 12).GetCell(2).SetCellValue(curDate.ToString("yyyy-MM"));
if (reportModel.GetRow(13 + j - 12).GetCell(3) == null) reportModel.GetRow(13 + j - 12).CreateCell(3);
reportModel.GetRow(13 + j - 12).GetCell(3).SetCellValue(curDate.ToString("yyyy-MM"));
if (sesDataScore.Count(p => p.dataMonth == curDate.ToString("yyyy-MM")) > 0 && Funs.GetNewDecimal(sesDataScore.FirstOrDefault(p => p.dataMonth == curDate.ToString("yyyy-MM")).SumScore) > 0)
{
var yearNums = float.Parse(sesDataScore.FirstOrDefault(p => p.dataMonth == curDate.ToString("yyyy-MM")).SumScore).ToString("0.##");
reportModel.GetRow(13 + j - 12).GetCell(3).SetCellValue(yearNums);
reportModel.GetRow(13 + j - 12).GetCell(4).SetCellValue(yearNums);
}
else
{
reportModel.GetRow(13 + j - 12).GetCell(3).SetCellValue("");
reportModel.GetRow(13 + j - 12).GetCell(4).SetCellValue("");
}
}
}
@@ -542,6 +542,8 @@ namespace FineUIPro.Web.Evaluation
//reportModel.GetRow(20).GetCell(5).SetCellValue(priceLevel);
// 28
if (reportModel.GetRow(26) == null) reportModel.CreateRow(26);
if (reportModel.GetRow(27) == null) reportModel.CreateRow(27);
if (reportModel.GetRow(28) == null) reportModel.CreateRow(28);
if (reportModel.GetRow(29) == null) reportModel.CreateRow(29);
if (reportModel.GetRow(31) == null) reportModel.CreateRow(31);
@@ -553,220 +555,189 @@ namespace FineUIPro.Web.Evaluation
if (reportModel.GetRow(37) == null) reportModel.CreateRow(37);
if (reportModel.GetRow(38) == null) reportModel.CreateRow(38);
if (reportModel.GetRow(39) == null) reportModel.CreateRow(39);
//if (reportModel.GetRow(40) == null) reportModel.CreateRow(40);
//if (reportModel.GetRow(41) == null) reportModel.CreateRow(41);
//if (reportModel.GetRow(42) == null) reportModel.CreateRow(42);
if (reportModel.GetRow(42) == null) reportModel.CreateRow(42);
if (reportModel.GetRow(43) == null) reportModel.CreateRow(43);
if (reportModel.GetRow(44) == null) reportModel.CreateRow(44);
if (reportModel.GetRow(45) == null) reportModel.CreateRow(45);
if (reportModel.GetRow(46) == null) reportModel.CreateRow(46);
if (reportModel.GetRow(47) == null) reportModel.CreateRow(47);
if (reportModel.GetRow(48) == null) reportModel.CreateRow(48);
//if (reportModel.GetRow(43) == null) reportModel.CreateRow(43);
//if (reportModel.GetRow(44) == null) reportModel.CreateRow(44);
//if (reportModel.GetRow(45) == null) reportModel.CreateRow(45);
//if (reportModel.GetRow(46) == null) reportModel.CreateRow(46);
//if (reportModel.GetRow(47) == null) reportModel.CreateRow(47);
//if (reportModel.GetRow(48) == null) reportModel.CreateRow(48);
if (reportModel.GetRow(49) == null) reportModel.CreateRow(49);
if (reportModel.GetRow(50) == null) reportModel.CreateRow(50);
if (reportModel.GetRow(51) == null) reportModel.CreateRow(51);
if (reportModel.GetRow(52) == null) reportModel.CreateRow(52);
if (reportModel.GetRow(53) == null) reportModel.CreateRow(53);
//if (reportModel.GetRow(49) == null) reportModel.CreateRow(49);
//if (reportModel.GetRow(50) == null) reportModel.CreateRow(50);
//if (reportModel.GetRow(51) == null) reportModel.CreateRow(51);
//if (reportModel.GetRow(52) == null) reportModel.CreateRow(52);
//if (reportModel.GetRow(53) == null) reportModel.CreateRow(53);
if (reportModel.GetRow(29).GetCell(5) == null) reportModel.GetRow(29).CreateCell(5);
reportModel.GetRow(29).GetCell(5).SetCellValue(eva.ReviewOfFC);
if (reportModel.GetRow(26).GetCell(5) == null) reportModel.GetRow(26).CreateCell(5);
reportModel.GetRow(26).GetCell(5).SetCellValue(eva.ReviewOfFC);
if (eva.IsInquiry == true)
{
reportModel.GetRow(29).GetCell(1).SetCellValue(eva.InquiryNum != null ? eva.InquiryNum.Value.ToString() : "0");
reportModel.GetRow(28).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(28).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(27).GetCell(1).SetCellValue(eva.InquiryNum != null ? eva.InquiryNum.Value.ToString() : "0");
reportModel.GetRow(26).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(26).GetCell(2).CellStyle.SetFont(content_Font);
}
else if (eva.IsInquiry == false)
{
reportModel.GetRow(29).GetCell(1).SetCellValue("");
reportModel.GetRow(28).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(28).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(27).GetCell(1).SetCellValue("");
reportModel.GetRow(26).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(26).GetCell(0).CellStyle.SetFont(content_Font);
}
else
{
reportModel.GetRow(28).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(28).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(28).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(28).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(26).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(26).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(26).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(26).GetCell(2).CellStyle.SetFont(content_Font);
}
if (eva.NCRIsReview == true)
{
reportModel.GetRow(33).GetCell(1).SetCellValue(eva.NCRReviewNum != null ? eva.NCRReviewNum.Value.ToString() : "0");
reportModel.GetRow(32).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(32).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(30).GetCell(1).SetCellValue(eva.NCRReviewNum != null ? eva.NCRReviewNum.Value.ToString() : "0");
reportModel.GetRow(29).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(29).GetCell(2).CellStyle.SetFont(content_Font);
}
else if (eva.NCRIsReview == false)
{
reportModel.GetRow(33).GetCell(1).SetCellValue("");
reportModel.GetRow(32).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(32).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(30).GetCell(1).SetCellValue("");
reportModel.GetRow(29).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(29).GetCell(0).CellStyle.SetFont(content_Font);
}
else
{
reportModel.GetRow(32).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(32).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(32).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(32).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(29).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(29).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(29).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(29).GetCell(2).CellStyle.SetFont(content_Font);
}
//string auditResult = string.Empty;
if (eva.AuditResult == "1")
{
reportModel.GetRow(36).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(36).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(37).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(37).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(37).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(37).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(38).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(38).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(38).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(38).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(32).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(32).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(33).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(33).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(33).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(33).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(34).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(34).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(34).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(34).GetCell(2).CellStyle.SetFont(content_Font);
}
if (eva.AuditResult == "2")
{
reportModel.GetRow(36).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(36).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(37).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(37).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(37).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(37).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(38).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(38).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(38).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(38).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(32).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(32).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(33).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(33).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(33).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(33).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(34).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(34).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(34).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(34).GetCell(2).CellStyle.SetFont(content_Font);
}
if (eva.AuditResult == "3")
{
reportModel.GetRow(36).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(36).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(36).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(36).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(37).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(37).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(38).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(38).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(38).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(38).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(32).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(32).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(32).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(32).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(33).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(33).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(34).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(34).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(34).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(34).GetCell(2).CellStyle.SetFont(content_Font);
}
if (eva.AuditResult == "4")
{
reportModel.GetRow(36).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(36).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(36).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(36).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(37).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(37).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(38).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(38).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(38).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(38).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(32).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(32).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(32).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(32).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(33).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(33).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(34).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(34).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(34).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(34).GetCell(2).CellStyle.SetFont(content_Font);
}
if (eva.AuditResult == "5")
{
reportModel.GetRow(36).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(36).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(36).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(36).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(37).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(37).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(37).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(37).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(38).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(38).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(32).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(32).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(32).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(32).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(33).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(33).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(33).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(33).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(34).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(34).GetCell(2).CellStyle.SetFont(content_Font);
}
if (eva.AuditResult == "6")
{
reportModel.GetRow(36).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(36).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(36).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(36).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(37).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(37).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(37).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(37).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(38).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(38).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(32).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(32).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(32).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(32).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(33).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(33).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(33).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(33).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(34).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(34).GetCell(0).CellStyle.SetFont(content_Font);
}
if (string.IsNullOrEmpty(eva.AuditResult))
{
reportModel.GetRow(32).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(32).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(32).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(32).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(33).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(33).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(33).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(33).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(34).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(34).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(34).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(34).GetCell(2).CellStyle.SetFont(content_Font);
}
if (eva.IsOthers == true)
{
reportModel.GetRow(37).GetCell(1).SetCellValue(eva.OtherDef);
reportModel.GetRow(36).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(36).GetCell(2).CellStyle.SetFont(content_Font);
}
else if (eva.IsOthers == false)
{
reportModel.GetRow(36).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(36).GetCell(0).CellStyle.SetFont(content_Font);
}
else
{
reportModel.GetRow(36).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(36).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(36).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(36).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(37).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(37).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(37).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(37).GetCell(2).CellStyle.SetFont(content_Font);
reportModel.GetRow(38).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(38).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(38).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(38).GetCell(2).CellStyle.SetFont(content_Font);
}
// 去年CT/K
//if (eva.BoQIsAudit == true)
//{
// reportModel.GetRow(41).GetCell(0).SetCellValue(txtNo);
// reportModel.GetRow(41).GetCell(0).CellStyle.SetFont(content_Font);
// if (eva.BoQAuditComments.Length > 0 && eva.BoQAuditComments.Length <= 6)
// {
// reportModel.GetRow(41).GetCell(4).SetCellValue(eva.BoQAuditComments);
// }
// if (eva.BoQAuditComments.Length > 6)
// {
// reportModel.GetRow(41).GetCell(4).SetCellValue(eva.BoQAuditComments.Substring(0, 6));
// reportModel.GetRow(42).GetCell(0).SetCellValue(eva.BoQAuditComments.Substring(6, eva.BoQAuditComments.Length - 6));
// }
//}
//else if (eva.BoQIsAudit == false)
//{
// reportModel.GetRow(41).GetCell(2).SetCellValue(txtNo);
// reportModel.GetRow(41).GetCell(2).CellStyle.SetFont(content_Font);
//}
//else
//{
// reportModel.GetRow(41).GetCell(0).SetCellValue(txtNo);
// reportModel.GetRow(41).GetCell(0).CellStyle.SetFont(content_Font);
// reportModel.GetRow(41).GetCell(2).SetCellValue(txtNo);
// reportModel.GetRow(41).GetCell(2).CellStyle.SetFont(content_Font);
//}
if (eva.IsOthers == true)
{
reportModel.GetRow(46).GetCell(1).SetCellValue(eva.OtherDef);
reportModel.GetRow(45).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(45).GetCell(2).CellStyle.SetFont(content_Font);
}
else if (eva.IsOthers == false)
{
reportModel.GetRow(45).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(45).GetCell(0).CellStyle.SetFont(content_Font);
}
else
{
reportModel.GetRow(45).GetCell(0).SetCellValue(txtNo);
reportModel.GetRow(45).GetCell(0).CellStyle.SetFont(content_Font);
reportModel.GetRow(45).GetCell(2).SetCellValue(txtNo);
reportModel.GetRow(45).GetCell(2).CellStyle.SetFont(content_Font);
}
if (reportModel.GetRow(48).GetCell(3) == null) reportModel.GetRow(48).CreateCell(3);
reportModel.GetRow(48).GetCell(3).SetCellValue(eva.TechnicalBonus);
if (reportModel.GetRow(50).GetCell(3) == null) reportModel.GetRow(50).CreateCell(3);
reportModel.GetRow(50).GetCell(3).SetCellValue(eva.SafetyBonus);
reportModel.GetRow(53).GetCell(0).SetCellValue(eva.Proposed);
if (reportModel.GetRow(38).GetCell(3) == null) reportModel.GetRow(38).CreateCell(3);
reportModel.GetRow(38).GetCell(3).SetCellValue(eva.TechnicalBonus);
if (reportModel.GetRow(39).GetCell(3) == null) reportModel.GetRow(39).CreateCell(3);
reportModel.GetRow(39).GetCell(3).SetCellValue(eva.SafetyBonus);
reportModel.GetRow(42).GetCell(0).SetCellValue(eva.Proposed);
}
#endregion
reportModel.ForceFormulaRecalculation = true;