From 0dc5c0bdd11ffbc6f6702ab062b2a6b54bf10642 Mon Sep 17 00:00:00 2001 From: liaoxinyu Date: Mon, 16 Mar 2026 17:58:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/invoice.js | 24 +++++ src/view/invoice/headlist.vue | 161 ++++++++++++++++++++++++++++++---- src/view/invoice/reqlist.vue | 31 ++++++- 3 files changed, 197 insertions(+), 19 deletions(-) diff --git a/src/api/invoice.js b/src/api/invoice.js index 1467bb0..18e8689 100644 --- a/src/api/invoice.js +++ b/src/api/invoice.js @@ -47,3 +47,27 @@ export const getcancel = (params) => { params: params }) } + +/** + * 开票失败 + * @returns {wx.RequestTask | never} + */ +export const restart = (params) => { + return axios.request({ + url: 'InvoiceIssuance/restart', + method: 'get', + params: params + }) +} + +/** + * 新增/编辑发票抬头 + * @returns {wx.RequestTask | never} + */ +export const InvoiceHeadsave = (data) => { + return axios.request({ + url: 'InvoiceHead/save', + method: 'post', + data + }) +} diff --git a/src/view/invoice/headlist.vue b/src/view/invoice/headlist.vue index 9eb14bc..0d33473 100644 --- a/src/view/invoice/headlist.vue +++ b/src/view/invoice/headlist.vue @@ -17,15 +17,20 @@ -
- - - - +
+
+ + + + +
+
+ +
@@ -37,11 +42,40 @@ + + +
+ + + + + + {{item.name}} + + + + + + + + + + + + + + +
+
+ + +
+