diff --git a/main/java/shkd/repc/recos/formplugin/RecosMeasurecosFormPlugin.java b/main/java/shkd/repc/recos/formplugin/RecosMeasurecosFormPlugin.java index 912cf7f..2f7956b 100644 --- a/main/java/shkd/repc/recos/formplugin/RecosMeasurecosFormPlugin.java +++ b/main/java/shkd/repc/recos/formplugin/RecosMeasurecosFormPlugin.java @@ -195,17 +195,11 @@ public class RecosMeasurecosFormPlugin extends AbstractFormPlugin implements Upl billFont.setFontName("黑体"); billFont.setFontHeight(15); billStyle.setFont(billFont); + //写入单据列表数据 for (int i = 0; i < excel.size(); i++) { // i+1是因为前面第1行加了一个标题,单据列表数据是从Excel的第2行开始的,所以要+1 XSSFRow nrow = sheet.createRow(i+1); -// if (i==0){ -// XSSFCellStyle style = workbook.createCellStyle(); -// style.setFillPattern(FillPatternType.SOLID_FOREGROUND); -// XSSFColor grayColor = new XSSFColor(new java.awt.Color(128, 128, 128), new DefaultIndexedColorMap()); -// style.setFillForegroundColor(grayColor); -// nrow.setRowStyle(style); -// } for (int u=0;u