From 404f42abd52a953f31ee146efd8578df88ddaa71 Mon Sep 17 00:00:00 2001 From: "MSI\\2Fi" Date: Tue, 16 Jul 2024 12:11:18 +0800 Subject: [PATCH] fallback to 2 button --- src/components/InvoiceSearch/InvoiceSearch.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/InvoiceSearch/InvoiceSearch.tsx b/src/components/InvoiceSearch/InvoiceSearch.tsx index 0e1409a..f76db96 100644 --- a/src/components/InvoiceSearch/InvoiceSearch.tsx +++ b/src/components/InvoiceSearch/InvoiceSearch.tsx @@ -86,7 +86,7 @@ const InvoiceSearch: React.FC = ({ issuedInvoice, receivedInvoice, invoic const formData = new FormData(); formData.append('multipartFileList', file); - const response = await importInvoices(formData); + const response = await importIssuedInovice(formData); // response: status, message, projectList, emptyRowList, invoiceList console.log(response) @@ -271,8 +271,8 @@ const InvoiceSearch: React.FC = ({ issuedInvoice, receivedInvoice, invoic flexWrap="wrap" spacing={2} > - {/* */} - {/* */} - {/* */} - + + {/* + */} { // tabIndex == 0 &&