Commit 380913b60bd452e53f2afd27b2fddec398ca0c75
1 parent
62839810
设计修改
Showing
6 changed files
with
51 additions
and
19 deletions
src/router/index.js
| @@ -25,7 +25,10 @@ export default new Router({ | @@ -25,7 +25,10 @@ export default new Router({ | ||
| 25 | { | 25 | { |
| 26 | path: '/parkRecord', | 26 | path: '/parkRecord', |
| 27 | name: 'parkRecord', | 27 | name: 'parkRecord', |
| 28 | - component: () => import("@/views/parkPay/parkRecord.vue") | 28 | + component: () => import("@/views/parkPay/parkRecord.vue"), |
| 29 | + meta:{ | ||
| 30 | + title:'停车缴费' | ||
| 31 | + } | ||
| 29 | }, | 32 | }, |
| 30 | { | 33 | { |
| 31 | path: '/plateNumber', | 34 | path: '/plateNumber', |
| @@ -39,35 +42,50 @@ export default new Router({ | @@ -39,35 +42,50 @@ export default new Router({ | ||
| 39 | { | 42 | { |
| 40 | path: '/orderPay', | 43 | path: '/orderPay', |
| 41 | name: 'orderPay', | 44 | name: 'orderPay', |
| 42 | - component: () => import("@/views/parkPay/orderPay.vue") | 45 | + component: () => import("@/views/parkPay/orderPay.vue"), |
| 46 | + meta:{ | ||
| 47 | + title:'停车缴费' | ||
| 48 | + } | ||
| 43 | }, | 49 | }, |
| 44 | 50 | ||
| 45 | // ---------------- 电子发票导航 | 51 | // ---------------- 电子发票导航 |
| 46 | { | 52 | { |
| 47 | path: '/eInvoiceWrap', | 53 | path: '/eInvoiceWrap', |
| 48 | name: 'eInvoiceWrap', | 54 | name: 'eInvoiceWrap', |
| 49 | - component: () => import("@/views/eInvoice/eInvoiceWrap.vue") | 55 | + component: () => import("@/views/eInvoice/eInvoiceWrap.vue"), |
| 56 | + meta:{ | ||
| 57 | + title:'电子发票' | ||
| 58 | + } | ||
| 50 | }, | 59 | }, |
| 51 | 60 | ||
| 52 | // ---------------- 停车发票 | 61 | // ---------------- 停车发票 |
| 53 | { | 62 | { |
| 54 | path: '/parkInvoice', | 63 | path: '/parkInvoice', |
| 55 | name: 'parkInvoice', | 64 | name: 'parkInvoice', |
| 56 | - component: () => import("@/views/eInvoice/parkInvoice/parkInvoice.vue") | 65 | + component: () => import("@/views/eInvoice/parkInvoice/parkInvoice.vue"), |
| 66 | + meta:{ | ||
| 67 | + title:'电子发票' | ||
| 68 | + } | ||
| 57 | }, | 69 | }, |
| 58 | 70 | ||
| 59 | // ---------------- 填写发票 | 71 | // ---------------- 填写发票 |
| 60 | { | 72 | { |
| 61 | path: '/fill', | 73 | path: '/fill', |
| 62 | name: 'fill', | 74 | name: 'fill', |
| 63 | - component: () => import("@/views/eInvoice/common/fill.vue") | 75 | + component: () => import("@/views/eInvoice/common/fill.vue"), |
| 76 | + meta:{ | ||
| 77 | + title:'电子发票' | ||
| 78 | + } | ||
| 64 | }, | 79 | }, |
| 65 | 80 | ||
| 66 | // ---------------- 发票操作 | 81 | // ---------------- 发票操作 |
| 67 | { | 82 | { |
| 68 | path: '/invoiceOpt', | 83 | path: '/invoiceOpt', |
| 69 | name: 'invoiceOpt', | 84 | name: 'invoiceOpt', |
| 70 | - component: () => import("@/views/eInvoice/invoiceOpt/invoiceOpt.vue") | 85 | + component: () => import("@/views/eInvoice/invoiceOpt/invoiceOpt.vue"), |
| 86 | + meta:{ | ||
| 87 | + title:'电子发票' | ||
| 88 | + } | ||
| 71 | }, | 89 | }, |
| 72 | 90 | ||
| 73 | 91 | ||
| @@ -75,28 +93,40 @@ export default new Router({ | @@ -75,28 +93,40 @@ export default new Router({ | ||
| 75 | { | 93 | { |
| 76 | path: '/checkEdit', | 94 | path: '/checkEdit', |
| 77 | name: 'checkEdit', | 95 | name: 'checkEdit', |
| 78 | - component: () => import("@/views/eInvoice/invoiceOpt/checkEdit.vue") | 96 | + component: () => import("@/views/eInvoice/invoiceOpt/checkEdit.vue"), |
| 97 | + meta:{ | ||
| 98 | + title:'电子发票' | ||
| 99 | + } | ||
| 79 | }, | 100 | }, |
| 80 | 101 | ||
| 81 | // ---------------- 个人发票历史记录 | 102 | // ---------------- 个人发票历史记录 |
| 82 | { | 103 | { |
| 83 | path: '/invoiceRecord', | 104 | path: '/invoiceRecord', |
| 84 | name: 'invoiceRecord', | 105 | name: 'invoiceRecord', |
| 85 | - component: () => import("@/views/eInvoice/invoiceRecord/invoiceRecord.vue") | 106 | + component: () => import("@/views/eInvoice/invoiceRecord/invoiceRecord.vue"), |
| 107 | + meta:{ | ||
| 108 | + title:'电子发票' | ||
| 109 | + } | ||
| 86 | }, | 110 | }, |
| 87 | 111 | ||
| 88 | // ---------------- 个人发票历史查看 | 112 | // ---------------- 个人发票历史查看 |
| 89 | { | 113 | { |
| 90 | path: '/invoiceDetail', | 114 | path: '/invoiceDetail', |
| 91 | name: 'invoiceDetail', | 115 | name: 'invoiceDetail', |
| 92 | - component: () => import("@/views/eInvoice/invoiceRecord/invoiceDetail.vue") | 116 | + component: () => import("@/views/eInvoice/invoiceRecord/invoiceDetail.vue"), |
| 117 | + meta:{ | ||
| 118 | + title:'电子发票' | ||
| 119 | + } | ||
| 93 | }, | 120 | }, |
| 94 | 121 | ||
| 95 | // ---------------- 电子包含交易 | 122 | // ---------------- 电子包含交易 |
| 96 | { | 123 | { |
| 97 | path: '/exchange', | 124 | path: '/exchange', |
| 98 | name: 'exchange', | 125 | name: 'exchange', |
| 99 | - component: () => import("@/views/eInvoice/invoiceRecord/exchange.vue") | 126 | + component: () => import("@/views/eInvoice/invoiceRecord/exchange.vue"), |
| 127 | + meta:{ | ||
| 128 | + title:'电子发票' | ||
| 129 | + } | ||
| 100 | }, | 130 | }, |
| 101 | 131 | ||
| 102 | 132 |
src/utils/utils.js
| @@ -209,7 +209,7 @@ export default { | @@ -209,7 +209,7 @@ export default { | ||
| 209 | deviceInfo: this.myDeviceInfo, | 209 | deviceInfo: this.myDeviceInfo, |
| 210 | salt: salt, | 210 | salt: salt, |
| 211 | sign_type: "md5", | 211 | sign_type: "md5", |
| 212 | - token: sessionStorage.getItem("wx_Token"), //c23849735f3442f3b95f7bec816317ae "63a193ae1db543fab63052348cbcfa1d" sessionStorage.getItem("wx_Token") | 212 | + token: sessionStorage.getItem("wx_Token"), //9fd5ac0540fc4ad8b3bdd8b11c237ef4 sessionStorage.getItem("wx_Token") |
| 213 | orgId: this.myOrgId | 213 | orgId: this.myOrgId |
| 214 | }; | 214 | }; |
| 215 | return reqData; | 215 | return reqData; |
src/views/eInvoice/common/fill.vue
| @@ -37,7 +37,7 @@ | @@ -37,7 +37,7 @@ | ||
| 37 | </swiper> | 37 | </swiper> |
| 38 | 38 | ||
| 39 | <div style="padding: 15px"> | 39 | <div style="padding: 15px"> |
| 40 | - <x-button type="warn" @click.native="fillBtn">确定</x-button> | 40 | + <x-button type="primary" @click.native="fillBtn">确定</x-button> |
| 41 | </div> | 41 | </div> |
| 42 | 42 | ||
| 43 | </div> | 43 | </div> |
src/views/eInvoice/invoiceOpt/invoiceOpt.vue
| @@ -33,7 +33,7 @@ | @@ -33,7 +33,7 @@ | ||
| 33 | </div> | 33 | </div> |
| 34 | </group> | 34 | </group> |
| 35 | </div> | 35 | </div> |
| 36 | - <x-button type="warn" style="border-radius: 0" @click.native="toFill">新增抬头</x-button> | 36 | + <x-button type="primary" style="border-radius: 0" @click.native="toFill">新增抬头</x-button> |
| 37 | 37 | ||
| 38 | <div transfer-dom> | 38 | <div transfer-dom> |
| 39 | <confirm v-model="deleShow" | 39 | <confirm v-model="deleShow" |
src/views/eInvoice/parkInvoice/parkInvoice.vue
| @@ -5,7 +5,7 @@ | @@ -5,7 +5,7 @@ | ||
| 5 | <p>暂无发票抬头,请添加发票抬头才可以发票哦</p> | 5 | <p>暂无发票抬头,请添加发票抬头才可以发票哦</p> |
| 6 | 6 | ||
| 7 | <div style="padding: 10px;"> | 7 | <div style="padding: 10px;"> |
| 8 | - <x-button type="warn" @click.native="$router.push('fill')">添加发票抬头</x-button> | 8 | + <x-button type="primary" @click.native="$router.push('fill')">添加发票抬头</x-button> |
| 9 | </div> | 9 | </div> |
| 10 | </div> | 10 | </div> |
| 11 | <div class="inovice-main" v-else> | 11 | <div class="inovice-main" v-else> |
| @@ -74,7 +74,7 @@ | @@ -74,7 +74,7 @@ | ||
| 74 | <check-icon :value.sync="isAllChecked"> 全选</check-icon> | 74 | <check-icon :value.sync="isAllChecked"> 全选</check-icon> |
| 75 | </div> | 75 | </div> |
| 76 | 76 | ||
| 77 | - <x-button type="warn" style="width: 160px;float: right;height: 60px;border-radius: 0" | 77 | + <x-button type="primary" style="width: 160px;float: right;height: 60px;border-radius: 0" |
| 78 | @click.native="openTicket">提交开票 | 78 | @click.native="openTicket">提交开票 |
| 79 | </x-button> | 79 | </x-button> |
| 80 | </div> | 80 | </div> |
| @@ -156,9 +156,9 @@ export default { | @@ -156,9 +156,9 @@ export default { | ||
| 156 | remark: data.remark, //备注谢谢 | 156 | remark: data.remark, //备注谢谢 |
| 157 | custName: data.name, // 发票抬头 | 157 | custName: data.name, // 发票抬头 |
| 158 | custEmail:data.email, // 邮箱 | 158 | custEmail:data.email, // 邮箱 |
| 159 | - invoiceTotalFee: this.totalPrice, // 总金额 | 159 | + invoiceTotalFee: this.totalPrice.toString(), // 总金额 |
| 160 | invoiceKind: "0", | 160 | invoiceKind: "0", |
| 161 | - orderList: finalArr | 161 | + orderList: JSON.stringify(finalArr) |
| 162 | }; | 162 | }; |
| 163 | }else{ | 163 | }else{ |
| 164 | obj = { | 164 | obj = { |
| @@ -167,7 +167,7 @@ export default { | @@ -167,7 +167,7 @@ export default { | ||
| 167 | custName: data.name, // 发票抬头 | 167 | custName: data.name, // 发票抬头 |
| 168 | custCardNo: data.cardNo, // 开户账户 | 168 | custCardNo: data.cardNo, // 开户账户 |
| 169 | custPhone: data.phone, // 电话 | 169 | custPhone: data.phone, // 电话 |
| 170 | - invoiceTotalFee: this.totalPrice, // 总金额 | 170 | + invoiceTotalFee: this.totalPrice.toString(), // 总金额 |
| 171 | custEmail: data.email, // 邮箱 | 171 | custEmail: data.email, // 邮箱 |
| 172 | custAddress: data.address, // 地址 | 172 | custAddress: data.address, // 地址 |
| 173 | custBankName: data.bankName, // 开户银行 | 173 | custBankName: data.bankName, // 开户银行 |
| @@ -183,6 +183,7 @@ export default { | @@ -183,6 +183,7 @@ export default { | ||
| 183 | console.log(response); | 183 | console.log(response); |
| 184 | 184 | ||
| 185 | if(response.code==0){ | 185 | if(response.code==0){ |
| 186 | + this.queryCustInvoiceInfoList(); // 获取抬头 | ||
| 186 | this.queryRntPayOrderForInvoice() | 187 | this.queryRntPayOrderForInvoice() |
| 187 | this.$vux.toast.text(response. message, 'top') | 188 | this.$vux.toast.text(response. message, 'top') |
| 188 | }else{ | 189 | }else{ |
src/views/mySelf/selfNav.vue
| @@ -259,7 +259,8 @@ export default { | @@ -259,7 +259,8 @@ export default { | ||
| 259 | let _token = sessionStorage.getItem("wx_Token"); | 259 | let _token = sessionStorage.getItem("wx_Token"); |
| 260 | if (_token) { | 260 | if (_token) { |
| 261 | if(path=='plateNumber'){ | 261 | if(path=='plateNumber'){ |
| 262 | - window.location.href = 'http://wxgzh.renniting.cn/wechatwuxi/WuXi/gzh/index.html' | 262 | + window.location.href = 'http://wxgzh.renniting.cn/wechatwuxi/WUXIZLYH/GZH/index.html' |
| 263 | + // http://wxgzh.renniting.cn/wechatwuxi/WUXIZLYH/GZH/index.html#/selfNav | ||
| 263 | }else{ | 264 | }else{ |
| 264 | this.$router.push({ | 265 | this.$router.push({ |
| 265 | path: path | 266 | path: path |