新增财务仪表盘并统一金额到角
This commit is contained in:
@@ -4,6 +4,7 @@ import { ElMessage, ElMessageBox } from 'element-plus'
|
||||
import { computed, nextTick, onBeforeUnmount, onMounted, reactive, ref, watch } from 'vue'
|
||||
|
||||
import { fetchAdminFileBlob } from '@/shared/api/files'
|
||||
import { formatMoneyWithSymbol } from '@/shared/utils/money'
|
||||
import {
|
||||
adjustListingReviewPrice,
|
||||
approveListing,
|
||||
@@ -242,7 +243,7 @@ function openEvidence(row: Listing) {
|
||||
}
|
||||
|
||||
function money(value: number) {
|
||||
return `¥${Math.round(Number(value || 0))}`
|
||||
return formatMoneyWithSymbol(value)
|
||||
}
|
||||
|
||||
function quantity(value: number) {
|
||||
|
||||
Reference in New Issue
Block a user