update weld day report

This commit is contained in:
jackchenyang
2024-05-09 18:41:24 +08:00
parent 5b8aa9929e
commit b0312d603e
15 changed files with 277 additions and 198 deletions
@@ -982,24 +982,25 @@ namespace FineUIPro.Web.WeldingProcess.WeldingManage
#region
ws.SetColumnWidth(0, 18 * 256);
ws.SetColumnWidth(1, 13 * 256);
ws.SetColumnWidth(2, 10 * 256);
ws.SetColumnWidth(3, 10 * 256);
ws.SetColumnWidth(1, 9 * 256);
ws.SetColumnWidth(2, 6 * 256);
ws.SetColumnWidth(3, 12 * 256);
ws.SetColumnWidth(4, 18 * 256);
ws.SetColumnWidth(5, 13 * 256);
ws.SetColumnWidth(6, 16 * 256);
ws.SetColumnWidth(5, 19 * 256);
ws.SetColumnWidth(6, 13 * 256);
ws.SetColumnWidth(7, 13 * 256);
ws.SetColumnWidth(8, 13 * 256);
ws.SetColumnWidth(9, 9 * 256);
ws.SetColumnWidth(8, 14 * 256);
ws.SetColumnWidth(9, 13 * 256);
ws.SetColumnWidth(10, 13 * 256);
ws.SetColumnWidth(11, 13 * 256);
ws.SetColumnWidth(12, 17 * 256);
ws.SetColumnWidth(13, 13 * 256);
ws.SetColumnWidth(14, 12 * 256);
ws.SetColumnWidth(11, 10 * 256);
ws.SetColumnWidth(12, 16 * 256);
ws.SetColumnWidth(13, 14 * 256);
ws.SetColumnWidth(14, 19 * 256);
#endregion
var style = CommonPrint.SetExcelStyle(hssfworkbook, BorderStyle.Thin, BorderStyle.Thin, BorderStyle.Thin, BorderStyle.Thin, VerticalAlignment.Center, HorizontalAlignment.Center, 10, true, false);
var headerStyle = CommonPrint.SetExcelStyle(hssfworkbook, BorderStyle.Thin, BorderStyle.Thin, BorderStyle.Thin, BorderStyle.Thin, VerticalAlignment.Center, HorizontalAlignment.Center, 9, true, false);
var tbNum = tb.Rows.Count;
var pageNum =
@@ -1082,6 +1083,14 @@ namespace FineUIPro.Web.WeldingProcess.WeldingManage
ws.AddMergedRegion(region);
ws.GetRow(rowIndex + 4).GetCell(14).SetCellValue("无损检查报告\r\nNDE Report.");
ws.GetRow(rowIndex + 4).GetCell(0).CellStyle = ws.GetRow(rowIndex + 4).GetCell(1).CellStyle
= ws.GetRow(rowIndex + 4).GetCell(3).CellStyle = ws.GetRow(rowIndex + 4).GetCell(4).CellStyle
= ws.GetRow(rowIndex + 4).GetCell(5).CellStyle = ws.GetRow(rowIndex + 4).GetCell(6).CellStyle
= ws.GetRow(rowIndex + 4).GetCell(7).CellStyle = ws.GetRow(rowIndex + 4).GetCell(8).CellStyle
= ws.GetRow(rowIndex + 4).GetCell(10).CellStyle = ws.GetRow(rowIndex + 4).GetCell(12).CellStyle
= ws.GetRow(rowIndex + 4).GetCell(13).CellStyle = ws.GetRow(rowIndex + 4).GetCell(14).CellStyle
= headerStyle;
#endregion
#region