退款审核功能:待交接取消不再自动退款,改为客服审核后原路退回
- 租客在待交接状态取消订单不再自动退款,改为 refund_status=pending_review - 新增退款审核页面 /admin/orders/refund-review,客服可逐个审核 - 新增 POST /refund/approve 通过退款、POST /refund/reject 驳回退款 - 新增 GET /orders/refund-pending 查询待审核退款订单列表 - 优化状态标签表述:已取消→租客已取消、已关闭→客服已关闭、异常→客服介入 - 新增 refund_status: pending_review 及其前端标签「待客服审核退款」 - AdminOrderDetailView 退款状态改用统一 refundStatusLabel
This commit is contained in:
@@ -35,10 +35,10 @@ const orderStatusOptions = [
|
||||
{ label: '待租客确认修正', value: 'pending_checkout_accept' },
|
||||
{ label: '结账争议中', value: 'checkout_disputing' },
|
||||
{ label: '申诉中', value: 'disputing' },
|
||||
{ label: '异常', value: 'abnormal' },
|
||||
{ label: '客服介入', value: 'abnormal' },
|
||||
{ label: '已完成', value: 'completed' },
|
||||
{ label: '已关闭', value: 'closed' },
|
||||
{ label: '已取消', value: 'cancelled' },
|
||||
{ label: '客服已关闭', value: 'closed' },
|
||||
{ label: '租客已取消', value: 'cancelled' },
|
||||
] as const
|
||||
|
||||
const handoffStatusOptions = [
|
||||
@@ -60,8 +60,8 @@ const settlementStatusOptions = [
|
||||
{ label: '冻结中', value: 'frozen' },
|
||||
{ label: '已结算', value: 'settled' },
|
||||
{ label: '已退款', value: 'refunded' },
|
||||
{ label: '已取消', value: 'cancelled' },
|
||||
{ label: '已关闭', value: 'closed' },
|
||||
{ label: '结算已取消', value: 'cancelled' },
|
||||
{ label: '结算已关闭', value: 'closed' },
|
||||
{ label: '争议中', value: 'disputed' },
|
||||
{ label: '已仲裁', value: 'arbitrated' },
|
||||
] as const
|
||||
|
||||
Reference in New Issue
Block a user