From cd59490ec7e0e921114a6da2bc1ca9da64b65fa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=99=93=E4=B8=9C?= <17363321594@163.com> Date: Fri, 19 Sep 2025 09:30:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=A8=E5=B7=A5=E5=8D=95=E5=AF=BC=E5=87=BA?= =?UTF-8?q?=E4=BC=98=E5=8C=962?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DOAN.Service/MES/product/ProweekplanManageService.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/DOAN.Service/MES/product/ProweekplanManageService.cs b/DOAN.Service/MES/product/ProweekplanManageService.cs index 540566e..024951f 100644 --- a/DOAN.Service/MES/product/ProweekplanManageService.cs +++ b/DOAN.Service/MES/product/ProweekplanManageService.cs @@ -1004,7 +1004,7 @@ namespace DOAN.Service.MES.product { // 创建字体对象 var font = sheet.Workbook.CreateFont(); - font.FontHeightInPoints = 12; + font.FontHeightInPoints = 16; // 创建单元格样式并应用字体和对齐方式 var style = sheet.Workbook.CreateCellStyle(); @@ -1038,10 +1038,10 @@ namespace DOAN.Service.MES.product foreach (var day in item.proWeeklyDatechildList) { // 依次填充4个字段 - dataRow.CreateCell(startCol++).SetCellValue((double)day.PlanNum); - dataRow.CreateCell(startCol++).SetCellValue((double)day.ActualQt); - dataRow.CreateCell(startCol++).SetCellValue(day.ProductType); - dataRow.CreateCell(startCol++).SetCellValue(day.IsChange); + dataRow.CreateCell(startCol++).SetCellValue(day.ProductType); + dataRow.CreateCell(startCol++).SetCellValue((double)day.PlanNum); + dataRow.CreateCell(startCol++).SetCellValue(day.IsChange); + dataRow.CreateCell(startCol++).SetCellValue((double)day.ActualQt); } dataRowIndex++; }