chunk-2eec63ca.21871731.js.map 14 KB

1
  1. {"version":3,"sources":["webpack:///./src/views/activity/activity_ticket_title.vue","webpack:///src/views/activity/activity_ticket_title.vue","webpack:///./src/views/activity/activity_ticket_title.vue?60d8","webpack:///./src/views/activity/activity_ticket_title.vue?1910","webpack:///./src/views/activity/activity_ticket_title.vue?0514","webpack:///./src/assets/return.png"],"names":["render","_vm","this","_c","_self","staticClass","attrs","require","on","$event","$router","back","_v","directives","name","rawName","value","title","expression","domProps","target","composing","taxCode","submit","staticRenderFns","data","id","radio","bank","account","address","phone","typeList","remark","email","mounted","methods","getBillType","BillService","type","header","identify_number","card_no","Toast","setTimeout","component","module","exports"],"mappings":"yHAAA,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,uBAAuBF,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,OAAO,CAACF,EAAIW,GAAG,UAAUT,EAAG,QAAQ,CAACU,WAAW,CAAC,CAACC,KAAK,QAAQC,QAAQ,UAAUC,MAAOf,EAAIgB,MAAOC,WAAW,UAAUZ,MAAM,CAAC,KAAO,OAAO,YAAc,eAAea,SAAS,CAAC,MAASlB,EAAIgB,OAAQT,GAAG,CAAC,MAAQ,SAASC,GAAWA,EAAOW,OAAOC,YAAiBpB,EAAIgB,MAAMR,EAAOW,OAAOJ,aAAYb,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,OAAO,CAACF,EAAIW,GAAG,QAAQT,EAAG,QAAQ,CAACU,WAAW,CAAC,CAACC,KAAK,QAAQC,QAAQ,UAAUC,MAAOf,EAAIqB,QAASJ,WAAW,YAAYZ,MAAM,CAAC,KAAO,OAAO,YAAc,iBAAiBa,SAAS,CAAC,MAASlB,EAAIqB,SAAUd,GAAG,CAAC,MAAQ,SAASC,GAAWA,EAAOW,OAAOC,YAAiBpB,EAAIqB,QAAQb,EAAOW,OAAOJ,eAAcb,EAAG,SAAS,CAACK,GAAG,CAAC,MAAQP,EAAIsB,SAAS,CAACtB,EAAIW,GAAG,WAEnpCY,EAAkB,G,wBC8DP,GACfC,gBACA,OACAC,MACAC,UACAV,SACAK,WACAM,QACAC,WACAC,WACAC,SACAC,YACAC,UACAC,WAGAC,mBACA,mBACA,wBACA,WACA,yBACA,kBACA,oBACA,mBACA,mBACA,iBACA,uBACA,uBACA,qBACA,aACA,iCAIAC,SACAC,uBAAA,WACAC,uCACA,uBACA,6BAGAf,kBAAA,WACA,cAIA,gBAIA,aAIA,gBAIA,gBAIA,eAIA,OACAG,WACAa,gBACAC,kBACAC,6BACAb,eACAc,qBACAX,iBACAG,iBACAJ,qBACAG,oBAEAK,0CACAK,sBACAC,uBACA,mBACA,aAnBAD,+BAJAA,+BAJAA,+BAJAA,+BAJAA,iCAJAA,6BC3G8W,I,wBCQ1WE,EAAY,eACd,EACA7C,EACAwB,GACA,EACA,KACA,WACA,MAIa,aAAAqB,E,kECnBf,W,mBCAAC,EAAOC,QAAU","file":"js/chunk-2eec63ca.21871731.js","sourcesContent":["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\"})])]),_c('div',{staticClass:\"info\"},[_c('div',{staticClass:\"method\"},[_c('span',[_vm._v(\"发票抬头\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.title),expression:\"title\"}],attrs:{\"type\":\"text\",\"placeholder\":\"请输入抬头名称(必填)\"},domProps:{\"value\":(_vm.title)},on:{\"input\":function($event){if($event.target.composing)return;_vm.title=$event.target.value}}})]),_c('div',{staticClass:\"method\"},[_c('span',[_vm._v(\"税号\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.taxCode),expression:\"taxCode\"}],attrs:{\"type\":\"text\",\"placeholder\":\"请输入纳税人识别号(必填)\"},domProps:{\"value\":(_vm.taxCode)},on:{\"input\":function($event){if($event.target.composing)return;_vm.taxCode=$event.target.value}}})])]),_c('button',{on:{\"click\":_vm.submit}},[_vm._v(\"保存\")])])\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 class=\"info\">\r\n <!-- <div class=\"method\">\r\n <span>发票类型</span>\r\n <van-radio-group v-model=\"radio\" direction=\"horizontal\">\r\n <van-radio :name=\"item.id\" v-for=\"(item,index) in typeList\" :key=\"index\">{{item.title}}</van-radio>\r\n</van-radio-group>\r\n </div> -->\r\n <div class=\"method\">\r\n <span>发票抬头</span>\r\n <input type=\"text\" v-model=\"title\" placeholder=\"请输入抬头名称(必填)\" >\r\n </div>\r\n <div class=\"method\">\r\n <span>税号</span>\r\n <input type=\"text\" v-model=\"taxCode\" placeholder=\"请输入纳税人识别号(必填)\" >\r\n </div>\r\n <!-- <div class=\"method\">\r\n <span>开户银行</span>\r\n <input type=\"text\" v-model=\"bank\" placeholder=\"请输入开户银行(必填)\" >\r\n </div>\r\n <div class=\"method\">\r\n <span>银行账号</span>\r\n <input type=\"number\" v-model=\"account\" placeholder=\"请输入银行账号(必填)\" >\r\n </div>\r\n <div class=\"method\">\r\n <span>企业地址</span>\r\n <input type=\"text\" v-model=\"address\" placeholder=\"请输入企业地址(必填)\" >\r\n </div>\r\n <div class=\"method\">\r\n <span>企业电话</span>\r\n <input type=\"number\" v-model=\"phone\" placeholder=\"请输入企业电话(必填)\" >\r\n </div>\r\n <div class=\"method\">\r\n <span>企业邮箱</span>\r\n <input type=\"text\" v-model=\"email\" placeholder=\"请输入企业邮箱(必填)\" >\r\n </div> -->\r\n <!-- <div class=\"method\">\r\n <span>备注</span>\r\n <input type=\"text\" v-model=\"remark\" placeholder=\"请输入备注(选填)\" >\r\n </div> -->\r\n </div>\r\n <button @click=\"submit\">保存</button>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { Toast } from \"vant\";\r\nimport {\r\n BillService\r\n \r\n} from \"@/common/service\";\r\nexport default {\r\n data(){\r\n return {\r\n id:'',\r\n radio:'1',\r\n title:'',\r\n taxCode:'',\r\n bank:'',\r\n account:'',\r\n address:'',\r\n phone:'',\r\n typeList:[],\r\n remark:'',\r\n email:''\r\n }\r\n },\r\n mounted(){\r\n this.getBillType()\r\n let query=this.$route.query\r\n if(query.info){\r\n let info=JSON.parse(query.info)\r\n this.radio=info.type\r\n this.title=info.header\r\n this.email=info.email\r\n this.phone=info.phone\r\n this.bank=info.bank\r\n this.account=info.card_no\r\n this.address=info.address\r\n this.remark=info.remark\r\n this.id=info.id\r\n this.taxCode=info.identify_number\r\n }\r\n \r\n },\r\n methods:{\r\n getBillType(){\r\n BillService.getBillType().then(res=>{\r\n this.typeList=res.data.list\r\n this.radio=this.typeList[0].id\r\n })\r\n },\r\n submit(){\r\n if(!this.title){\r\n Toast('请输入抬头名称')\r\n return\r\n }\r\n if(!this.taxCode){\r\n Toast('请输入纳税人识别号')\r\n return\r\n }\r\n if(!this.bank){\r\n Toast('请输入开户银行')\r\n return\r\n }\r\n if(!this.account){\r\n Toast('请输入银行账号')\r\n return\r\n }\r\n if(!this.address){\r\n Toast('请输入企业地址')\r\n return\r\n }\r\n if(!this.phone){\r\n Toast('请输入企业电话')\r\n return\r\n }\r\n let data={\r\n id:this.id,\r\n type:this.radio,\r\n header:this.title,\r\n identify_number:this.taxCode,\r\n bank:this.bank,\r\n card_no:this.account,\r\n phone:this.phone,\r\n email:this.email,\r\n address:this.address,\r\n remark:this.remark\r\n }\r\n BillService.selBillHeader(data).then(res=>{\r\n Toast(res.msg);\r\n setTimeout(() => {\r\n this.$router.back()\r\n }, 2000);\r\n })\r\n }\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\nheight: 48px;\r\nline-height: 48px;\r\ntext-align: center;\r\nbackground: #2A63F3;\r\nborder-radius: 24px;\r\n}\r\n.info{\r\n margin-top: 10px;\r\n padding: 0 10px;\r\n box-sizing: border-box;\r\nbackground: #FFFFFF;\r\nborder-radius: 10px;\r\n .method{\r\n line-height: 37px;\r\n font-size: 15px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\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\tleft: 40px;\r\n\ttop: 50%;\r\n\ttransform: 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>","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_title.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_title.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./activity_ticket_title.vue?vue&type=template&id=5c6c571f&scoped=true&\"\nimport script from \"./activity_ticket_title.vue?vue&type=script&lang=js&\"\nexport * from \"./activity_ticket_title.vue?vue&type=script&lang=js&\"\nimport style0 from \"./activity_ticket_title.vue?vue&type=style&index=0&id=5c6c571f&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 \"5c6c571f\",\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!./activity_ticket_title.vue?vue&type=style&index=0&id=5c6c571f&prod&scoped=true&lang=scss&\"","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":""}