Skip to content

Commit 87ca916

Browse files
committed
trade: 分销业务后台功能:佣金格式化
1 parent 5ed9092 commit 87ca916

File tree

1 file changed

+8
-1
lines changed
  • src/views/mall/trade/brokerage/record

1 file changed

+8
-1
lines changed

src/views/mall/trade/brokerage/record/index.vue

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,13 @@
7272
</el-table-column>
7373
<el-table-column label="业务编号" align="center" prop="bizId" min-width="80" />
7474
<el-table-column label="标题" align="center" prop="title" min-width="110" />
75-
<el-table-column label="金额" align="center" prop="price" min-width="60" />
75+
<el-table-column
76+
label="金额"
77+
align="center"
78+
prop="price"
79+
min-width="60"
80+
:formatter="fenToYuanFormat"
81+
/>
7682
<el-table-column label="说明" align="center" prop="description" min-width="120" />
7783
<el-table-column label="状态" align="center" prop="status" min-width="85">
7884
<template #default="scope">
@@ -108,6 +114,7 @@
108114
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
109115
import { dateFormatter } from '@/utils/formatTime'
110116
import * as BrokerageRecordApi from '@/api/mall/trade/brokerage/record'
117+
import { fenToYuanFormat } from '@/utils/formatter'
111118
112119
defineOptions({ name: 'TradeBrokerageRecord' })
113120

0 commit comments

Comments
 (0)