{"version":3,"sources":["webpack:///./src/views/orderAdmin/OrderCancellation.vue?a8ce","webpack:///./src/components/WriteOff.vue?acf9","webpack:///src/components/WriteOff.vue","webpack:///./src/components/WriteOff.vue?2f73","webpack:///./src/components/WriteOff.vue","webpack:///src/views/orderAdmin/OrderCancellation.vue","webpack:///./src/views/orderAdmin/OrderCancellation.vue?c8be","webpack:///./src/views/orderAdmin/OrderCancellation.vue","webpack:///./src/components/WriteOff.vue?e543","webpack:///./src/views/orderAdmin/OrderCancellation.vue?9a5c","webpack:///./src/assets/images/scan.gif","webpack:///./src/api/order.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","directives","name","rawName","value","expression","attrs","domProps","on","$event","target","composing","verify_code","storeCancellation","_v","openQRCode","_e","iShidden","orderInfo","cancel","confirm","staticRenderFns","image","_s","order_id","toDetail","preventDefault","props","type","Boolean","default","Object","data","mounted","methods","$router","push","path","item","$emit","component","NAME","components","WriteOff","iswechat","res","ref","test","$dialog","loading","open","error","needResult","scanType","module","exports","postOrderConfirm","cartId","request","post","postOrderComputed","key","getOrderCoupon","price","get","parseFloat","createOrder","getOrderData","getOrderList","cancelOrder","id","orderDetail","getRefundReason","postOrderRefund","takeOrder","uni","delOrder","express","payOrder","paytype","from","orderVerific","is_confirm","orderAgain"],"mappings":"gJAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,qBAAqB,CAACF,EAAG,MAAM,CAACE,YAAY,WAAWF,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,CAACE,YAAY,SAAS,CAACF,EAAG,QAAQ,CAACG,WAAW,CAAC,CAACC,KAAK,QAAQC,QAAQ,UAAUC,MAAOV,EAAe,YAAEW,WAAW,gBAAgBC,MAAM,CAAC,KAAO,SAAS,YAAc,KAAKC,SAAS,CAAC,MAASb,EAAe,aAAGc,GA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/B,SAASE,EAAQF,GACtB,OAAOjB,OAAQM,IAAI,iBAAmBW,GAOjC,SAASG,EAASH,EAAKI,EAASC,GACrC,OAAOtB,OAAQC,KAAK,YAAa,CAAEgB,MAAKI,UAASC,SAM5C,SAASC,EAAarE,EAAasE,GACxC,OAAOxB,OAAQC,KAAK,sBAAuB,CAAE/C,cAAasE,eAOrD,SAASC,EAAWR,GACzB,OAAOjB,OAAQC,KAAK,cAAe,CAAEgB,IAAKA","file":"h5/js/chunk-69012098.614cad7b.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 }","\r\n\r\n\r\n","import mod from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./WriteOff.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.0@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=1f088ec9&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=1f088ec9&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/_vue-loader@15.9.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1f088ec9\",\n null\n \n)\n\nexport default component.exports","\r\n\r\n\r\n","import mod from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./OrderCancellation.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.0@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@15.9.0@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@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/_vue-loader@15.9.0@vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./WriteOff.vue?vue&type=style&index=0&id=1f088ec9&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/_vue-loader@15.9.0@vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./WriteOff.vue?vue&type=style&index=0&id=1f088ec9&scoped=true&lang=css&\"","import mod from \"-!../../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.0@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@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.0@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\";","/*\r\n * 订单确认\r\n * */\r\nimport request from \"@utils/request\";\r\n\r\n/**\r\n * 通过购物车 id 获取订单信息\r\n * @param cartId\r\n * @returns {*}\r\n */\r\nexport function postOrderConfirm(cartId) {\r\n return request.post(\"/order/confirm\", { cartId });\r\n}\r\n\r\n/**\r\n * 计算订单金额\r\n * @param key\r\n * @param data\r\n * @returns {*}\r\n */\r\nexport function postOrderComputed(key, data) {\r\n return request.post(\"/order/computed/\" + key, data);\r\n}\r\n\r\n/**\r\n * 获取指定金额可用优惠券\r\n * @param price\r\n * @returns {*}\r\n */\r\nexport function getOrderCoupon(price, data) {\r\n return request.get(\"/coupons/order/\" + (parseFloat(price) || 0), data);\r\n}\r\n\r\n/**\r\n * 生成订单\r\n * @param key\r\n * @param data\r\n * @returns {*}\r\n */\r\nexport function createOrder(key, data) {\r\n return request.post(\"/order/create/\" + key, data || {});\r\n}\r\n\r\n/**\r\n * 订单统计数据\r\n * @returns {*}\r\n */\r\nexport function getOrderData() {\r\n return request.get(\"/order/data\");\r\n}\r\n\r\n/**\r\n * 订单列表\r\n * @returns {*}\r\n */\r\nexport function getOrderList(data) {\r\n return request.get(\"/order/list\", data);\r\n}\r\n\r\n/**\r\n * 取消订单\r\n * @returns {*}\r\n */\r\nexport function cancelOrder(id) {\r\n return request.post(\"/order/cancel\", { id });\r\n}\r\n\r\n/**\r\n * 订单详情\r\n * @returns {*}\r\n */\r\nexport function orderDetail(id) {\r\n return request.get(\"/order/detail/\" + id);\r\n}\r\n\r\n/**\r\n * 退款理由\r\n * @returns {*}\r\n */\r\nexport function getRefundReason() {\r\n return request.get(\"/order/refund/reason\");\r\n}\r\n\r\n/**\r\n * 提交退款\r\n * @returns {*}\r\n */\r\nexport function postOrderRefund(data) {\r\n return request.post(\"/order/refund/verify\", data);\r\n}\r\n\r\n/**\r\n * 确认收货\r\n * @returns {*}\r\n */\r\nexport function takeOrder(uni) {\r\n return request.post(\"/order/take\", { uni });\r\n}\r\n\r\n/**\r\n * 删除订单\r\n * @returns {*}\r\n */\r\nexport function delOrder(uni) {\r\n return request.post(\"/order/del\", { uni });\r\n}\r\n\r\n/**\r\n * 订单查询物流信息\r\n * @returns {*}\r\n */\r\nexport function express(uni) {\r\n return request.get(\"order/express/\" + uni);\r\n}\r\n\r\n/**\r\n * 订单查询物流信息\r\n * @returns {*}\r\n */\r\nexport function payOrder(uni, paytype, from) {\r\n return request.post(\"order/pay\", { uni, paytype, from });\r\n}\r\n/**\r\n * 订单核销\r\n * @returns {*}\r\n */\r\nexport function orderVerific(verify_code, is_confirm) {\r\n return request.post(\"order/order_verific\", { verify_code, is_confirm });\r\n}\r\n/**\r\n * 再次下单\r\n * @param string uni\r\n *\r\n */\r\nexport function orderAgain(uni) {\r\n return request.post(\"order/again\", { uni: uni });\r\n}\r\n"],"sourceRoot":""}