src/components/chat/chatComponents/summaryCom/components/recordSetTable/RecordSetTable.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/components/chat/chatComponents/summaryCom/components/recordSetTable/RecordSetTable.vue
@@ -192,7 +192,10 @@ // 添加合计行 if (last?.length > 0) { const totalRow = new Array(last.length); totalRow[0] = '合计'; let lastGroupIndex = tableCols.value.findLastIndex((item, index) => index !== rateColIndex && index !== valueColIndex); lastGroupIndex = lastGroupIndex === -1 ? 0 : lastGroupIndex; totalRow[lastGroupIndex] = '合计'; // 比例列 totalRow[rateColIndex] = '100%'; // 合计总数 @@ -787,7 +790,6 @@ return data; }; const getCommonOption = () => { return {