src/views/Home/Home.vue
@@ -550,12 +550,15 @@ }); } function handleGoDownloadInvoice(row: API.GetInsurancePageOutput) { router.push({ name: 'InsureDownloadInvoice', params: { id: row.id, }, }); async function handleGoDownloadInvoice(row: API.GetInsurancePageOutput) { try { await insuranceOrderServices.getInvoiceId({ id: row.id }); router.push({ name: 'InsureDownloadInvoice', params: { id: row.id, }, }); } catch (error) {} } </script>