|
@@ -256,7 +256,7 @@ $(document).ready(() => {
|
|
|
const sel = sheet.getSelections()[0];
|
|
|
const sortData = SpreadJsObj.getSortData(sheet);
|
|
|
// 仅本期计量可删除
|
|
|
- if (sel.col === 5 || sel.colCount === 1) {
|
|
|
+ if (sel.col === 5 && sel.colCount === 1) {
|
|
|
const col = sheet.zh_setting.cols[sel.col];
|
|
|
for (let iRow = sel.row; iRow < sel.row + sel.rowCount; iRow++) {
|
|
|
const data = sortData[iRow];
|