更新报表导出功能
This commit is contained in:
parent
d5cae61861
commit
d3695c8131
@ -1114,6 +1114,7 @@ async function generateTemplate(data) {
|
||||
}
|
||||
});
|
||||
let endRows = 1;
|
||||
if (ci.services.length) {
|
||||
cusInsertRowFunc(ci.services.length + 3 + endRows, [sheet_1.getRow(3)], sheet_1, (targetRow) => {
|
||||
targetRow.getCell(1).value = ci.services.length + endRows;
|
||||
targetRow.getCell(2).value = '';
|
||||
@ -1124,6 +1125,7 @@ async function generateTemplate(data) {
|
||||
targetRow.getCell(7).value = numberFormatter(m4Sum, 2);
|
||||
targetRow.getCell(8).value = numberFormatter(serviceSum, 2);
|
||||
});
|
||||
}
|
||||
if (ci.addtional) {
|
||||
endRows++;
|
||||
cusInsertRowFunc(ci.services.length + 3 + endRows, [sheet_1.getRow(3)], sheet_1, (targetRow) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user