新增财务仪表盘并统一金额到角
This commit is contained in:
@@ -9,6 +9,7 @@ import {
|
||||
submitListingReview,
|
||||
type Listing,
|
||||
} from '@/features/listings'
|
||||
import { formatMoney, formatMoneyWithSymbol } from '@/shared/utils/money'
|
||||
import { listingReviewStatusLabel, listingStatusLabel } from '@/utils/statusLabels'
|
||||
import { formatListingCode, getListingSellerPrice } from '@/utils/listingDisplay'
|
||||
|
||||
@@ -103,7 +104,7 @@ function replaceListing(next: Listing) {
|
||||
}
|
||||
|
||||
function listingPrice(row: Listing) {
|
||||
return `¥${Math.round(getListingSellerPrice(row))}`
|
||||
return formatMoneyWithSymbol(getListingSellerPrice(row))
|
||||
}
|
||||
|
||||
async function copyListingCode(row: Listing) {
|
||||
@@ -226,7 +227,7 @@ function isPendingReview(row: Listing) {
|
||||
</div>
|
||||
<div>
|
||||
<span>押金</span>
|
||||
<strong>¥{{ item.deposit_amount }}</strong>
|
||||
<strong>¥{{ formatMoney(item.deposit_amount) }}</strong>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user