From 5231c351723a2f5e567067bb7448937b3edfc71c Mon Sep 17 00:00:00 2001 From: guoxing <1369478551@qq.com> Date: Thu, 14 Mar 2024 18:02:01 +0800 Subject: [PATCH] 1111 --- src/api/invoiceReview/invoiceReview.js | 30 ++ src/layout/components/Sidebar/index.vue | 10 + src/router/index.js | 14 + src/views/invoiceReview/index.vue | 614 ++++++++++++++++++++++++ 4 files changed, 668 insertions(+) create mode 100644 src/api/invoiceReview/invoiceReview.js create mode 100644 src/views/invoiceReview/index.vue diff --git a/src/api/invoiceReview/invoiceReview.js b/src/api/invoiceReview/invoiceReview.js new file mode 100644 index 0000000..30be512 --- /dev/null +++ b/src/api/invoiceReview/invoiceReview.js @@ -0,0 +1,30 @@ +import request from '@/utils/request' + +export default { + + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/invoicerecords/listPage', + method: 'post', + data: params, + }) + }, + + // 获取订单详情 + getOrderDetails: function(params) { + return request({ + url: '/empsreservoorder/OrderDetailsNew/'+params, + method: 'get' + }) + }, + + // 审核发票 + toExamine: function(params) { + return request({ + url: '/invoicerecords/toExamine', + method: 'post', + data: params, + }) + }, +} \ No newline at end of file diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue index 5235676..82adddb 100644 --- a/src/layout/components/Sidebar/index.vue +++ b/src/layout/components/Sidebar/index.vue @@ -465,6 +465,16 @@ name: '/authentication/index', path: '/authentication/index' }, + { + alwaysShow: true, + component: 'appletBanner', + meta: { + icon: 'el-icon-menu', + title: '发票申请审核' + }, + name: '/invoiceReview/index', + path: '/invoiceReview/index' + }, // { // alwaysShow: true, // component: 'OrdertoolsIndex', diff --git a/src/router/index.js b/src/router/index.js index 028ab5f..1498186 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -513,6 +513,20 @@ export const constantRoutes = [{ } }, ] }, + { + path: '/invoiceReview', + component: Layout, + redirect: '/invoiceReview/index', + children: [{ + path: '/invoiceReview/index', + component: () => + import('@/views/invoiceReview/index.vue'), + name: 'AuthenticationIndex', + meta: { + title: '发票申请审核' + } + }, ] + }, // { // path: '/ordertools', // component: Layout, diff --git a/src/views/invoiceReview/index.vue b/src/views/invoiceReview/index.vue new file mode 100644 index 0000000..4401a48 --- /dev/null +++ b/src/views/invoiceReview/index.vue @@ -0,0 +1,614 @@ + + + + + + + + {{ searchxianshitit }} + + + + + + + + + + 查询 + 重置 + + + + + + 发票列表 + + + + + + + + + + 审核 + + + + + + + + + {{ scope.row.outTradeNo }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + 发票类型 + + + + + {{itemInfo.invoiceType}} + + + + + 抬头类型 + + + + + {{itemInfo.headingType}} + + + + + + + + 发票抬头 + + + + + {{itemInfo.invoiceHeader}} + + + + + 税号 + + + + + {{itemInfo.dutyParagraph}} + + + + + + + + 开户银行 + + + + + {{itemInfo.bankOfDeposit}} + + + + + 银行账号 + + + + + {{itemInfo.bankAccount}} + + + + + + + + 企业地址 + + + + + {{itemInfo.enterpriseAddress}} + + + + + 企业电话 + + + + + {{itemInfo.enterprisePhone}} + + + + + + + 发票金额 + + + + + {{itemInfo.totalTee}} + + + + + 订单编号 + + + + + {{itemInfo.outTradeNo}} + + + + + + + + + + 审核结果 + + + + + + 同意 + 拒绝 + + + + + + + + 审核意见 + + + + + + + + + + + + + 确 定 + + + + + + + + + + 订单信息 + + + + + 订单编号 + + + + + {{orderInfo.outTradeNo}} + + + + + + + + 下单时间 + + + + + {{orderInfo.createTime}} + + + + + + 付款时间 + + + + + {{orderInfo.payTime}} + + + + + + + 支付方式 + + + + + {{orderInfo.payType}} + + + + + 实付金额 + + + + + {{orderInfo.meet}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 确 定 + + + + + + + + + + \ No newline at end of file