chunk-69012098.614cad7b.js.map 24 KB

1
  1. {"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,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B,OAAQC,KAAK,aAAc,CAAEgB,QAO/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 }","<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: 99;\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@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","<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@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":""}