// 将数字逗号3位数分割 例如 10000分隔10,000.00
numberFormatter(number) {if (number) {const fixedNumber = number.toFixed(2);const parts = fixedNumber.split('.');parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ',');return parts.join('.');} else {return '0.00'}}