feat: 新增充值订单独立管理模块及退款安全拦截

- 新增充值订单菜单及独立路由
- 禁用通用退款入口处理充值订单
- 完善支付场景类型及状态显示
- 补充充值退款测试用例
- 优化各模块未知状态显示提示
- 升级版本号至1.0.94
这个提交包含在:
2026-11-20 13:40:54 +08:00
父节点 8af5672aeb
当前提交 6b83afb750
共有 35 个文件被更改,包括 164 次插入 和 82 次删除

查看文件

@@ -37,7 +37,7 @@
</div>
<div class="as-meta">
<div><strong>下单客户:</strong>{$row.user.nickname|default=$row.user.username|htmlentities}({$row.mobile|htmlentities}) <strong>承接师傅:</strong>{if $row.master_id && $row.master}{$row.master.realname|htmlentities}{else/}<span class="text-muted">未指派</span>{/if}</div>
<div><strong>订单实付:</strong>¥{$row.pay_amount|htmlentities} <strong>支付渠道:</strong>{$row.pay_type|htmlentities} <strong>结算状态:</strong>{if $row.settle_status == 1}<span class="text-danger">已向师傅结算</span>{else/}<span class="text-success">未结算(可安全退款)</span>{/if}</div>
<div><strong>订单实付:</strong>¥{$row.pay_amount|htmlentities} <strong>支付渠道:</strong>{$paymentTypeLabel|htmlentities} <strong>结算状态:</strong>{if $row.settle_status == 1}<span class="text-danger">已向师傅结算</span>{else/}<span class="text-success">未结算(可安全退款)</span>{/if}</div>
</div>
</div>
@@ -76,7 +76,7 @@
{foreach name="payRows" item="po"}
<tr>
<td style="font-family:monospace;">{$po.out_trade_no|htmlentities}</td>
<td>{$po.scene|htmlentities}</td>
<td>{$po.scene_text|htmlentities}</td>
<td style="font-family:monospace;">¥{$po.amount}</td>
<td style="font-family:monospace;color:#dc2626;">¥{$po.refund_total}</td>
<td style="font-family:monospace;color:#16a34a;">¥{$po.refund_left}</td>
@@ -84,7 +84,7 @@
</tr>
{/foreach}
{else /}
<tr><td colspan="6" style="text-align:center;color:#94a3b8;padding:14px;">该订单无有效微信支付流水(如为 mock/月结渠道订单请线下人工处理)</td></tr>
<tr><td colspan="6" style="text-align:center;color:#94a3b8;padding:14px;">该订单无有效线上支付流水,请联系财务核实处理</td></tr>
{/if}
</tbody>
</table>

查看文件

@@ -241,7 +241,7 @@
<label class="control-label col-xs-12 col-sm-2">计价与支付:</label>
<div class="col-xs-12 col-sm-8">
<p class="form-control-static">
计价模式:<span class="label label-primary">{$priceTypeList[$row.price_type]|default=$row.price_type|htmlentities}</span>
计价模式:<span class="label label-primary">{$priceTypeList[$row.price_type]|default='未知类型'|htmlentities}</span>
<span class="text-muted" style="margin:0 10px;">|</span>
支付状态:
{if $row.pay_status == 1}<span class="label label-success">已支付</span>