feat: 平台商户订单列表支持显示使用积分
补齐商户订单分页接口的 useIntegral 返回字段,并在平台商户订单列表新增“使用积分”列与列显隐配置,便于运营查看积分抵扣使用情况。 Made-with: Cursor
This commit is contained in:
@@ -120,6 +120,11 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="payPrice" label="实际支付" min-width="80" v-if="checkedCities.includes('实际支付')" />
|
||||
<el-table-column label="使用积分" min-width="90" v-if="checkedCities.includes('使用积分')">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.useIntegral || 0 }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="支付方式" min-width="80" v-if="checkedCities.includes('支付方式')">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.payType | payTypeFilter }}</span>
|
||||
@@ -411,8 +416,8 @@ export default {
|
||||
active: false,
|
||||
card_select_show: false,
|
||||
checkAll: true,
|
||||
checkedCities: ['订单号', '商户名称', '用户昵称', '实际支付', '支付方式', '订单状态', '下单时间'],
|
||||
columnData: ['订单号', '商户名称', '用户昵称', '实际支付', '支付方式', '订单状态', '下单时间'],
|
||||
checkedCities: ['订单号', '商户名称', '用户昵称', '实际支付', '使用积分', '支付方式', '订单状态', '下单时间'],
|
||||
columnData: ['订单号', '商户名称', '用户昵称', '实际支付', '使用积分', '支付方式', '订单状态', '下单时间'],
|
||||
isIndeterminate: false,
|
||||
orderDatalist: null,
|
||||
merPrintStatus: Cookies.get('merPrint'), // 商家小票打印开关状态
|
||||
|
||||
Reference in New Issue
Block a user