1 |
- {"version":3,"sources":["webpack:///./src/views/orderAdmin/OrderCancellation.vue?b50a","webpack:///./src/components/WriteOff.vue?944e","webpack:///src/components/WriteOff.vue","webpack:///./src/components/WriteOff.vue?756a","webpack:///./src/components/WriteOff.vue","webpack:///src/views/orderAdmin/OrderCancellation.vue","webpack:///./src/views/orderAdmin/OrderCancellation.vue?f959","webpack:///./src/views/orderAdmin/OrderCancellation.vue","webpack:///./src/components/WriteOff.vue?5645","webpack:///./src/views/orderAdmin/OrderCancellation.vue?cda5","webpack:///./src/assets/images/scan.gif"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","directives","name","rawName","value","expression","attrs","type","placeholder","domProps","on","input","$event","target","composing","verify_code","click","storeCancellation","_v","src","__webpack_require__","openQRCode","_e","iShidden","orderInfo","cancel","confirm","staticRenderFns","WriteOffvue_type_template_id_1c7e0a12_scoped_true_render","image","_s","order_id","toDetail","touchmove","preventDefault","WriteOffvue_type_template_id_1c7e0a12_scoped_true_staticRenderFns","WriteOffvue_type_script_lang_js_","props","Boolean","default","Object","data","mounted","methods","item","$router","push","path","$emit","components_WriteOffvue_type_script_lang_js_","component","componentNormalizer","WriteOff","NAME","OrderCancellationvue_type_script_lang_js_","components","iswechat","utils","res","_this","order","then","$dialog","success","msg","catch","error","_this2","ref","test","loading","open","close","that","wechat","needResult","scanType","resultStr","console","log","is_ready","wx","scanQRCode","fail","errMsg","orderAdmin_OrderCancellationvue_type_script_lang_js_","OrderCancellation_component","__webpack_exports__","_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_WriteOff_vue_vue_type_style_index_0_id_1c7e0a12_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__","_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_WriteOff_vue_vue_type_style_index_0_id_1c7e0a12_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default","n","_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_OrderCancellation_vue_vue_type_style_index_0_id_3985d502_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__","_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_OrderCancellation_vue_vue_type_style_index_0_id_3985d502_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default","module","exports","p"],"mappings":"gJAAA,IAAAA,EAAA,WAA0B,IAAAC,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BC,EAAAJ,EAAAK,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,qBAAgC,CAAAF,EAAA,OAAYE,YAAA,WAAqBF,EAAA,OAAYE,YAAA,WAAsB,CAAAF,EAAA,OAAYE,YAAA,SAAoB,CAAAF,EAAA,SAAcG,WAAA,EAAaC,KAAA,QAAAC,QAAA,UAAAC,MAAAV,EAAA,YAAAW,WAAA,gBAAgFC,MAAA,CA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f.27c08b1b.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"OrderCancellation\"},[_c('div',{staticClass:\"header\"}),_c('div',{staticClass:\"whiteBg\"},[_c('div',{staticClass:\"input\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.verify_code),expression:\"verify_code\"}],attrs:{\"type\":\"number\",\"placeholder\":\"0\"},domProps:{\"value\":(_vm.verify_code)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.verify_code=$event.target.value}}})]),_c('div',{staticClass:\"bnt\",on:{\"click\":_vm.storeCancellation}},[_vm._v(\"立即核销\")])]),(_vm.iswechat)?_c('div',{staticClass:\"scan\"},[_c('img',{attrs:{\"src\":require(\"@assets/images/scan.gif\")},on:{\"click\":_vm.openQRCode}})]):_vm._e(),_c('WriteOff',{attrs:{\"iShidden\":_vm.iShidden,\"orderInfo\":_vm.orderInfo},on:{\"cancel\":_vm.cancel,\"confirm\":_vm.confirm}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.iShidden === false),expression:\"iShidden === false\"}]},[_c('div',{staticClass:\"WriteOff\"},[_c('div',{staticClass:\"pictrue\"},[_c('img',{attrs:{\"src\":_vm.orderInfo.image}})]),_c('div',{staticClass:\"num acea-row row-center-wrapper\"},[_vm._v(\"\\n \"+_vm._s(_vm.orderInfo.order_id)+\"\\n \"),_c('div',{staticClass:\"views\",on:{\"click\":function($event){return _vm.toDetail(_vm.orderInfo)}}},[_vm._v(\"\\n 查看\"),_c('span',{staticClass:\"iconfont icon-jiantou views-jian\"})])]),_c('div',{staticClass:\"tip\"},[_vm._v(\"确定要核销此订单吗?\")]),_c('div',{staticClass:\"sure\",on:{\"click\":_vm.confirm}},[_vm._v(\"确定核销\")]),_c('div',{staticClass:\"sure cancel\",on:{\"click\":_vm.cancel}},[_vm._v(\"取消\")])]),_c('div',{staticClass:\"mask\",on:{\"touchmove\":function($event){$event.preventDefault();}}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div v-show=\"iShidden === false\">\r\n <div class=\"WriteOff\">\r\n <div class=\"pictrue\"><img :src=\"orderInfo.image\" /></div>\r\n <div class=\"num acea-row row-center-wrapper\">\r\n {{ orderInfo.order_id }}\r\n <div class=\"views\" @click=\"toDetail(orderInfo)\">\r\n 查看<span class=\"iconfont icon-jiantou views-jian\"></span>\r\n </div>\r\n </div>\r\n <div class=\"tip\">确定要核销此订单吗?</div>\r\n <div class=\"sure\" @click=\"confirm\">确定核销</div>\r\n <div class=\"sure cancel\" @click=\"cancel\">取消</div>\r\n </div>\r\n <div class=\"mask\" @touchmove.prevent></div>\r\n </div>\r\n</template>\r\n<style scoped>\r\n.views {\r\n font-size: 0.16rem;\r\n background: #c68937;\r\n border-radius: 4px;\r\n color: #fff;\r\n padding: 0.05rem 0.02rem 0.05rem 0.08rem;\r\n margin-left: 0.1rem;\r\n}\r\n.views-jian {\r\n font-size: 0.1rem;\r\n}\r\n.WriteOff {\r\n width: 5.6rem;\r\n height: 8rem;\r\n background-color: #fff;\r\n border-radius: 0.2rem;\r\n position: fixed;\r\n top: 50%;\r\n left: 50%;\r\n margin-top: -4rem;\r\n margin-left: -2.8rem;\r\n z-index: 666;\r\n padding-top: 0.55rem;\r\n}\r\n.WriteOff .pictrue {\r\n width: 3.4rem;\r\n height: 3.4rem;\r\n margin: 0 auto;\r\n}\r\n.WriteOff .pictrue img {\r\n width: 100%;\r\n height: 100%;\r\n display: block;\r\n border-radius: 0.1rem;\r\n}\r\n.WriteOff .num {\r\n font-size: 0.3rem;\r\n color: #666;\r\n margin: 0.28rem 0 0.3rem 0;\r\n}\r\n.WriteOff .num .see {\r\n font-size: 0.16rem;\r\n color: #fff;\r\n border-radius: 0.04rem;\r\n background-color: #c68937;\r\n padding-left: 0.05rem;\r\n margin-left: 0.12rem;\r\n}\r\n.WriteOff .num .see .iconfont {\r\n font-size: 0.15rem;\r\n}\r\n.WriteOff .tip {\r\n font-size: 0.36rem;\r\n color: #282828;\r\n text-align: center;\r\n border-top: 1px dashed #ccc;\r\n padding-top: 0.4rem;\r\n position: relative;\r\n}\r\n.WriteOff .tip:after {\r\n content: \"\";\r\n position: absolute;\r\n width: 0.25rem;\r\n height: 0.25rem;\r\n border-radius: 50%;\r\n background-color: #7f7f7f;\r\n right: -0.125rem;\r\n top: -0.125rem;\r\n}\r\n.WriteOff .tip:before {\r\n content: \"\";\r\n position: absolute;\r\n width: 0.25rem;\r\n height: 0.25rem;\r\n border-radius: 50%;\r\n background-color: #7f7f7f;\r\n left: -0.125rem;\r\n top: -0.125rem;\r\n}\r\n.WriteOff .sure {\r\n font-size: 0.32rem;\r\n color: #fff;\r\n text-align: center;\r\n line-height: 0.82rem;\r\n height: 0.82rem;\r\n width: 4.6rem;\r\n border-radius: 0.41rem;\r\n margin: 0.4rem auto 0 auto;\r\n background-image: linear-gradient(to right, #f67a38 0%, #f11b09 100%);\r\n background-image: -webkit-linear-gradient(to right, #f67a38 0%, #f11b09 100%);\r\n background-image: -moz-linear-gradient(to right, #f67a38 0%, #f11b09 100%);\r\n}\r\n.WriteOff .sure.cancel {\r\n background-image: none;\r\n color: #999;\r\n margin-top: 0.1rem;\r\n}\r\n</style>\r\n<script>\r\nexport default {\r\n name: \"WriteOff\",\r\n props: {\r\n iShidden: {\r\n type: Boolean,\r\n default: true\r\n },\r\n orderInfo: {\r\n type: Object\r\n }\r\n },\r\n data: function() {\r\n return {};\r\n },\r\n mounted: function() {},\r\n methods: {\r\n toDetail: function(item) {\r\n this.$router.push({\r\n path: \"/customer/orderdetail/\" + item.order_id + \"/looks\"\r\n });\r\n },\r\n cancel: function() {\r\n this.$emit(\"cancel\", true);\r\n },\r\n confirm: function() {\r\n this.$emit(\"confirm\", true);\r\n }\r\n }\r\n};\r\n</script>\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!./WriteOff.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!./WriteOff.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./WriteOff.vue?vue&type=template&id=1c7e0a12&scoped=true&\"\nimport script from \"./WriteOff.vue?vue&type=script&lang=js&\"\nexport * from \"./WriteOff.vue?vue&type=script&lang=js&\"\nimport style0 from \"./WriteOff.vue?vue&type=style&index=0&id=1c7e0a12&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 \"1c7e0a12\",\n null\n \n)\n\nexport default component.exports","<template>\r\n <div class=\"OrderCancellation\">\r\n <div class=\"header\"></div>\r\n <div class=\"whiteBg\">\r\n <div class=\"input\">\r\n <input type=\"number\" placeholder=\"0\" v-model=\"verify_code\" />\r\n </div>\r\n <div class=\"bnt\" @click=\"storeCancellation\">立即核销</div>\r\n </div>\r\n <div class=\"scan\" v-if=\"iswechat\">\r\n <img src=\"@assets/images/scan.gif\" @click=\"openQRCode\" />\r\n </div>\r\n <WriteOff\r\n :iShidden=\"iShidden\"\r\n :orderInfo=\"orderInfo\"\r\n @cancel=\"cancel\"\r\n @confirm=\"confirm\"\r\n ></WriteOff>\r\n </div>\r\n</template>\r\n<style scoped>\r\n.OrderCancellation .header {\r\n background: url(\"../../assets/images/writeOffBg.jpg\") no-repeat;\r\n width: 100%;\r\n height: 3rem;\r\n background-size: 100% 100%;\r\n}\r\n.OrderCancellation .whiteBg {\r\n width: 6.9rem;\r\n background-color: #fff;\r\n margin: -0.93rem auto 0 auto;\r\n padding-top: 0.8rem;\r\n border-radius: 0.06rem 0.06rem 0 0;\r\n}\r\n.OrderCancellation .whiteBg .input {\r\n width: 5.8rem;\r\n margin: 0 auto;\r\n border-bottom: 0.01rem solid #eee;\r\n}\r\n.OrderCancellation .whiteBg .input input {\r\n padding-bottom: 0.25rem;\r\n font-size: 0.6rem;\r\n color: #282828;\r\n width: 100%;\r\n text-align: center;\r\n}\r\n.OrderCancellation .whiteBg .bnt {\r\n font-size: 0.32rem;\r\n color: #fff;\r\n width: 5.8rem;\r\n height: 0.86rem;\r\n border-radius: 0.43rem;\r\n background-image: linear-gradient(to right, #f67a38 0%, #f11b09 100%);\r\n background-image: -webkit-linear-gradient(to right, #f67a38 0%, #f11b09 100%);\r\n background-image: -moz-linear-gradient(to right, #f67a38 0%, #f11b09 100%);\r\n text-align: center;\r\n line-height: 0.86rem;\r\n margin: 0.55rem auto 0 auto;\r\n}\r\n.OrderCancellation .scan {\r\n width: 3rem;\r\n height: 3rem;\r\n margin: 1.1rem auto 0 auto;\r\n}\r\n.OrderCancellation .scan img {\r\n width: 100%;\r\n height: 100%;\r\n display: block;\r\n}\r\n</style>\r\n<script>\r\nimport WriteOff from \"@components/WriteOff\";\r\nimport { isWeixin } from \"@utils\";\r\nimport { wechatEvevt } from \"@libs/wechat\";\r\nimport { orderVerific } from \"@api/order\";\r\nconst NAME = \"OrderCancellation\";\r\n\r\nexport default {\r\n name: NAME,\r\n components: {\r\n WriteOff\r\n },\r\n props: {},\r\n data: function() {\r\n return {\r\n iShidden: true,\r\n iswechat: isWeixin(),\r\n orderInfo: {},\r\n verify_code: \"\"\r\n };\r\n },\r\n mounted: function() {},\r\n methods: {\r\n cancel: function(res) {\r\n this.iShidden = res;\r\n },\r\n confirm: function() {\r\n orderVerific(this.verify_code, 1)\r\n .then(res => {\r\n this.iShidden = true;\r\n this.verify_code = \"\";\r\n this.$dialog.success(res.msg);\r\n })\r\n .catch(res => {\r\n this.$dialog.error(res.msg);\r\n });\r\n },\r\n storeCancellation: function() {\r\n let ref = /[0-9]{12}/;\r\n if (!this.verify_code) return this.$dialog.error(\"请输入核销码\");\r\n if (!ref.test(this.verify_code))\r\n return this.$dialog.error(\"请输入正确的核销码\");\r\n this.$dialog.loading.open(\"查询中\");\r\n orderVerific(this.verify_code, 0)\r\n .then(res => {\r\n this.$dialog.loading.close();\r\n this.orderInfo = res.data;\r\n this.iShidden = false;\r\n })\r\n .catch(res => {\r\n this.$dialog.loading.close();\r\n this.verify_code = \"\";\r\n return this.$dialog.error(res.msg);\r\n });\r\n },\r\n openQRCode: function() {\r\n let that = this;\r\n wechatEvevt(\"scanQRCode\", {\r\n needResult: 1,\r\n scanType: [\"qrCode\", \"barCode\"]\r\n })\r\n .then(res => {\r\n if (res.resultStr) {\r\n that.verify_code = res.resultStr;\r\n that.storeCancellation();\r\n } else that.$dialog.error(\"没有扫描到什么!\");\r\n })\r\n .catch(res => {\r\n console.log(res);\r\n if (res.is_ready) {\r\n res.wx.scanQRCode({\r\n needResult: 1,\r\n scanType: [\"qrCode\", \"barCode\"],\r\n success: function(res) {\r\n that.verify_code = res.resultStr;\r\n that.storeCancellation();\r\n },\r\n fail: function(res) {\r\n console.log(res);\r\n if (res.errMsg == \"scanQRCode:permission denied\") {\r\n that.$dialog.error(\"没有权限\");\r\n }\r\n }\r\n });\r\n }\r\n });\r\n }\r\n }\r\n};\r\n</script>\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!./OrderCancellation.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!./OrderCancellation.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./OrderCancellation.vue?vue&type=template&id=3985d502&scoped=true&\"\nimport script from \"./OrderCancellation.vue?vue&type=script&lang=js&\"\nexport * from \"./OrderCancellation.vue?vue&type=script&lang=js&\"\nimport style0 from \"./OrderCancellation.vue?vue&type=style&index=0&id=3985d502&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 \"3985d502\",\n null\n \n)\n\nexport default component.exports","import mod 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!./WriteOff.vue?vue&type=style&index=0&id=1c7e0a12&scoped=true&lang=css&\"; export default mod; 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!./WriteOff.vue?vue&type=style&index=0&id=1c7e0a12&scoped=true&lang=css&\"","import mod 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!./OrderCancellation.vue?vue&type=style&index=0&id=3985d502&scoped=true&lang=css&\"; export default mod; 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!./OrderCancellation.vue?vue&type=style&index=0&id=3985d502&scoped=true&lang=css&\"","module.exports = __webpack_public_path__ + \"h5/img/scan.2ca2147e.gif\";"],"sourceRoot":""}
|