20240516 质量月报导出表格调整
This commit is contained in:
@@ -177,7 +177,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
||||
//序号
|
||||
value = " " + value;
|
||||
}
|
||||
p.ParagraphFormat.Alignment = ParagraphAlignment.Center;
|
||||
p.ParagraphFormat.Alignment = ParagraphAlignment.Center;//表格中字体居中
|
||||
|
||||
p.AppendChild(new Run(doc, value));
|
||||
|
||||
@@ -185,6 +185,8 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
||||
|
||||
cell.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;
|
||||
|
||||
cell.CellFormat.Borders.LineWidth = 1;
|
||||
|
||||
cell.AppendChild(p);
|
||||
return cell;
|
||||
}
|
||||
@@ -338,6 +340,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
||||
Row row = new Row(doc);
|
||||
row.Cells.Add(CreateCell(numberIndex.ToString(), doc, table.FirstRow.Cells[0].CellFormat.Width,"","1"));
|
||||
row.Cells.Add(CreateCell(item.ProStage, doc, table.FirstRow.Cells[1].CellFormat.Width));
|
||||
|
||||
row.Cells.Add(CreateCell(item.ProDescribe, doc, table.FirstRow.Cells[2].CellFormat.Width));
|
||||
row.Cells.Add(CreateCell(item.TargetValue, doc, table.FirstRow.Cells[3].CellFormat.Width));
|
||||
row.Cells.Add(CreateCell(item.MonthPer, doc, table.FirstRow.Cells[4].CellFormat.Width));
|
||||
|
||||
Reference in New Issue
Block a user