diff --git a/public/css/admin-components.css b/public/css/admin-components.css index 4f65a35..fd2ac7b 100644 --- a/public/css/admin-components.css +++ b/public/css/admin-components.css @@ -85,3 +85,7 @@ /* 平台订单列表:精简视图(默认隐藏部分列,避免列表过长) */ .platform-orders-table .col-optional{display:none;} .platform-orders-table.is-full .col-optional{display:table-cell;} + +/* 平台订单列表:精简视图也要可达的治理提示(对账/退款不一致) */ +.platform-orders-table .governance-hints{margin-bottom:6px;} +.platform-orders-table .governance-hint{line-height:1.4;} diff --git a/resources/views/admin/platform_orders/index.blade.php b/resources/views/admin/platform_orders/index.blade.php index 1c96fe6..abe813c 100644 --- a/resources/views/admin/platform_orders/index.blade.php +++ b/resources/views/admin/platform_orders/index.blade.php @@ -1296,8 +1296,33 @@ @endphp @php $canMarkPaid = ($order->payment_status !== 'paid') || ($order->status !== 'activated'); + + // 精简视图也要可达的“治理入口”:不要只依赖可选列(col-optional)里的提示 + $needReconcileFix = (bool) $order->isReconcileMismatch(); + $needRefundFix = (bool) $order->isRefundInconsistent(); + $reconcileFixUrlCompact = '/admin/platform-orders/' . $order->id . '?' . \Illuminate\Support\Arr::query(['back' => $selfWithoutBack]) . '#add-payment-receipt'; + $refundFixUrlCompact = '/admin/platform-orders/' . $order->id . '?' . \Illuminate\Support\Arr::query(['back' => $selfWithoutBack]) . '#refund-receipts'; @endphp + @if($needReconcileFix || $needRefundFix) +
+ @endif +