Commit d55b12e6 authored by wdy's avatar wdy

Merge branch 'dev' of http://gitlab.91isoft.com:90/wangfei/vehicle-quality-review into wangdingyi

parents 6d9c7223 41b0e82f
......@@ -147,7 +147,7 @@ public class PdfTemplateManagementServiceImpl implements PdfTemplateManagementSe
document.setParagraph("检验中心名称", 12f, 0, 30,15f, 20f);
// 创建表格
List<String> list = Arrays.asList("文件名称", "文件目录", "标准章节", "标准要求", "审查要点");
float[] columnWidths = {20, 20, 20, 70, 70};
float[] columnWidths = {30, 25, 25, 60, 60};
PdfPTable table = document.createWithHeaderTable(list, columnWidths);
// 查询数据
List<ReviewEnterpriseArchiveViewVO> viewList = reviewEnterpriseArchiveService.view(taskId);
......@@ -161,6 +161,13 @@ public class PdfTemplateManagementServiceImpl implements PdfTemplateManagementSe
});
}
document.addContent(table);
// 最后结尾签字
PdfPTable signTable = new PdfPTable(new float[]{40, 15});
signTable.setWidthPercentage(100);
signTable.setSpacingBefore(40);
document.writeNoBorderCell("车企负责人签字:", Element.ALIGN_RIGHT, 1, 1, signTable);
document.writeBottomCell("", Element.ALIGN_RIGHT, 1, 1, signTable);
document.addContent(signTable);
// 关闭
document.close();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment