chunk-548ce41d.ea8a3bf8.js.map 14 KB

1
  1. {"version":3,"sources":["webpack:///./src/views/activity/activity_ticket_select.vue?4093","webpack:///./src/views/activity/activity_ticket_select.vue","webpack:///src/views/activity/activity_ticket_select.vue","webpack:///./src/views/activity/activity_ticket_select.vue?6688","webpack:///./src/views/activity/activity_ticket_select.vue?a64a","webpack:///./src/components/normal-box.vue","webpack:///src/components/normal-box.vue","webpack:///./src/components/normal-box.vue?1f09","webpack:///./src/components/normal-box.vue?99a8","webpack:///./src/components/normal-box.vue?567a","webpack:///./src/assets/normal.png","webpack:///./src/assets/return.png"],"names":["render","_vm","this","_c","_self","staticClass","attrs","require","on","$event","$router","back","_v","_l","list","item","index","key","selectBill","_s","header","type_name","stopPropagation","edit","length","submit","staticRenderFns","components","NormalBox","data","radio","title","taxCode","bank","account","address","phone","methods","getBillList","BillService","localStorage","mounted","component","show","hideImg","_e","text","name","props","default","module","exports"],"mappings":"kHAAA,W,2CCAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,MAAM,CAACE,YAAY,aAAaC,MAAM,CAAC,IAAMC,EAAQ,QAAuB,IAAM,IAAIC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOR,EAAIS,QAAQC,WAAWR,EAAG,IAAI,CAACE,YAAY,gBAAgB,CAACJ,EAAIW,GAAG,UAAUT,EAAG,MAAM,CAACE,YAAY,uBAAuBJ,EAAIY,GAAIZ,EAAIa,MAAM,SAASC,EAAKC,GAAO,OAAOb,EAAG,MAAM,CAACc,IAAID,EAAMX,YAAY,OAAOG,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOR,EAAIiB,WAAWH,MAAS,CAACZ,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,MA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nBf,W,qBCAAQ,EAAOC,QAAU,IAA0B,2B,mBCA3CD,EAAOC,QAAU,s7B","file":"js/chunk-548ce41d.ea8a3bf8.js","sourcesContent":["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!./activity_ticket_select.vue?vue&type=style&index=0&id=56906a6c&prod&scoped=true&lang=scss&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrap\"},[_c('div',{staticClass:\"header-wrap\"},[_c('div',{staticClass:\"header\"},[_c('img',{staticClass:\"return-img\",attrs:{\"src\":require(\"@/assets/return.png\"),\"alt\":\"\"},on:{\"click\":function($event){return _vm.$router.back()}}}),_c('p',{staticClass:\"header-title\"},[_vm._v(\"抬头选择\")]),_c('div',{staticClass:\"header-btn-box\"})])]),_vm._l((_vm.list),function(item,index){return _c('div',{key:index,staticClass:\"info\",on:{\"click\":function($event){return _vm.selectBill(item)}}},[_c('div',{staticClass:\"method\"},[_c('div',{staticClass:\"title\"},[_c('div',{staticClass:\"company\"},[_vm._v(_vm._s(item.header))]),_c('div',{staticClass:\"type\"},[_vm._v(_vm._s(item.type_name)+\"-企业抬头\")])]),_c('div',{on:{\"click\":function($event){$event.stopPropagation();return _vm.edit(item)}}},[_vm._v(\"编辑\")])])])}),_c('normal-box',{attrs:{\"show\":_vm.list.length === 0}}),_c('button',{on:{\"click\":_vm.submit}},[_vm._v(\"新增\")])],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"wrap\">\r\n <div class=\"header-wrap\">\r\n <div class=\"header\">\r\n <img\r\n src=\"@/assets/return.png\"\r\n class=\"return-img\"\r\n @click=\"$router.back()\"\r\n alt=\"\"\r\n />\r\n <p class=\"header-title\">抬头选择</p>\r\n <div class=\"header-btn-box\"></div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"info\"\r\n v-for=\"(item, index) in list\"\r\n :key=\"index\"\r\n @click=\"selectBill(item)\"\r\n >\r\n <div class=\"method\">\r\n <div class=\"title\">\r\n <div class=\"company\">{{ item.header }}</div>\r\n <div class=\"type\">{{ item.type_name }}-企业抬头</div>\r\n </div>\r\n <div @click.stop=\"edit(item)\">编辑</div>\r\n </div>\r\n </div>\r\n <normal-box :show=\"list.length === 0\" />\r\n <button @click=\"submit\">新增</button>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { Toast } from \"vant\";\r\nimport NormalBox from \"@/components/normal-box.vue\";\r\nimport { BillService } from \"@/common/service\";\r\nexport default {\r\n components: { NormalBox },\r\n data() {\r\n return {\r\n radio: \"1\",\r\n title: \"\",\r\n taxCode: \"\",\r\n bank: \"\",\r\n account: \"\",\r\n address: \"\",\r\n phone: \"\",\r\n list: [],\r\n };\r\n },\r\n methods: {\r\n submit() {\r\n this.$router.push(\"activity_ticket_title\");\r\n },\r\n getBillList() {\r\n BillService.getHeaderList().then((res) => {\r\n this.list = res.data.list;\r\n });\r\n },\r\n edit(item) {\r\n this.$router.push(`activity_ticket_title?info=${JSON.stringify(item)}`);\r\n },\r\n selectBill(item) {\r\n if (this.$route.query.center) return;\r\n localStorage.setItem(\"bill\", JSON.stringify(item));\r\n this.$router.back();\r\n },\r\n },\r\n mounted() {\r\n this.getBillList();\r\n },\r\n};\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\nbutton {\r\n font-size: 18px;\r\n color: #fff;\r\n font-weight: bold;\r\n position: fixed;\r\n bottom: 34px;\r\n left: 50%;\r\n transform: translateX(-50%);\r\n width: 351px;\r\n height: 48px;\r\n line-height: 48px;\r\n text-align: center;\r\n background: #2a63f3;\r\n border-radius: 24px;\r\n}\r\n.info {\r\n margin-top: 10px;\r\n padding: 0 10px;\r\n box-sizing: border-box;\r\n background: #ffffff;\r\n border-radius: 10px;\r\n .method {\r\n line-height: 30px;\r\n font-size: 13px;\r\n color: #666666;\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n .company {\r\n color: #222222;\r\n font-weight: bold;\r\n }\r\n input {\r\n text-align: right;\r\n }\r\n }\r\n}\r\n.wrap {\r\n width: 100%;\r\n min-height: 100vh;\r\n display: flex;\r\n flex-direction: column;\r\n padding: 44px 12px 83px;\r\n box-sizing: border-box;\r\n background-color: #f4f4f4;\r\n}\r\n\r\n/* 头部样式 */\r\n.header-wrap {\r\n width: 100%;\r\n height: 44px;\r\n display: flex;\r\n flex-direction: column;\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n z-index: 500;\r\n background-color: #ffffff;\r\n}\r\n\r\n.header {\r\n width: 100%;\r\n height: 44px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n background-color: #ffffff;\r\n z-index: 999;\r\n padding: 0 15px;\r\n position: relative;\r\n box-sizing: border-box;\r\n}\r\n\r\n.return-img {\r\n position: absolute;\r\n left: 15px;\r\n top: 50%;\r\n transform: translate(0, -50%);\r\n width: 20px;\r\n height: 20px;\r\n}\r\n\r\n.header-title {\r\n /* flex: 1; */\r\n display: -webkit-box;\r\n -webkit-line-clamp: 1;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n -webkit-box-orient: vertical;\r\n color: #333333;\r\n font-size: 18px;\r\n font-weight: bold;\r\n /* position: absolute;\r\n left: 40px;\r\n top: 50%;\r\n transform: translate(0, -50%); */\r\n /* padding-right: 120px; */\r\n box-sizing: border-box;\r\n}\r\n\r\n.header-btn-box {\r\n display: flex;\r\n align-items: center;\r\n position: absolute;\r\n right: 12px;\r\n top: 50%;\r\n transform: translate(0, -50%);\r\n}\r\n\r\n.header-btn-box > button {\r\n margin-right: 10px;\r\n}\r\n\r\n.header-btn-box > button:last-child {\r\n margin-right: 0;\r\n}\r\n\r\n.header-btn-box > button > img {\r\n height: 24px;\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!./activity_ticket_select.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!./activity_ticket_select.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./activity_ticket_select.vue?vue&type=template&id=56906a6c&scoped=true&\"\nimport script from \"./activity_ticket_select.vue?vue&type=script&lang=js&\"\nexport * from \"./activity_ticket_select.vue?vue&type=script&lang=js&\"\nimport style0 from \"./activity_ticket_select.vue?vue&type=style&index=0&id=56906a6c&prod&scoped=true&lang=scss&\"\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 \"56906a6c\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.show)?_c('div',{staticClass:\"normal-box-small\"},[(_vm.hideImg)?_c('img',{attrs:{\"src\":require(\"../assets/normal.png\")}}):_vm._e(),_vm._v(\"\\n \"+_vm._s(_vm.text)+\"\\n\")]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"normal-box-small\" v-if=\"show\">\r\n <img src=\"../assets/normal.png\" v-if=\"hideImg\">\r\n {{ text }}\r\n </div>\r\n</template>\r\n\r\n<script>\r\n\r\nexport default {\r\n name: 'normal-box',\r\n props: {\r\n show: {\r\n default: false,\r\n },\r\n text: {\r\n default: '暂无数据',\r\n },\r\n hideImg: {\r\n default: true,\r\n },\r\n },\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.normal-box-small {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n font-size: 14px;\r\n color: #999992;\r\n padding: 50px 0;\r\n}\r\n\r\n.normal-box-small > img {\r\n width: 150px;\r\n margin-bottom: 9px;\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!./normal-box.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!./normal-box.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./normal-box.vue?vue&type=template&id=51f5bfbc&scoped=true&\"\nimport script from \"./normal-box.vue?vue&type=script&lang=js&\"\nexport * from \"./normal-box.vue?vue&type=script&lang=js&\"\nimport style0 from \"./normal-box.vue?vue&type=style&index=0&id=51f5bfbc&prod&scoped=true&lang=css&\"\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 \"51f5bfbc\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./normal-box.vue?vue&type=style&index=0&id=51f5bfbc&prod&scoped=true&lang=css&\"","module.exports = __webpack_public_path__ + \"img/normal.bfd5e89f.png\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAm5JREFUWEft2MnLTlEYAPDfZx4yK8WCWLBgwQIbSobIkMiwYiMbJX+JWLFRSmJBUoYyLCjDQoREQgghikQiQ4/OW8eXvPfe976fV31ne8+9z+8+59xzn3O6dHjr6nCfXmCrI9RTGeyH2XiEl2XQPQEci5MJ+AlLcKkost3AcTiH6RloN3Z0AnACzmNqhvmBFTj1r4ETE25KBvmObdhbFBf92jHEgYrMBbLRvmEL9pfBtQM4LeHGZ5Cv2ITDZXF1A2fgLOLDaLQv2IhjVXB1AmfhDMZkkM9YW+aD+NNL1DEH5+I0RmYBPmJ1WmKqJu/Xfa0C5+MEhmWKD2kpudiSLN3cCnARjmNIBnmHZbhaB66VDC7HEQzKIG/Tb+x6XbiqwDU4hAEZ5BUW43aduCrA9TiIqE4a7TliuO/VjSsLjA8hSqV8zj3BQjxsB64scDRiKPPs3UzZe9MJwDBEmbSz2/J0JyFLFaJFX6jKMrMdu7oh76ehflY0cNF+VYDx7K3Ygz5ZoCjnYz4+Lhq8SL+qwHj2ZuxD3yzQ04R8UCR4kT6tAOP5G3AA/bNgL9KcvFsE0KxPq8B4fhQFUesNzIK9Tgv3rWaAZtfrAEaM+P8exeAsYPz6luJaM8TfrtcFjBjxgUTxMDQL+D7hr1RF1gkMw7xUfg3PQFF+rcSFKsi6gWGYkwrYURkoNuwxV2NLUKq1AxiAmWkLEKcKjRZbgHUpw4WR7QIGIE4T4lSh+yZqAS4XFbYTGIY4VYg9cpwyNFrHHH00QJMTchLidGFVOkwqlMR2Z7CBGIHYJsTf5UYhWerUU8Aypt/69gIrp+5/GeKfiUBcKeCBb1YAAAAASUVORK5CYII=\""],"sourceRoot":""}