src/views/index.vue
@@ -366,7 +366,11 @@ }) } const formattedNumber = (row, column, cellValue) => { return parseFloat(cellValue).toFixed(2); // 如果只传了一个参数,直接格式化该参数 if (column === undefined && cellValue === undefined) { return parseFloat(row).toFixed(2) } return parseFloat(cellValue).toFixed(2) }; // 合同金额 const analysisCustomer = () => {