This commit is contained in:
@@ -242,10 +242,14 @@ const columns = ref([
|
||||
render: (row) => h('span', `${row.price}元`),
|
||||
},
|
||||
{
|
||||
title: '积分抵扣',
|
||||
title: '抵扣后价格(元)',
|
||||
key: 'discount_price',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
title: '积分抵扣',
|
||||
key: 'exchange',
|
||||
align: 'center',
|
||||
slot: 'discount_price',
|
||||
render: (row) => h('span', `${row.discount_price}`),
|
||||
},
|
||||
{
|
||||
title: '支付方式',
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
<n-col :span="24">
|
||||
<div flex>
|
||||
<n-card w-500>
|
||||
<n-statistic label="订单流水(积分)" tabular-nums>
|
||||
<n-statistic label="订单流水(元)" tabular-nums>
|
||||
<n-number-animation :from="0" :to="cardData.total" />
|
||||
</n-statistic>
|
||||
</n-card>
|
||||
<n-card ml-10 w-500>
|
||||
<n-statistic label="订单服务费(积分)" tabular-nums>
|
||||
<n-statistic label="订单服务费(元)" tabular-nums>
|
||||
<n-number-animation :from="0" :to="cardData.service" />
|
||||
</n-statistic>
|
||||
</n-card>
|
||||
@@ -139,13 +139,13 @@ const getList = async () => {
|
||||
key: 'oid',
|
||||
align: 'center',
|
||||
},
|
||||
// {
|
||||
// title: '用户名称',
|
||||
// key: 'user_name',
|
||||
// align: 'center',
|
||||
// },
|
||||
{
|
||||
title: '用户名称',
|
||||
key: 'user_name',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
title: '上次留存积分',
|
||||
title: '上次留存余额',
|
||||
key: 'balance',
|
||||
align: 'center',
|
||||
},
|
||||
@@ -155,13 +155,13 @@ const getList = async () => {
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
title: '获取积分',
|
||||
title: '获取余额',
|
||||
key: 'number',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
title: '时间',
|
||||
key: 'record_time',
|
||||
key: 'add_time',
|
||||
align: 'center',
|
||||
},
|
||||
]
|
||||
@@ -174,18 +174,18 @@ const getList = async () => {
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
title: '上次留存积分',
|
||||
title: '上次留存余额',
|
||||
key: 'balance',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
title: '扣除积分',
|
||||
title: '扣除余额',
|
||||
key: 'record_number',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
title: '时间',
|
||||
key: 'record_time',
|
||||
key: 'add_time',
|
||||
align: 'center',
|
||||
},
|
||||
]
|
||||
@@ -198,18 +198,18 @@ const getList = async () => {
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
title: '上次留存积分',
|
||||
title: '上次留存余额',
|
||||
key: 'balance',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
title: '获取积分',
|
||||
title: '获取余额',
|
||||
key: 'record_number',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
title: '时间',
|
||||
key: 'record_time',
|
||||
key: 'add_time',
|
||||
align: 'center',
|
||||
},
|
||||
]
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
const Layout = () => import('@/layout/index.vue')
|
||||
|
||||
export default {
|
||||
name: '积分管理',
|
||||
name: '余额管理',
|
||||
path: '/settlement',
|
||||
component: Layout,
|
||||
redirect: 'jf_list',
|
||||
meta: {
|
||||
title: '积分管理',
|
||||
title: '余额管理',
|
||||
icon: 'mdi:account-multiple',
|
||||
order: 10,
|
||||
},
|
||||
@@ -16,7 +16,7 @@ export default {
|
||||
path: 'jf_list',
|
||||
component: () => import('./jf_list/index.vue'),
|
||||
meta: {
|
||||
title: '积分明细',
|
||||
title: '余额明细',
|
||||
icon: 'mdi:account-multiple',
|
||||
order: 10,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user