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 @@
应用中心
-
- -
-
开票
-
- -
-
-
@@ -22,28 +13,35 @@
- + - + - -
联系区域经理开通
-
更换绑定
- +
+ + + + + + + + + + + +
联系区域经理开通
+
更换绑定
取 消 @@ -54,37 +52,63 @@ \ No newline at end of file diff --git a/src/views/order_manage/order_list.vue b/src/views/order_manage/order_list.vue index b158085..7639b8a 100644 --- a/src/views/order_manage/order_list.vue +++ b/src/views/order_manage/order_list.vue @@ -150,6 +150,8 @@ @@ -162,6 +164,8 @@ layout="total, sizes, prev, pager, next, jumper">
+ +
@@ -173,9 +177,10 @@ import dayjs from "dayjs"; import { downloadFile } from "@/utils/index"; import orderDetail from "./components/orderDetail"; +import Invoicing from "./components/Invoicing"; export default { - components: { orderDetail }, + components: { orderDetail,Invoicing }, data() { return { orderEnum,