diff --git a/src/api/application.js b/src/api/application.js index 22e3b3f..bfc2842 100644 --- a/src/api/application.js +++ b/src/api/application.js @@ -18,7 +18,29 @@ export function tbPrintMachine(data, method = "post") { // 开票 export function getbinding(data) { return request({ - url: "/api/tbShopInfo/binding", + url: "/api/invoice/binding", + method: "post", + data: { + shopId: localStorage.getItem("shopId"), + ...data + } + }); +} +// 获取数电发票类型 +export function getdigitalInvoice(data) { + return request({ + url: "/api/invoice/digitalInvoice", + method: "post", + data: { + shopId: localStorage.getItem("shopId"), + ...data + } + }); +} +// 获取项目分类 +export function getindustry(data) { + return request({ + url: "/api/invoice/industry", method: "post", data: { shopId: localStorage.getItem("shopId"), diff --git a/src/views/application/index.vue b/src/views/application/index.vue index ebb48f2..585417c 100644 --- a/src/views/application/index.vue +++ b/src/views/application/index.vue @@ -2,15 +2,6 @@
-