!239 分销员表格佣金字段格式化

Merge pull request !239 from 疯狂的世界/brokerage
This commit is contained in:
芋道源码 authored and Gitee committed 2023-09-09 01:46:05 +00:00
commit e3b9a15c26
2 files changed
+29 -2

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import { fenToYuan } from '@/utils'
import { TableColumnCtx } from 'element-plus'
// 格式化金额【分转元】
export const fenToYuanFormat = (
row: any,
column: TableColumnCtx<any>,
cellValue: any,
index: number
) => {
return `¥${fenToYuan(cellValue)}`
}