Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c56eecca
authored
Dec 28, 2024
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【功能修复】商城:商品排行的“支付金额”缺少分转元的逻辑
parent
472da927
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
src/views/mall/promotion/bargain/activity/index.vue
+0
-1
src/views/mall/statistics/product/components/ProductRank.vue
+9
-2
No files found.
src/views/mall/promotion/bargain/activity/index.vue
View file @
c56eecca
...
...
@@ -151,7 +151,6 @@ import * as BargainActivityApi from '@/api/mall/promotion/bargain/bargainActivit
import
BargainActivityForm
from
'./BargainActivityForm.vue'
import
{
formatDate
}
from
'@/utils/formatTime'
import
{
fenToYuanFormat
}
from
'@/utils/formatter'
import
{
closeBargainActivity
}
from
'@/api/mall/promotion/bargain/bargainActivity'
defineOptions
({
name
:
'PromotionBargainActivity'
})
...
...
src/views/mall/statistics/product/components/ProductRank.vue
View file @
c56eecca
...
...
@@ -10,7 +10,7 @@
</
template
>
<!-- 排行列表 -->
<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"
>
<
template
#
default=
"{ row }"
>
<el-image
...
...
@@ -27,7 +27,13 @@
<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=
"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=
"访客-支付转化率(%)"
...
...
@@ -50,6 +56,7 @@
import
{
ProductStatisticsApi
,
ProductStatisticsVO
}
from
'@/api/mall/statistics/product'
import
{
CardTitle
}
from
'@/components/Card'
import
{
buildSortingField
}
from
'@/utils'
import
{
fenToYuanFormat
}
from
'@/utils/formatter'
/** 商品排行 */
defineOptions
({
name
:
'ProductRank'
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment