feat: 平台商户订单列表支持显示使用积分

补齐商户订单分页接口的 useIntegral 返回字段,并在平台商户订单列表新增“使用积分”列与列显隐配置,便于运营查看积分抵扣使用情况。

Made-with: Cursor
This commit is contained in:
AriadenCaseblg
2026-04-12 11:05:36 +08:00
parent b3d80c3c50
commit b097837aa3
4 changed files with 13 additions and 3 deletions

View File

@@ -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'), // 商家小票打印开关状态