chunk-1f67ac52.174eda31.js.map 14 KB

1
  1. {"version":3,"sources":["webpack:///./src/assets/icon/back.png","webpack:///./src/views/vip/vip-invoice-detail.vue","webpack:///src/views/vip/vip-invoice-detail.vue","webpack:///./src/views/vip/vip-invoice-detail.vue?4511","webpack:///./src/views/vip/vip-invoice-detail.vue?1ddd","webpack:///./src/views/vip/vip-invoice-detail.vue?32da","webpack:///./src/assets/icon/xiazai_fill_blue.png"],"names":["module","exports","render","_vm","this","_c","_self","staticClass","on","$event","$router","back","attrs","require","_v","info","bill_img","downloadFill","_e","class","green","_s","undefined","type_title","header","identify_number","money","create_at","bill_time","email","staticRenderFns","data","mounted","query","$route","getInvoiceDetail","order_id","methods","id","_this","LevelOrderService","getBillInfo","then","_ref","detail","downloadLocalFile","component"],"mappings":"mGAAAA,EAAOC,QAAU,kd,yCCAjB,IAAIC,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,OAAOC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAON,EAAIO,QAAQC,UAAU,CAACN,EAAG,MAAM,CAACO,MAAM,CAAC,IAAMC,EAAQ,WAA6BR,EAAG,OAAO,CAACF,EAAIW,GAAG,UAAUT,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,MAAM,CAACE,YAAY,SAAS,CAACJ,EAAIW,GAAG,UAAWX,EAAIY,KAAKC,SAAUX,EAAG,MAAM,CAACE,YAAY,WAAWC,GAAG,CAAC,MAAQL,EAAIc,eAAe,CAACZ,EAAG,MAAM,CAACO,MAAM,CAAC,IAAMC,EAAQ,WAAyCR,EAAG,OAAO,CAACF,EAAIW,GAAG,UAAUX,EAAIe,OAAOb,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EA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QoL69AWMxTKFh3XcFxvTkK2hYJ1KAZztoWGed0YJXwS+l+xZrSWygq5yRhzU99AzadEMZ1nSsI2jTA3VY0w/XgzZJG75qwX01+jC+Gr/V4L58Y0RgrYQrtEl/njis5XCCNq214Kc0Do7jzN9OWjlpCZJq+QAAAABJRU5ErkJggg==\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrap\"},[_c('div',{staticClass:\"wrap-content\"},[_c('div',{staticClass:\"back\",on:{\"click\":function($event){return _vm.$router.back()}}},[_c('img',{attrs:{\"src\":require(\"@/assets/icon/back.png\")}}),_c('span',[_vm._v(\"返回\")])]),_c('div',{staticClass:\"detail\"},[_c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"发票详情\")]),(_vm.info.bill_img)?_c('div',{staticClass:\"download\",on:{\"click\":_vm.downloadFill}},[_c('img',{attrs:{\"src\":require(\"@/assets/icon/xiazai_fill_blue.png\")}}),_c('span',[_vm._v(\"下载\")])]):_vm._e()]),_c('div',{staticClass:\"content\"},[_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"发票状态\")]),_c('div',{staticClass:\"value\",class:{ green: !!_vm.info.bill_img }},[_vm._v(\"\\n \"+_vm._s(_vm.info.bill_img == undefined\n ? \"-\"\n : _vm.info.bill_img\n ? \"已开票\"\n : \"开票中\")+\"\\n \")])]),_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"发票类型\")]),_c('div',{staticClass:\"value\"},[_vm._v(_vm._s(_vm.info.type_title || \"-\"))])]),_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"发票抬头\")]),_c('div',{staticClass:\"value\"},[_vm._v(_vm._s(_vm.info.header || \"-\"))])]),_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"纳税人识别号\")]),_c('div',{staticClass:\"value\"},[_vm._v(_vm._s(_vm.info.identify_number || \"-\"))])]),_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"发票金额\")]),_c('div',{staticClass:\"value\"},[_vm._v(_vm._s(_vm.info.money || \"-\"))])]),_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"申请时间\")]),_c('div',{staticClass:\"value\"},[_vm._v(_vm._s(_vm.info.create_at || \"-\"))])]),_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"开票时间\")]),_c('div',{staticClass:\"value\"},[_vm._v(_vm._s(_vm.info.bill_time || \"-\"))])]),_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"邮箱\")]),_c('div',{staticClass:\"value\"},[_vm._v(_vm._s(_vm.info.email || \"-\"))])])])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"wrap\">\r\n <div class=\"wrap-content\">\r\n <div class=\"back\" @click=\"$router.back()\">\r\n <img src=\"@/assets/icon/back.png\" /><span>返回</span>\r\n </div>\r\n <div class=\"detail\">\r\n <div class=\"header\">\r\n <div class=\"title\">发票详情</div>\r\n <div class=\"download\" v-if=\"info.bill_img\" @click=\"downloadFill\">\r\n <img src=\"@/assets/icon/xiazai_fill_blue.png\" />\r\n <span>下载</span>\r\n </div>\r\n </div>\r\n <div class=\"content\">\r\n <div class=\"item\">\r\n <div class=\"label\">发票状态</div>\r\n <div class=\"value\" :class=\"{ green: !!info.bill_img }\">\r\n {{\r\n info.bill_img == undefined\r\n ? \"-\"\r\n : info.bill_img\r\n ? \"已开票\"\r\n : \"开票中\"\r\n }}\r\n </div>\r\n </div>\r\n <div class=\"item\">\r\n <div class=\"label\">发票类型</div>\r\n <div class=\"value\">{{ info.type_title || \"-\" }}</div>\r\n </div>\r\n <div class=\"item\">\r\n <div class=\"label\">发票抬头</div>\r\n <div class=\"value\">{{ info.header || \"-\" }}</div>\r\n </div>\r\n <div class=\"item\">\r\n <div class=\"label\">纳税人识别号</div>\r\n <div class=\"value\">{{ info.identify_number || \"-\" }}</div>\r\n </div>\r\n <div class=\"item\">\r\n <div class=\"label\">发票金额</div>\r\n <div class=\"value\">{{ info.money || \"-\" }}</div>\r\n </div>\r\n <div class=\"item\">\r\n <div class=\"label\">申请时间</div>\r\n <div class=\"value\">{{ info.create_at || \"-\" }}</div>\r\n </div>\r\n <div class=\"item\">\r\n <div class=\"label\">开票时间</div>\r\n <div class=\"value\">{{ info.bill_time || \"-\" }}</div>\r\n </div>\r\n <div class=\"item\">\r\n <div class=\"label\">邮箱</div>\r\n <div class=\"value\">{{ info.email || \"-\" }}</div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { LevelOrderService } from \"@/common/service\";\r\nimport { downloadLocalFile } from \"@/common/request\";\r\nexport default {\r\n data() {\r\n return {\r\n info: {},\r\n };\r\n },\r\n mounted() {\r\n const query = this.$route.query;\r\n this.getInvoiceDetail(query.order_id);\r\n },\r\n methods: {\r\n // 获取发票详情\r\n getInvoiceDetail(id) {\r\n LevelOrderService.getBillInfo({ id }).then(({ data }) => {\r\n this.info = data.detail;\r\n });\r\n },\r\n // 下载发票\r\n downloadFill() {\r\n downloadLocalFile(this.info.bill_img, this.info.header);\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.wrap {\r\n width: calc((100% - 240px));\r\n .wrap-content {\r\n width: 80%;\r\n margin: 0 auto;\r\n min-width: 900px;\r\n\r\n .back {\r\n width: 90px;\r\n height: 40px;\r\n line-height: 50px;\r\n margin-top: 20px;\r\n font-size: 16px;\r\n font-weight: 400;\r\n color: #222222;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n background-color: white;\r\n border-radius: 4px;\r\n border-radius: 10px;\r\n cursor: pointer;\r\n img {\r\n width: 10px;\r\n height: 16px;\r\n margin-right: 5px;\r\n }\r\n }\r\n .detail {\r\n width: 100%;\r\n padding: 20px;\r\n margin-top: 20px;\r\n background: white;\r\n box-sizing: border-box;\r\n .header {\r\n height: 42px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n .title {\r\n font-size: 24px;\r\n font-weight: 500;\r\n color: #222222;\r\n }\r\n .download {\r\n width: 100px;\r\n height: 40px;\r\n border-radius: 3px;\r\n border: 1px solid #2a63f3;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n cursor: pointer;\r\n img {\r\n width: 16px;\r\n height: 16px;\r\n }\r\n span {\r\n font-size: 14px;\r\n font-weight: 400;\r\n color: #2a63f3;\r\n line-height: 14px;\r\n margin-left: 2px;\r\n }\r\n }\r\n }\r\n .content {\r\n margin-top: 10px;\r\n padding: 30px;\r\n .item {\r\n display: flex;\r\n align-items: center;\r\n margin-bottom: 20px;\r\n .label {\r\n width: 150px;\r\n height: 30px;\r\n font-size: 15px;\r\n font-weight: 400;\r\n color: #222222;\r\n line-height: 30px;\r\n }\r\n .value {\r\n height: 30px;\r\n font-size: 15px;\r\n font-weight: 400;\r\n color: rgba(34, 34, 34, 0.8);\r\n line-height: 30px;\r\n }\r\n .green {\r\n color: #34c759;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./vip-invoice-detail.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./vip-invoice-detail.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./vip-invoice-detail.vue?vue&type=template&id=4f2e98ab&scoped=true&\"\nimport script from \"./vip-invoice-detail.vue?vue&type=script&lang=js&\"\nexport * from \"./vip-invoice-detail.vue?vue&type=script&lang=js&\"\nimport style0 from \"./vip-invoice-detail.vue?vue&type=style&index=0&id=4f2e98ab&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4f2e98ab\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./vip-invoice-detail.vue?vue&type=style&index=0&id=4f2e98ab&prod&lang=scss&scoped=true&\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAPtJREFUOE/l0r0OwVAUB/D/qYiEdGP0AmUzGHkJrJKKiVWMHcXKJJpY8RKMBht9ASNbQyKiRxqp9NJbbWJzp/txzi8551zCjxbJnIJuT5io5H8n5u3eVNtBOVJIa9krMCpCEmFtTdXqv0KlNmevuJS9+p07DwAuiv2gnZKgvneXQnqzndDJPb+abRisLA9nk8HNKD+CQLNaPqMbBjkC5B6iYu/IBxQFC0ICoTBMhkihICwMCYX8mLv3NzbWz/aC3QE80ed0ZOs1/tqCE0cLySij92JyGm7LOt2F0jTd7gAYxYEAdC1THQtQsWU3HFAvDqSAh7upOv/a7DjoA1FAgxNPPlmrAAAAAElFTkSuQmCC\""],"sourceRoot":""}