0,1歳日誌出力用
This commit is contained in:
@@ -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++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user