diff --git a/resources/views/admin/platform_orders/index.blade.php b/resources/views/admin/platform_orders/index.blade.php
index efba819..af6d1b2 100644
--- a/resources/views/admin/platform_orders/index.blade.php
+++ b/resources/views/admin/platform_orders/index.blade.php
@@ -1639,7 +1639,7 @@
@endphp
@if($refundTotal > 0)
@if($isRefundInconsistent)
- @php $refundFixUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $order->id, $selfWithoutBack, 'add-refund-receipt'); @endphp
+ @php $refundFixUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $order->id, $selfWithoutBack, 'refund-receipts'); @endphp
¥{{ number_format($refundTotal, 2) }}
疑似不一致
@@ -1672,7 +1672,7 @@
$needReconcileFix = (bool) $order->isReconcileMismatch();
$needRefundFix = (bool) $order->isRefundInconsistent();
$reconcileFixUrlCompact = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $order->id, $selfWithoutBack, 'add-payment-receipt');
- $refundFixUrlCompact = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $order->id, $selfWithoutBack, 'add-refund-receipt');
+ $refundFixUrlCompact = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $order->id, $selfWithoutBack, 'refund-receipts');
@endphp
@if($needReconcileFix || $needRefundFix)
diff --git a/tests/Feature/AdminPlatformOrderIndexRefundInconsistentFixLinkShouldPointToAddRefundReceiptPanelTest.php b/tests/Feature/AdminPlatformOrderIndexRefundInconsistentFixLinkShouldPointToAddRefundReceiptPanelTest.php
index ef67569..886586d 100644
--- a/tests/Feature/AdminPlatformOrderIndexRefundInconsistentFixLinkShouldPointToAddRefundReceiptPanelTest.php
+++ b/tests/Feature/AdminPlatformOrderIndexRefundInconsistentFixLinkShouldPointToAddRefundReceiptPanelTest.php
@@ -52,9 +52,10 @@ class AdminPlatformOrderIndexRefundInconsistentFixLinkShouldPointToAddRefundRece
$html = (string) $res->getContent();
- // 退款不一致集合里,行内“去核对退款”应直达追加退款回执面板(#add-refund-receipt)。
+ // 退款不一致集合里,行内“去核对退款”应锚定到退款区块(#refund-receipts),避免误打开“追加退款记录”面板。
+ // 原因:核对退款包含查看轨迹/核对金额/再决定是否追加记录,不等于直接追加。
$this->assertStringContainsString('疑似不一致', $html);
$this->assertStringContainsString('/admin/platform-orders/' . $order->id, $html);
- $this->assertStringContainsString('#add-refund-receipt', $html);
+ $this->assertStringContainsString('#refund-receipts', $html);
}
}