20250226 硬度检测委托单
This commit is contained in:
@@ -376,7 +376,7 @@ namespace FineUIPro.Web.ContinuousPrint
|
||||
ws.GetRow(rowIndex + 6).GetCell(8).SetCellValue("合格值");
|
||||
region = new CellRangeAddress(rowIndex + 6, rowIndex + 6, 11, 12);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(rowIndex + 6).GetCell(11).SetCellValue("≤200");
|
||||
ws.GetRow(rowIndex + 6).GetCell(11).SetCellValue(tbTitle.Rows[0]["STE_Code"].ToString());
|
||||
|
||||
//行8
|
||||
region = new CellRangeAddress(rowIndex + 7, rowIndex + 7, 0, 0);
|
||||
@@ -428,7 +428,28 @@ namespace FineUIPro.Web.ContinuousPrint
|
||||
}
|
||||
#endregion
|
||||
|
||||
rowIndex = tEnd + 2;
|
||||
#region 尾部
|
||||
//创建尾部行
|
||||
ws = ExcelCreateRowTitle(ws, hssfworkbook, tEnd + 1, tEnd + 2, style, 0, 12);
|
||||
ICellStyle endStyleOne = CommonPrint.SetExcelStyle(hssfworkbook, BorderStyle.Thin, BorderStyle.Thin, BorderStyle.Thin, BorderStyle.Thin, VerticalAlignment.Center, HorizontalAlignment.Left, 10);
|
||||
//创建尾部列
|
||||
region = new CellRangeAddress(tEnd + 1, tEnd + 2, 0, 5);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(tEnd + 1).GetCell(0).CellStyle = endStyleOne;
|
||||
ws.GetRow(tEnd + 1).GetCell(0).SetCellValue("委托单位:镇海石化建安工程股份有限公司");
|
||||
|
||||
region = new CellRangeAddress(tEnd + 1, tEnd + 1, 6, 12);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(tEnd + 1).GetCell(6).CellStyle = endStyleOne;
|
||||
ws.GetRow(tEnd + 1).GetCell(6).SetCellValue("委托人:");
|
||||
|
||||
region = new CellRangeAddress(tEnd + 2, tEnd + 2, 6, 12);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(tEnd + 2).GetCell(6).CellStyle = endStyleOne;
|
||||
ws.GetRow(tEnd + 2).GetCell(6).SetCellValue("日期: 年 月 日");
|
||||
#endregion
|
||||
|
||||
rowIndex = tEnd + 4;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -517,7 +538,6 @@ namespace FineUIPro.Web.ContinuousPrint
|
||||
return ws;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 查询指定条数分页
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user