|
@@ -1516,11 +1516,11 @@ $(document).ready(() => {
|
|
|
for (let iCol = 0; iCol < range.colCount; iCol++) {
|
|
|
const curCol = range.col + iCol;
|
|
|
let colSetting = info.sheet.zh_setting.cols[curCol];
|
|
|
- if ((needColAdd && curCol > 2) || (needCopyIgnore && curCol === 2)) { // 要判断是否已隐藏了变更详情,是则变更详情后面的curCol要+1
|
|
|
- const newCurCol = curCol + 1;
|
|
|
- needColAdd = true;
|
|
|
- colSetting = info.sheet.zh_setting.cols[newCurCol];
|
|
|
- }
|
|
|
+ // if ((needColAdd && curCol > 2) || (needCopyIgnore && curCol === 2)) { // 要判断是否已隐藏了变更详情,是则变更详情后面的curCol要+1
|
|
|
+ // const newCurCol = curCol + 1;
|
|
|
+ // needColAdd = true;
|
|
|
+ // colSetting = info.sheet.zh_setting.cols[newCurCol];
|
|
|
+ // }
|
|
|
if (!colSetting) continue;
|
|
|
|
|
|
let validText = info.sheet.getText(curRow, curCol);
|
|
@@ -2194,11 +2194,11 @@ $(document).ready(() => {
|
|
|
for (let iCol = 0; iCol < range.colCount; iCol++) {
|
|
|
const curCol = range.col + iCol;
|
|
|
let colSetting = info.sheet.zh_setting.cols[curCol];
|
|
|
- if ((needColAdd && curCol > 2) || (needCopyIgnore && curCol === 2)) { // 要判断是否已隐藏了变更详情,是则变更详情后面的curCol要+1
|
|
|
- const newCurCol = curCol + 1;
|
|
|
- needColAdd = true;
|
|
|
- colSetting = info.sheet.zh_setting.cols[newCurCol];
|
|
|
- }
|
|
|
+ // if ((needColAdd && curCol > 2) || (needCopyIgnore && curCol === 2)) { // 要判断是否已隐藏了变更详情,是则变更详情后面的curCol要+1
|
|
|
+ // const newCurCol = curCol + 1;
|
|
|
+ // needColAdd = true;
|
|
|
+ // colSetting = info.sheet.zh_setting.cols[newCurCol];
|
|
|
+ // }
|
|
|
if (!colSetting) continue;
|
|
|
|
|
|
let validText = info.sheet.getText(curRow, curCol);
|
|
@@ -4181,11 +4181,11 @@ $(document).ready(() => {
|
|
|
for (let iCol = 0; iCol < range.colCount; iCol++) {
|
|
|
const curCol = range.col + iCol;
|
|
|
let colSetting = info.sheet.zh_setting.cols[curCol];
|
|
|
- if ((needColAdd && curCol > 2) || (needCopyIgnore && curCol === 2)) { // 要判断是否已隐藏了变更详情,是则变更详情后面的curCol要+1
|
|
|
- const newCurCol = curCol + 1;
|
|
|
- needColAdd = true;
|
|
|
- colSetting = info.sheet.zh_setting.cols[newCurCol];
|
|
|
- }
|
|
|
+ // if ((needColAdd && curCol > 2) || (needCopyIgnore && curCol === 2)) { // 要判断是否已隐藏了变更详情,是则变更详情后面的curCol要+1
|
|
|
+ // const newCurCol = curCol + 1;
|
|
|
+ // needColAdd = true;
|
|
|
+ // colSetting = info.sheet.zh_setting.cols[newCurCol];
|
|
|
+ // }
|
|
|
if (!colSetting) continue;
|
|
|
|
|
|
let validText = info.sheet.getText(curRow, curCol);
|