refactor(after-sale): replace review decisions with direct status panel
售后面板改为状态下拉(待审核/处理中/已完成/已拒绝/已取消)加确认/取消按钮:取消仅收起手风琴,确认为纯状态更新;删除已通过状态、review() 决策机制及其专用退款流水线,无双路无迁移;举证图片并入申请说明列与详情整行。
This commit is contained in:
@@ -261,7 +261,7 @@ class UserOrders {
|
||||
: [];
|
||||
$settings = is_array($settings) ? $settings : [];
|
||||
|
||||
$open_statuses = ['pending', 'processing', 'approved'];
|
||||
$open_statuses = ['pending', 'processing'];
|
||||
$latest = null;
|
||||
$open = false;
|
||||
if ($service !== null) {
|
||||
@@ -287,7 +287,7 @@ class UserOrders {
|
||||
$has_application = $latest !== null;
|
||||
|
||||
// 可再次申请售后的状态判定(按工单状态推理,不再以「不能再申请」为常态):
|
||||
// - pending / processing / approved:工单仍在流转(待审核 / 处理中 / 已通过待退款),不允许重复申请;
|
||||
// - pending / processing:工单仍在流转(待审核 / 处理中),不允许重复申请;
|
||||
// - rejected:审核未通过,允许补充资料后再次申请;
|
||||
// - cancelled:用户自行取消,允许重新发起;
|
||||
// - completed:退款已完成,工单终结,不允许再次申请。
|
||||
|
||||
Reference in New Issue
Block a user