diff --git a/src/pages/05_quotation/MainPage.vue b/src/pages/05_quotation/MainPage.vue index 6a55b3ee..6eae4b53 100644 --- a/src/pages/05_quotation/MainPage.vue +++ b/src/pages/05_quotation/MainPage.vue @@ -349,7 +349,11 @@ async function storeDataLocal(id: string) { }), ); - window.open('/quotation/document-view', '_blank'); + const url = new URL('/quotation/document-view', window.location.origin); + + url.searchParams.append('type', pageState.currentTab.toLowerCase()); + + window.open(url, '_blank'); }