From 823230cb2dc2cae3bf0779d66a479d5fb0a30cd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wei=5F=E4=BD=B3?= Date: Thu, 27 Nov 2025 11:06:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E5=8F=91=E7=A5=A8?= =?UTF-8?q?=E9=80=80=E6=AC=BE=E5=8A=9F=E8=83=BD=E5=B9=B6=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E5=8F=91=E7=A5=A8=E4=B8=8A=E4=BC=A0=E7=BB=84=E4=BB=B6=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E5=92=8C=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/api/index.js | 2 + .../transaction/invoice/InvoiceModal.vue | 17 +--- web/src/views/transaction/invoice/index.vue | 99 ++++++++++++++++--- .../audit/components/CertificateModal.vue | 16 --- 4 files changed, 88 insertions(+), 46 deletions(-) diff --git a/web/src/api/index.js b/web/src/api/index.js index 2ac5b1c..76b785e 100644 --- a/web/src/api/index.js +++ b/web/src/api/index.js @@ -52,6 +52,8 @@ export default { getInvoiceById: (params = {}) => request.get(`/transactions/receipts/${params.id}`, { params }), // 后端接口要求请求体包裹在 data 字段下 sendInvoice: (data = {}) => request.post('/transactions/send-email', { data }), + // 退款 + refundInvoice: (data = {}) => request.post('/invoice/update-status', data), // invoice headers getInvoiceHeaders: (params = {}) => request.get('/invoice/list', { params }), // valuation (估值评估) diff --git a/web/src/views/transaction/invoice/InvoiceModal.vue b/web/src/views/transaction/invoice/InvoiceModal.vue index 7e46ba0..ce01ab2 100644 --- a/web/src/views/transaction/invoice/InvoiceModal.vue +++ b/web/src/views/transaction/invoice/InvoiceModal.vue @@ -172,18 +172,16 @@ const modalTitle = props.mode === 'invoice' ? '开票' : '查看发票'
-
-
+
-
@@ -223,13 +221,4 @@ const modalTitle = props.mode === 'invoice' ? '开票' : '查看发票' color: #d9d9d9; } -:deep(.n-upload-file-list) { - display: flex; - gap: 8px; -} - -:deep(.n-upload-trigger) { - width: 100px; - height: 100px; -} diff --git a/web/src/views/transaction/invoice/index.vue b/web/src/views/transaction/invoice/index.vue index af2da5d..cc1a6eb 100644 --- a/web/src/views/transaction/invoice/index.vue +++ b/web/src/views/transaction/invoice/index.vue @@ -1,7 +1,7 @@