0,1歳日誌出力用

This commit is contained in:
2025-02-16 22:43:10 +08:00
parent 93172cc1c4
commit ccf474bdc6
10 changed files with 3058 additions and 18 deletions

View File

@@ -94,7 +94,7 @@
for (let i = 0; i < totalPages; i++) {
const monthLabelCell = baseCells['月'][i];
worksheet.getCell(monthLabelCell.row, monthLabelCell.col - 1).value = Number(month);
updateCell(worksheet, { base: monthLabelCell, left: 1 }, Number(month));
const childLabelCell = baseCells['児童名'][i];
let currentRow = childLabelCell.row + 1;
@@ -107,8 +107,7 @@
}
const row = worksheet.getRow(currentRow);
cols.forEach(col => {
row.getCell(col.index).value = record[col.field].value;
row.getCell(col.index).alignment = { wrapText: true };;
updateCell(row, { base: { row: currentRow, col: col.index } }, record[col.field].value);
});
currentRow++;
}