From de60b3cded9fb61c8d6d5c9904bd7874fd54bfbe Mon Sep 17 00:00:00 2001 From: huanshuo-W <15258427350@163.com> Date: Sat, 12 Jul 2025 15:46:53 +0800 Subject: [PATCH] =?UTF-8?q?Fix:=20=E4=BF=AE=E6=AD=A3Excel=E5=85=AC?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Modules/MultiLayerPaperTapeWidthAngleCalculate.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/Modules/MultiLayerPaperTapeWidthAngleCalculate.vue b/src/components/Modules/MultiLayerPaperTapeWidthAngleCalculate.vue index 87652de..0af0b5c 100644 --- a/src/components/Modules/MultiLayerPaperTapeWidthAngleCalculate.vue +++ b/src/components/Modules/MultiLayerPaperTapeWidthAngleCalculate.vue @@ -382,12 +382,12 @@ worksheet.getCell('F4').style = parameterStyle // 所有记录中最小角度 worksheet.getCell('G4').value = { - formula: `MIN(D9: D${recordList.value.length + 8})`, + formula: `MIN(D9:D${8 + recordList.value.length})`, } worksheet.getCell('G4').style = valueStyle // 所有记录中最大角度 worksheet.getCell('H4').value = { - formula: `MAX(D9: D${recordList.value.length + 8})`, + formula: `MAX(D9:D${8 + recordList.value.length})`, } worksheet.getCell('H4').style = valueStyle @@ -423,8 +423,6 @@ for (const [index, column] of worksheet.columns.entries()) { let maxLength = 0 - const columnLetter = String.fromCodePoint(65 + index) - if (column && typeof column.eachCell === 'function') { column.eachCell({ includeEmpty: true }, cell => { const cellValue = cell.value ? String(cell.value) : ''