src/tabviews/zshare/actionList/exceloutbutton/index.jsx
@@ -452,9 +452,11 @@ table.push(_topRow) if (data && abses.length > 0) { data.forEach(item => { data && data.forEach((item, index) => { let _row = {} item.$Index = index + 1 _header.forEach(field => { if (item[field] && abses.includes(field)) { _row[field] = Math.abs(item[field]) @@ -465,16 +467,6 @@ table.push(_row) }) } else if (data) { data.forEach(item => { let _row = {} _header.forEach(field => { _row[field] = item[field] }) table.push(_row) }) } const ws = XLSX.utils.json_to_sheet(table, {header: _header, skipHeader: true})