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

@@ -7,11 +7,13 @@
- **已修复**不改变平台端管理后台原有的订单管理功能页
- **已修复**在平台端管理后台左侧的订单目录下加入移植过来的功能页面菜单
## 订单相关
- **已修复**1. 新增“订单打印”功能点击订单打印按钮不同于打印小票新打开一个订单详情含商品信息收货信息的单独页面不需要页面layout点击页面上的“打印”按钮可以直接使用浏览器打印
- **已修复**2. 订单打印详情页中的商品相关信息使用eb_sync_order_detail_staging中的product_nameinfo字段的商品详细信息
## 测试问题(平台管理后台)
- **已修复**商户订单页面order/merchantList点击详情等按钮提示“订单不存在”

View File

@@ -82,6 +82,9 @@ public class MerchantOrderPageResponse implements Serializable {
@ApiModelProperty(value = "订单商品总数")
private Integer totalNum;
@ApiModelProperty(value = "使用积分")
private Integer useIntegral;
@ApiModelProperty(value = "商户备注")
private String merchantRemark;

View File

@@ -124,7 +124,7 @@
<select id="getMerchantAdminPage" resultType="com.zbkj.common.response.MerchantOrderPageResponse" parameterType="Map">
select o.mer_id as merId, o.order_no as orderNo, o.uid, o.pay_price as payPrice, o.pay_type as payType, o.paid,
o.status, o.refund_status as refundStatus, o.is_user_del as isUserDel, o.total_num as totalNum,
o.status, o.refund_status as refundStatus, o.is_user_del as isUserDel, o.total_num as totalNum, o.use_integral as useIntegral,
o.cancel_status as cancelStatus, o.level, o.type, o.create_time as createTime,o.second_type as secondType, o.group_buy_record_status as groupBuyRecordStatus,
o.cancel_status as cancelStatus, o.level, o.type, o.create_time as createTime,o.second_type as secondType,
mo.merchant_remark as merchantRemark, mo.verify_code as verifyCode, mo.shipping_type as shippingType,

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