修复编制说明的编号问题
This commit is contained in:
parent
7a5f023eda
commit
d85584e875
32
src/sql.ts
32
src/sql.ts
@ -2563,10 +2563,10 @@ async function generateTemplate(data) {
|
||||
texts.forEach(ti => {
|
||||
cusInsertRowFunc(descRowNum, [descSheet.getRow(descRowNum - 1)], descSheet, (targetRow) => {
|
||||
descRowNum++;
|
||||
targetRow.getCell(1).value = ti;
|
||||
ciTastNum++;
|
||||
targetRow.getCell(1).value = ti;
|
||||
});
|
||||
});
|
||||
ciTastNum++;
|
||||
});
|
||||
}
|
||||
ci.services.forEach((si, sindex) => {
|
||||
@ -2580,10 +2580,10 @@ async function generateTemplate(data) {
|
||||
tsiTextArr.forEach(ti => {
|
||||
cusInsertRowFunc(descRowNum, [descSheet.getRow(descRowNum - 1)], descSheet, (targetRow) => {
|
||||
descRowNum++;
|
||||
targetRow.getCell(1).value = ti;
|
||||
ciTastNum++;
|
||||
});
|
||||
targetRow.getCell(1).value = ti;
|
||||
});
|
||||
});
|
||||
ciTastNum++;
|
||||
tsi.text.forEach((sti, stindex) => {
|
||||
let stiTextArr = paragraphLineBreakFor1112(` ${stindex + 1})${sti}。`, ctx);
|
||||
stiTextArr.forEach(ti => {
|
||||
@ -2601,10 +2601,10 @@ async function generateTemplate(data) {
|
||||
siTextArr.forEach(ti => {
|
||||
cusInsertRowFunc(descRowNum, [descSheet.getRow(descRowNum - 1)], descSheet, (targetRow) => {
|
||||
descRowNum++;
|
||||
targetRow.getCell(1).value = ti;
|
||||
ciTastNum++;
|
||||
targetRow.getCell(1).value = ti;
|
||||
});
|
||||
});
|
||||
ciTastNum++;
|
||||
cusInsertRowFunc(descRowNum, [descSheet.getRow(descRowNum - 1)], descSheet, (targetRow) => {
|
||||
descRowNum++;
|
||||
targetRow.getCell(1).value = ' 1)×××××。';
|
||||
@ -2643,10 +2643,10 @@ async function generateTemplate(data) {
|
||||
texts.forEach(ti => {
|
||||
cusInsertRowFunc(descRowNum, [descSheet.getRow(descRowNum - 1)], descSheet, (targetRow) => {
|
||||
descRowNum++;
|
||||
targetRow.getCell(1).value = ti;
|
||||
ciTastNum++;
|
||||
targetRow.getCell(1).value = ti;
|
||||
});
|
||||
});
|
||||
ciTastNum++;
|
||||
});
|
||||
}
|
||||
cusInsertRowFunc(descRowNum, [descSheet.getRow(descRowNum - 1)], descSheet, (targetRow) => {
|
||||
@ -2728,10 +2728,10 @@ async function generateTemplate(data) {
|
||||
texts.forEach(ti => {
|
||||
cusInsertRowFunc(descRowNum3, [descSheet.getRow(descRowNum3 - 1)], descSheet, (targetRow) => {
|
||||
descRowNum3++;
|
||||
targetRow.getCell(1).value = ti;
|
||||
ciTastNum++;
|
||||
targetRow.getCell(1).value = ti;
|
||||
});
|
||||
});
|
||||
ciTastNum++;
|
||||
});
|
||||
}
|
||||
ci.services.forEach((si, sindex) => {
|
||||
@ -2747,10 +2747,10 @@ async function generateTemplate(data) {
|
||||
tsiTextArr.forEach(ti => {
|
||||
cusInsertRowFunc(descRowNum3, [descSheet.getRow(descRowNum3 - 1)], descSheet, (targetRow) => {
|
||||
descRowNum3++;
|
||||
targetRow.getCell(1).value = ti;
|
||||
ciTastNum++;
|
||||
targetRow.getCell(1).value = ti;
|
||||
});
|
||||
});
|
||||
ciTastNum++;
|
||||
tsi.text.forEach((sti, stindex) => {
|
||||
let stiTextArr = paragraphLineBreakFor1112(` ${stindex + 1})${sti}。`, ctx);
|
||||
stiTextArr.forEach(ti => {
|
||||
@ -2768,9 +2768,9 @@ async function generateTemplate(data) {
|
||||
cusInsertRowFunc(descRowNum3, [descSheet.getRow(descRowNum3 - 1)], descSheet, (targetRow) => {
|
||||
descRowNum3++;
|
||||
targetRow.getCell(1).value = ti;
|
||||
ciTastNum++;
|
||||
});
|
||||
});
|
||||
ciTastNum++;
|
||||
cusInsertRowFunc(descRowNum3, [descSheet.getRow(descRowNum3 - 1)], descSheet, (targetRow) => {
|
||||
descRowNum3++;
|
||||
targetRow.getCell(1).value = ' 1)×××××。';
|
||||
@ -2809,10 +2809,10 @@ async function generateTemplate(data) {
|
||||
texts.forEach(ti => {
|
||||
cusInsertRowFunc(descRowNum3, [descSheet.getRow(descRowNum3 - 1)], descSheet, (targetRow) => {
|
||||
descRowNum3++;
|
||||
targetRow.getCell(1).value = ti;
|
||||
ciTastNum++;
|
||||
targetRow.getCell(1).value = ti;
|
||||
});
|
||||
});
|
||||
ciTastNum++;
|
||||
});
|
||||
}
|
||||
cusInsertRowFunc(descRowNum3, [descSheet.getRow(descRowNum3 - 1)], descSheet, (targetRow) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user