mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-02-13 00:55:01 +08:00
【功能修复】商城:商品排行的“支付金额”缺少分转元的逻辑
This commit is contained in:
parent
472da9274e
commit
c56eeccaef
@ -151,7 +151,6 @@ import * as BargainActivityApi from '@/api/mall/promotion/bargain/bargainActivit
|
|||||||
import BargainActivityForm from './BargainActivityForm.vue'
|
import BargainActivityForm from './BargainActivityForm.vue'
|
||||||
import { formatDate } from '@/utils/formatTime'
|
import { formatDate } from '@/utils/formatTime'
|
||||||
import { fenToYuanFormat } from '@/utils/formatter'
|
import { fenToYuanFormat } from '@/utils/formatter'
|
||||||
import { closeBargainActivity } from '@/api/mall/promotion/bargain/bargainActivity'
|
|
||||||
|
|
||||||
defineOptions({ name: 'PromotionBargainActivity' })
|
defineOptions({ name: 'PromotionBargainActivity' })
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<!-- 排行列表 -->
|
<!-- 排行列表 -->
|
||||||
<el-table v-loading="loading" :data="list" @sort-change="handleSortChange">
|
<el-table v-loading="loading" :data="list" @sort-change="handleSortChange">
|
||||||
<el-table-column label="商品ID" prop="spuId" min-width="70" />
|
<el-table-column label="商品 ID" prop="spuId" min-width="70" />
|
||||||
<el-table-column label="商品图片" align="center" prop="picUrl" width="80">
|
<el-table-column label="商品图片" align="center" prop="picUrl" width="80">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<el-image
|
<el-image
|
||||||
@ -27,7 +27,13 @@
|
|||||||
<el-table-column label="加购件数" prop="cartCount" min-width="105" sortable="custom" />
|
<el-table-column label="加购件数" prop="cartCount" min-width="105" sortable="custom" />
|
||||||
<el-table-column label="下单件数" prop="orderCount" min-width="105" sortable="custom" />
|
<el-table-column label="下单件数" prop="orderCount" min-width="105" sortable="custom" />
|
||||||
<el-table-column label="支付件数" prop="orderPayCount" min-width="105" sortable="custom" />
|
<el-table-column label="支付件数" prop="orderPayCount" min-width="105" sortable="custom" />
|
||||||
<el-table-column label="支付金额" prop="orderPayPrice" min-width="105" sortable="custom" />
|
<el-table-column
|
||||||
|
label="支付金额"
|
||||||
|
prop="orderPayPrice"
|
||||||
|
min-width="105"
|
||||||
|
sortable="custom"
|
||||||
|
:formatter="fenToYuanFormat"
|
||||||
|
/>
|
||||||
<el-table-column label="收藏数" prop="favoriteCount" min-width="90" sortable="custom" />
|
<el-table-column label="收藏数" prop="favoriteCount" min-width="90" sortable="custom" />
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="访客-支付转化率(%)"
|
label="访客-支付转化率(%)"
|
||||||
@ -50,6 +56,7 @@
|
|||||||
import { ProductStatisticsApi, ProductStatisticsVO } from '@/api/mall/statistics/product'
|
import { ProductStatisticsApi, ProductStatisticsVO } from '@/api/mall/statistics/product'
|
||||||
import { CardTitle } from '@/components/Card'
|
import { CardTitle } from '@/components/Card'
|
||||||
import { buildSortingField } from '@/utils'
|
import { buildSortingField } from '@/utils'
|
||||||
|
import { fenToYuanFormat } from '@/utils/formatter'
|
||||||
|
|
||||||
/** 商品排行 */
|
/** 商品排行 */
|
||||||
defineOptions({ name: 'ProductRank' })
|
defineOptions({ name: 'ProductRank' })
|
||||||
|
Loading…
Reference in New Issue
Block a user