This commit is contained in:
2024-05-12 15:56:56 +08:00
parent 190a7a4374
commit 0b31bc3d75
7 changed files with 142 additions and 75 deletions
@@ -407,24 +407,24 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport
reportModel.GetRow(rowIndex).GetCell(5).CellStyle.SetFont(cs_content_Font);
//焊口号
if (reportModel.GetRow(rowIndex).GetCell(9) == null) reportModel.GetRow(rowIndex).CreateCell(9);
reportModel.GetRow(rowIndex).GetCell(9).SetCellValue(jotNum.Count());
reportModel.GetRow(rowIndex).GetCell(9).CellStyle.SetFont(cs_content_Font);
if (reportModel.GetRow(rowIndex).GetCell(11) == null) reportModel.GetRow(rowIndex).CreateCell(11);
reportModel.GetRow(rowIndex).GetCell(11).SetCellValue(jotNum.Count());
reportModel.GetRow(rowIndex).GetCell(11).CellStyle.SetFont(cs_content_Font);
// 寸径
if (reportModel.GetRow(rowIndex).GetCell(12) == null) reportModel.GetRow(rowIndex).CreateCell(12);
reportModel.GetRow(rowIndex).GetCell(12).SetCellValue(jotNum.Sum(x => Convert.ToDouble(x.Size)));
reportModel.GetRow(rowIndex).GetCell(12).CellStyle.SetFont(cs_content_Font);
if (reportModel.GetRow(rowIndex).GetCell(14) == null) reportModel.GetRow(rowIndex).CreateCell(14);
reportModel.GetRow(rowIndex).GetCell(14).SetCellValue(jotNum.Sum(x => Convert.ToDouble(x.Size)));
reportModel.GetRow(rowIndex).GetCell(14).CellStyle.SetFont(cs_content_Font);
//打底焊工号
if (reportModel.GetRow(rowIndex).GetCell(21) == null) reportModel.GetRow(rowIndex).CreateCell(21);
reportModel.GetRow(rowIndex).GetCell(21).SetCellValue(backingWelder.Count().ToString());
reportModel.GetRow(rowIndex).GetCell(21).CellStyle.SetFont(cs_content_Font);
if (reportModel.GetRow(rowIndex).GetCell(23) == null) reportModel.GetRow(rowIndex).CreateCell(23);
reportModel.GetRow(rowIndex).GetCell(23).SetCellValue(backingWelder.Count().ToString());
reportModel.GetRow(rowIndex).GetCell(23).CellStyle.SetFont(cs_content_Font);
//盖面焊工号
if (reportModel.GetRow(rowIndex).GetCell(22) == null) reportModel.GetRow(rowIndex).CreateCell(22);
reportModel.GetRow(rowIndex).GetCell(22).SetCellValue(coverWelder.Count().ToString());
reportModel.GetRow(rowIndex).GetCell(22).CellStyle.SetFont(cs_content_Font);
if (reportModel.GetRow(rowIndex).GetCell(24) == null) reportModel.GetRow(rowIndex).CreateCell(24);
reportModel.GetRow(rowIndex).GetCell(24).SetCellValue(coverWelder.Count().ToString());
reportModel.GetRow(rowIndex).GetCell(24).CellStyle.SetFont(cs_content_Font);
}
#endregion
reportModel.ForceFormulaRecalculation = true;