|
@ -12,6 +12,7 @@ export const fenToYuanFormat = ( |
|
|
} |
|
|
} |
|
|
export const accountantFormart = (row, column, cellValue) => { |
|
|
export const accountantFormart = (row, column, cellValue) => { |
|
|
cellValue = cellValue + '' || '' |
|
|
cellValue = cellValue + '' || '' |
|
|
|
|
|
cellValue = Number(cellValue).toFixed(2) |
|
|
let x = cellValue.split('.') |
|
|
let x = cellValue.split('.') |
|
|
let x1 = x[0] |
|
|
let x1 = x[0] |
|
|
let x2 = x.length > 1 ? '.' + x[1] : '' |
|
|
let x2 = x.length > 1 ? '.' + x[1] : '' |
|
|