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}} + + + + + + + + + + + + + + +
+
+ + +
+