Browse Source

计算

master_hella_20240701
wangyufei 5 months ago
parent
commit
e5ea4cf3fa
  1. 3
      src/utils/formatter.ts

3
src/utils/formatter.ts

@ -11,6 +11,9 @@ export const fenToYuanFormat = (
return `${fenToYuan(cellValue)}`
}
export const accountantFormart = (row, column, cellValue) => {
if(!cellValue){
return ''
}
cellValue = cellValue + '' || ''
cellValue = Number(cellValue).toFixed(2)
let x = cellValue.split('.')

Loading…
Cancel
Save