fix(admin): 锁定已收款支付信息并支持人工退款核销

- 已收款/退款中订单禁止编辑支付状态、金额与支付方式,避免覆盖退款状态
- 退款中订单新增「确认已退款」入口,线下退款可核销为已退款
- 线上退款仍保留查询退款结果兜底
This commit is contained in:
lik
2026-11-06 17:30:29 +08:00
parent 4cbf6e7906
commit bfe820aa31
5 changed files with 64 additions and 12 deletions
+2
View File
@@ -23,6 +23,8 @@ const API = {
deleteRecord: (id) => request.delete(`/health/escort-record/${id}`),
// 退款回调丢失时的人工兜底:主动查询微信退款结果并补写终态
queryRefund: (id) => request.post(`/health/escort-record/${id}/refund/query`),
// 线下/人工退款完成后核销:确认已退款,把订单置为「已退款」
completeManualRefund: (id) => request.post(`/health/escort-record/${id}/refund/manual`),
},
healthProfile: {