From 161caeeabe06552bc6be2f0c4ae103cb39e8d9c4 Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Mon, 25 Nov 2024 10:59:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E7=A5=A8=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/application.js | 24 ++++- src/views/application/index.vue | 96 ++++++++++++------- .../order_manage/components/Invoicing.vue | 34 +++++++ src/views/order_manage/order_list.vue | 7 +- 4 files changed, 125 insertions(+), 36 deletions(-) create mode 100644 src/views/order_manage/components/Invoicing.vue 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 @@
-