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 | 25 | { |
| 26 | 26 | path: '/parkRecord', |
| 27 | 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 | 34 | path: '/plateNumber', |
| ... | ... | @@ -39,35 +42,50 @@ export default new Router({ |
| 39 | 42 | { |
| 40 | 43 | path: '/orderPay', |
| 41 | 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 | 53 | path: '/eInvoiceWrap', |
| 48 | 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 | 63 | path: '/parkInvoice', |
| 55 | 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 | 73 | path: '/fill', |
| 62 | 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 | 83 | path: '/invoiceOpt', |
| 69 | 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 | 93 | { |
| 76 | 94 | path: '/checkEdit', |
| 77 | 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 | 104 | path: '/invoiceRecord', |
| 84 | 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 | 114 | path: '/invoiceDetail', |
| 91 | 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 | 124 | path: '/exchange', |
| 98 | 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 | 209 | deviceInfo: this.myDeviceInfo, |
| 210 | 210 | salt: salt, |
| 211 | 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 | 213 | orgId: this.myOrgId |
| 214 | 214 | }; |
| 215 | 215 | return reqData; | ... | ... |
src/views/eInvoice/common/fill.vue
src/views/eInvoice/invoiceOpt/invoiceOpt.vue
| ... | ... | @@ -33,7 +33,7 @@ |
| 33 | 33 | </div> |
| 34 | 34 | </group> |
| 35 | 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 | 38 | <div transfer-dom> |
| 39 | 39 | <confirm v-model="deleShow" | ... | ... |
src/views/eInvoice/parkInvoice/parkInvoice.vue
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | <p>暂无发票抬头,请添加发票抬头才可以发票哦</p> |
| 6 | 6 | |
| 7 | 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 | 9 | </div> |
| 10 | 10 | </div> |
| 11 | 11 | <div class="inovice-main" v-else> |
| ... | ... | @@ -74,7 +74,7 @@ |
| 74 | 74 | <check-icon :value.sync="isAllChecked"> 全选</check-icon> |
| 75 | 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 | 78 | @click.native="openTicket">提交开票 |
| 79 | 79 | </x-button> |
| 80 | 80 | </div> |
| ... | ... | @@ -156,9 +156,9 @@ export default { |
| 156 | 156 | remark: data.remark, //备注谢谢 |
| 157 | 157 | custName: data.name, // 发票抬头 |
| 158 | 158 | custEmail:data.email, // 邮箱 |
| 159 | - invoiceTotalFee: this.totalPrice, // 总金额 | |
| 159 | + invoiceTotalFee: this.totalPrice.toString(), // 总金额 | |
| 160 | 160 | invoiceKind: "0", |
| 161 | - orderList: finalArr | |
| 161 | + orderList: JSON.stringify(finalArr) | |
| 162 | 162 | }; |
| 163 | 163 | }else{ |
| 164 | 164 | obj = { |
| ... | ... | @@ -167,7 +167,7 @@ export default { |
| 167 | 167 | custName: data.name, // 发票抬头 |
| 168 | 168 | custCardNo: data.cardNo, // 开户账户 |
| 169 | 169 | custPhone: data.phone, // 电话 |
| 170 | - invoiceTotalFee: this.totalPrice, // 总金额 | |
| 170 | + invoiceTotalFee: this.totalPrice.toString(), // 总金额 | |
| 171 | 171 | custEmail: data.email, // 邮箱 |
| 172 | 172 | custAddress: data.address, // 地址 |
| 173 | 173 | custBankName: data.bankName, // 开户银行 |
| ... | ... | @@ -183,6 +183,7 @@ export default { |
| 183 | 183 | console.log(response); |
| 184 | 184 | |
| 185 | 185 | if(response.code==0){ |
| 186 | + this.queryCustInvoiceInfoList(); // 获取抬头 | |
| 186 | 187 | this.queryRntPayOrderForInvoice() |
| 187 | 188 | this.$vux.toast.text(response. message, 'top') |
| 188 | 189 | }else{ | ... | ... |
src/views/mySelf/selfNav.vue
| ... | ... | @@ -259,7 +259,8 @@ export default { |
| 259 | 259 | let _token = sessionStorage.getItem("wx_Token"); |
| 260 | 260 | if (_token) { |
| 261 | 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 | 264 | }else{ |
| 264 | 265 | this.$router.push({ |
| 265 | 266 | path: path | ... | ... |