From 8a822e829dec4176a75cecec9971f321bb3b5ae6 Mon Sep 17 00:00:00 2001
From: zhoulinf <2507241354@qq.com>
Date: Mon, 4 Nov 2024 11:09:50 +0800
Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E5=8D=95=E6=89=B9=E6=AC=A1=E5=88=97?=
=?UTF-8?q?=E8=A1=A8=EF=BC=8C=E5=B7=A5=E5=8D=95=E6=89=B9=E6=AC=A1=E8=AF=A6?=
=?UTF-8?q?=E6=83=85?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/mine.js | 16 +-
src/router/index.js | 8 +
src/utils/http.js | 2 +-
src/views/index/invoiceInfo.vue | 207 +++++++++++++++++++++++
src/views/index/invoicingDetail.vue | 206 ++++++++++++++++++-----
src/views/index/invoicingNotify.vue | 245 +++++++++++++++++++++++-----
6 files changed, 594 insertions(+), 90 deletions(-)
create mode 100644 src/views/index/invoiceInfo.vue
diff --git a/src/api/mine.js b/src/api/mine.js
index a4874cde..276e46bd 100644
--- a/src/api/mine.js
+++ b/src/api/mine.js
@@ -147,21 +147,29 @@ export function deleteImage(data){
//开票通知列表
export function notifyInvoiceList(data){
return request({
- url:'/supplierAppV2/dispatchApp/accountRecord/notifyInvoiceList',
+ url:'/order/taskInvoiceBatch/selectPageList',
method:'POST',
- contentType:'application/json',
data
})
}
+// contentType:'application/json',
//开票通知详情
export function notifyInvoiceDetail(data){
return request({
- url:'/supplierAppV2/dispatchApp/accountRecord/notifyInvoiceDetail',
+ url:'/order/taskInvoiceBatch/selectById',
method:'POST',
- contentType:'application/json',
data
})
}
+// 关联案件
+export function getOrderListByInvoice(data) {
+ return request({
+ url:'/order/taskOrderCostHisRecord/selectPageList',
+ method:'POST',
+ data
+ })
+}
+
// 调度app获取新签列表
export function pageList(data){
return request({
diff --git a/src/router/index.js b/src/router/index.js
index 4c518cfa..31e2c509 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -88,6 +88,14 @@ const routes = [
title: '工单批次'
}
},
+ {
+ path: "/invoiceInfo",
+ name: 'invoiceInfo',
+ component: () => import('@/views/index/invoiceInfo.vue'),
+ meta: {
+ title: '开票信息'
+ }
+ },
{
path: "/invoicingDetail",
name: 'invoicingDetail',
diff --git a/src/utils/http.js b/src/utils/http.js
index 2f557285..bf50a91d 100644
--- a/src/utils/http.js
+++ b/src/utils/http.js
@@ -25,7 +25,7 @@ service.interceptors.request.use(
if (reqUrl.includes("/driverApp")) {
// console.log("司机app")
config.headers['token'] = `${token}`;
- } else if(reqUrl.includes("/supplierApp") || reqUrl.includes("/supplierKPI") || reqUrl.includes('/supplier/select')){
+ } else if(reqUrl.includes("/supplierApp") || reqUrl.includes("/supplierKPI") || reqUrl.includes('/supplier/select') || reqUrl.includes('/order')){
// console.log("调度app,服务商kpi")
config.headers['Authorization'] = `${token}`;
}else{
diff --git a/src/views/index/invoiceInfo.vue b/src/views/index/invoiceInfo.vue
new file mode 100644
index 00000000..4074a8a1
--- /dev/null
+++ b/src/views/index/invoiceInfo.vue
@@ -0,0 +1,207 @@
+
+
+
+
案件编号 | +服务类型 | +结算类型 | +
---|---|---|
+ {{item.orderCode}}
+ ![]() |
+ {{item.serviceType || ''}} | +{{item.settleAmount || ''}} | +