补齐批次详情页抽样复核回到最新护栏
This commit is contained in:
@@ -158,6 +158,21 @@
|
||||
</div>
|
||||
@else
|
||||
<div class="muted">暂无可抽样订单(可能暂无成功单,或 last_result 尚未补齐)。</div>
|
||||
@php
|
||||
$spotAfterId = (int) request()->query('spot_after_id', 0);
|
||||
@endphp
|
||||
@if($spotAfterId > 0)
|
||||
@php
|
||||
$spotPickResetUrl = '/admin/platform-batches/show?' . \Illuminate\Support\Arr::query([
|
||||
'type' => $type,
|
||||
'run_id' => $runId,
|
||||
]);
|
||||
$spotPickResetUrl = \App\Support\BackUrl::withBack($spotPickResetUrl, $safeBackForLinks);
|
||||
@endphp
|
||||
<div class="mt-8">
|
||||
<a class="link muted-xs" data-role="batch-spot-check-reset" href="{{ $spotPickResetUrl }}">回到最新</a>
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user