diff --git a/resources/views/business/pages/financial-operations/process-details-content.blade.php b/resources/views/business/pages/financial-operations/process-details-content.blade.php index 567bed8c..13ffcca5 100644 --- a/resources/views/business/pages/financial-operations/process-details-content.blade.php +++ b/resources/views/business/pages/financial-operations/process-details-content.blade.php @@ -1997,7 +1997,6 @@ if (loading) return; loading = true; detailHost.hidden = false; - summaryPanel.hidden = true; detailHost.classList.add('is-loading'); detailHost.setAttribute('aria-busy', 'true'); setTabState(true); @@ -2066,7 +2065,7 @@ const detailLink = event.target.closest('a[data-approval-summary-detail-link]'); if (!detailLink) return; event.preventDefault(); - showDetail(detailLink.href); + showDetail(detailLink.href, false); }); root.addEventListener('submit', (event) => { diff --git a/tests/Feature/Business/ProcessDetailsPageTest.php b/tests/Feature/Business/ProcessDetailsPageTest.php index 99d17a24..56708a26 100644 --- a/tests/Feature/Business/ProcessDetailsPageTest.php +++ b/tests/Feature/Business/ProcessDetailsPageTest.php @@ -277,6 +277,8 @@ class ProcessDetailsPageTest extends FeatureTestCase ->assertSee('表一 · 审批单汇总') ->assertSee('表二 · 费用明细') ->assertSee('data-approval-summary-detail-link', false) + ->assertSee('showDetail(detailLink.href, false)', false) + ->assertDontSee('summaryPanel.hidden = true', false) ->assertSee($businessId) ->assertSee('