You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1 lines
29 KiB

{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/agent/pages/refund/detail.vue?d577","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/agent/pages/refund/detail.vue?bba6","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/agent/pages/refund/detail.vue?6952","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/agent/pages/refund/detail.vue?4ce2","uni-app:///agent/pages/refund/detail.vue","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/agent/pages/refund/detail.vue?fa64","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/agent/pages/refund/detail.vue?7c86"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","components","data","options","carType","payType","statusType","detail","pay_type","lockTap","popupInfo","computed","primaryColor","subColor","configInfo","userInfo","over_time_text","onLoad","agent","methods","initIndex","refresh","id","methodKey","bg","initRefresh","toConfirm","apply_price","type","price","text","confirmChangeOrder","param","reg","title","methodModel","key","val","setTimeout","toTel","order_id","url","openType","msg","toCopy","address","address_info","toMap","lat","lng","uni","latitude","longitude","name","scale"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,eAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmH;AACnH;AAC0D;AACL;AACc;;;AAGnE;AAC6M;AAC7M,gBAAgB,iNAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,iFAAM;AACR,EAAE,0FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,qFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClEA;AAAA;AAAA;AAAA;AAAqzB,CAAgB,oyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACgNz0B;AAIA;AAAA;AAAA,eACA;EACAC;EACAC;IACA;MACAC;MACAC;QACA;QACA;MACA;MACAC;QACA;QACA;QACA;MACA;MACAC;QACA;QACA;QACA;MACA;MACAC;QACAC;MACA;MACAC;MACAC;IACA;EACA;EACAC;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;IACAC;MACA;IACA;EACA;EACAC;IACA,qBAEAd,QADAe;MAAAA;IAEAf;IACA;IACA;EACA;EACAgB,uDACA,2DACA;IACAC;MAAA;QAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAAC;gBAAA,MASA;kBAAA;kBAAA;gBAAA;gBAAA;gBAAA,OACA;cAAA;gBAAA,gBAKA,eAFAC,uBACAJ;gBAEAK;gBAAA;gBAAA,OACA;kBACAD;gBACA;cAAA;gBAFApB;gBAGA;kBACAsB;gBACA;gBACAtB;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACAuB;MACA;IACA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA,gBAIA,eAFAJ,uBACAK;gBAEA;kBACAL;kBACAM;kBACAD;kBACAE;kBACAC;gBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA,mBAKA,kBAHAH,8BACAC,gCACAF;gBAEAK;gBACAC;gBAAA,MACAL;kBAAA;kBAAA;gBAAA;gBACA;kBACAM;gBACA;gBAAA;cAAA;gBAAA,KAGA;kBAAA;kBAAA;gBAAA;gBAAA;cAAA;gBACA;gBACA;gBAEAhB,QACA,eADAA;gBAEAK;gBACAY;gBAAA;gBAAA;gBAAA,OAEA;cAAA;gBACA;gBACA;kBACAD;gBACA;gBACA;gBACA;kBACAE;kBACAC;gBACA;gBACA;gBACA;gBAAA;gBAAA;cAAA;gBAAA;gBAAA;gBAEAC;kBACA;kBACA;gBACA;gBAAA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IAGA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA,gBAIA,eAFAC,6BACAhC;gBAGAU,QACA,eADAA;gBAEAK;gBAAA,KACA;kBAAA;kBAAA;gBAAA;gBAAA;gBAAA,OACA;kBACAiB;gBACA;cAAA;gBAFAC;gBAGA;kBACAA;kBACAC;gBACA;gBAAA;gBAAA;cAAA;gBAEAC;gBACA;kBACAT;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IAEA;IACA;IACAU;MACA,4BAGA;QAFAC;QACAC;MAEA;MACA;QACAL;QACAC;MACA;IACA;IACA;IACAK;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA,oBAMA,oBAJAF,+EACAC,4FACAE,6BACAC;gBAAA;gBAAA,OAEA;kBACArB;gBACA;cAAA;gBAAA;gBAAA,OACAsB;kBACAtB;gBACA;cAAA;gBAAA;gBAAA,OACAsB;kBACAC;kBACAC;kBACAC;kBACAC;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;EAAA;AAEA;AAAA,2B;;;;;;;;;;;;;ACrZA;AAAA;AAAA;AAAA;AAAwgD,CAAgB,m6CAAG,EAAC,C;;;;;;;;;;;ACA5hD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"agent/pages/refund/detail.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './agent/pages/refund/detail.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./detail.vue?vue&type=template&id=4fefcad6&\"\nvar renderjs\nimport script from \"./detail.vue?vue&type=script&lang=js&\"\nexport * from \"./detail.vue?vue&type=script&lang=js&\"\nimport style0 from \"./detail.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"agent/pages/refund/detail.vue\"\nexport default component.exports","export * from \"-!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./detail.vue?vue&type=template&id=4fefcad6&\"","var components\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var l0 = _vm.detail.id\n ? _vm.__map(_vm.detail.order_goods, function (aitem, aindex) {\n var $orig = _vm.__get_orig(aitem)\n var g0 = _vm.detail.order_goods.length\n return {\n $orig: $orig,\n g0: g0,\n }\n })\n : null\n var g1 = _vm.detail.id ? _vm.detail.address_info.mobile.substring(0, 3) : null\n var g2 = _vm.detail.id\n ? _vm.detail.address_info.mobile.substring(7, 11)\n : null\n var g3 = _vm.detail.id ? _vm.detail.imgs && _vm.detail.imgs.length > 0 : null\n if (!_vm._isMounted) {\n _vm.e0 = function ($event) {\n $event.stopPropagation()\n return _vm.$util.goUrl({\n url: _vm.detail.store_info.address,\n openType: \"copy\",\n })\n }\n _vm.e1 = function ($event) {\n $event.stopPropagation()\n return _vm.$util.goUrl({\n url: _vm.detail.store_info.phone,\n openType: \"call\",\n })\n }\n _vm.e2 = function ($event) {\n return _vm.$util.goUrl({\n url: \"\" + _vm.detail.order_code,\n openType: \"copy\",\n })\n }\n _vm.e3 = function ($event) {\n return _vm.$util.goUrl({\n url: \"\" + _vm.detail.out_refund_no,\n openType: \"copy\",\n })\n }\n _vm.e4 = function ($event) {\n $event.stopPropagation()\n return _vm.$refs.change_item.close()\n }\n }\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n l0: l0,\n g1: g1,\n g2: g2,\n g3: g3,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./detail.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./detail.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"order-pages\" v-if=\"detail.id\">\r\n\r\n\t\t<view class=\"item-child flex-center pd-lg fill-base f-paragraph c-base\" style=\"height:200rpx\"\r\n\t\t\t:style=\"{background:primaryColor}\">\r\n\t\t\t<view class=\"flex-1 flex-y-baseline f-md-title\">{{statusType[detail.status]}}\r\n\t\t\t\t<view class=\"f-desc ml-md\" v-if=\"detail.status == 2\">退款金额¥{{detail.refund_price}}</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\r\n\t\t<view class=\"item-child mt-md ml-lg mr-lg pd-lg fill-base radius-16\">\r\n\t\t\t<view class=\"flex-between pb-lg\">\r\n\t\t\t\t<view class=\"f-paragraph c-title max-380 ellipsis\">服务内容</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"flex-center\" :class=\"[{'mb-lg':aindex != detail.order_goods.length -1}]\"\r\n\t\t\t\tv-for=\"(aitem,aindex) in detail.order_goods\" :key=\"aindex\">\r\n\t\t\t\t<!-- #ifdef H5 -->\r\n\t\t\t\t<view class=\"avatar lg radius-16\">\r\n\t\t\t\t\t<view class=\"h5-image avatar lg radius-16\"\r\n\t\t\t\t\t\t:style=\"{ backgroundImage : `url('${aitem.goods_cover}')`}\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<!-- #endif -->\r\n\t\t\t\t<!-- #ifndef H5 -->\r\n\t\t\t\t<image mode=\"aspectFill\" class=\"avatar lg radius-16\" :src=\"aitem.goods_cover\"></image>\r\n\t\t\t\t<!-- #endif -->\r\n\t\t\t\t<view class=\"flex-1 ml-md\">\r\n\t\t\t\t\t<view class=\"flex-between\">\r\n\t\t\t\t\t\t<view class=\"f-mini-title c-title text-bold max-380 ellipsis\">\r\n\t\t\t\t\t\t\t{{aitem.goods_name}}\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"c-paragraph\">x{{aitem.num}}</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"f-caption c-caption\" v-if=\"aitem.material_price*1>0\">物料费:¥{{aitem.material_price}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"f-caption mt-md\" style=\"color:#777\">服务时长 {{aitem.time_long}}分钟</view>\r\n\t\t\t\t\t<view class=\"f-paragraph c-warning text-bold mt-sm\">¥{{aitem.goods_price}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\r\n\t\t<view class=\"store-info mt-md ml-lg mr-lg pd-lg fill-base radius-16\" v-if=\"detail.store_id\">\r\n\t\t\t<view class=\"f-mini-title c-title text-bold pb-md\">\r\n\t\t\t\t{{detail.store_info.title}}\r\n\t\t\t</view>\r\n\t\t\t<view class=\"flex-between\">\r\n\t\t\t\t<view class=\"flex-y-center\" style=\"color: #303030;\">\r\n\t\t\t\t\t<i class=\"iconfont icondizhi1 mr-sm\"></i>\r\n\t\t\t\t\t<view class=\"c-title flex-1 mr-md\">\r\n\t\t\t\t\t\t<span>{{detail.store_info.address || `暂未设置门店地址`}}</span>\r\n\t\t\t\t\t\t<span @tap.stop=\"$util.goUrl({url:detail.store_info.address,openType:'copy'})\"\r\n\t\t\t\t\t\t\tclass=\"copy-btn span radius-5 f-icontext ml-sm\"\r\n\t\t\t\t\t\t\t:style=\"{color:primaryColor,borderColor:primaryColor}\"\r\n\t\t\t\t\t\t\tv-if=\"detail.store_info.address\">复制</span>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"flex-center\">\r\n\t\t\t\t\t<view @tap.stop=\"$util.goUrl({url:detail.store_info.phone,openType:'call'})\"\r\n\t\t\t\t\t\tclass=\"item-icon rel flex-center radius-16\">\r\n\t\t\t\t\t\t<view class=\"item-icon radius-16 abs\" :style=\"{background:primaryColor}\"></view>\r\n\t\t\t\t\t\t<i class=\"iconfont icondadianhua_1\" :style=\"{color:primaryColor}\"></i>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view @tap.stop=\"toMap('store_info')\" class=\"item-icon rel flex-center radius-16 ml-md\"\r\n\t\t\t\t\t\tv-if=\"detail.store_info.address\">\r\n\t\t\t\t\t\t<view class=\"item-icon radius-16 abs\" :style=\"{background:primaryColor}\"></view>\r\n\t\t\t\t\t\t<i class=\"iconfont icondizhi_1\" :style=\"{color:primaryColor}\"></i>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\r\n\r\n\t\t<view class=\"order-agent-info store-info mt-md ml-lg mr-lg pd-lg fill-base f-paragraph radius-16\">\r\n\t\t\t<view class=\"flex-between\">\r\n\t\t\t\t<image mode=\"aspectFill\" class=\"coach-img radius\" :src=\"detail.coach_info.work_img\"></image>\r\n\t\t\t\t<view class=\"f-title text-bold max-450 ellipsis\">\r\n\t\t\t\t\t{{detail.coach_info ? detail.coach_info.coach_name : ''}}\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"flex-center mt-lg\">\r\n\t\t\t\t<view class=\"title\">下单人</view>\r\n\t\t\t\t<view class=\"text flex-1 ellipsis\">{{detail.address_info.user_name}}</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"flex-center mt-lg\">\r\n\t\t\t\t<view class=\"title\">联系方式</view>\r\n\t\t\t\t<view class=\"text flex-1 flex-between\">\r\n\t\t\t\t\t<view>\r\n\t\t\t\t\t\t{{detail.address_info.mobile.substring(0,3)}}****{{detail.address_info.mobile.substring(7,11)}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view @tap.stop=\"toTel\" class=\"item-icon rel flex-center radius-16\">\r\n\t\t\t\t\t\t<view class=\"item-icon radius-16 abs\" :style=\"{background:primaryColor}\"></view>\r\n\t\t\t\t\t\t<i class=\"iconfont icondadianhua_1\" :style=\"{color:primaryColor}\"></i>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"flex-warp mt-lg\" v-if=\"!detail.store_id\">\r\n\t\t\t\t<view class=\"title\">服务地址</view>\r\n\t\t\t\t<view class=\"text flex-1 flex-between\">\r\n\t\t\t\t\t<view style=\"max-width: 350rpx;\">\r\n\t\t\t\t\t\t<span>{{`${detail.address_info.address}${detail.address_info.address_info}`}}</span>\r\n\t\t\t\t\t\t<span @tap=\"toCopy\" class=\"copy-btn fill radius-5 f-icontext ml-sm\">复制</span>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view @tap.stop=\"toMap('address_info')\" class=\"item-icon rel flex-center radius-16\">\r\n\t\t\t\t\t\t<view class=\"item-icon radius-16 abs\" :style=\"{background:primaryColor}\"></view>\r\n\t\t\t\t\t\t<i class=\"iconfont icondizhi_1\" :style=\"{color:primaryColor}\"></i>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"flex-between mt-lg pt-lg b-1px-t\">\r\n\t\t\t\t<view class=\"title\"></view>\r\n\t\t\t\t<view class=\"flex-y-baseline f-paragraph c-black text-bold\">总计:<view class=\"c-warning\">\r\n\t\t\t\t\t\t¥{{detail.apply_price}}</view>\r\n\t\t\t\t\t<view class=\"flex-y-center ml-md\" v-if=\"detail.car_price*1>0\">含车费:\r\n\t\t\t\t\t\t<view class=\"f-icontext\">¥</view>{{detail.car_price}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\r\n\r\n\t\t<view class=\"order-agent-info mt-md ml-lg mr-lg pd-lg fill-base radius-16\">\r\n\t\t\t<view class=\"flex-center\">\r\n\t\t\t\t<view class=\"title\">退款单号</view>\r\n\t\t\t\t<view class=\"text flex-1\">\r\n\t\t\t\t\t<view class=\"flex-between\">\r\n\t\t\t\t\t\t<view class=\"max-350 ellipsis\">{{detail.order_code}}</view>\r\n\t\t\t\t\t\t<view @tap=\"$util.goUrl( {url:`${detail.order_code}`,openType:'copy'})\"\r\n\t\t\t\t\t\t\tclass=\"copy-btn flex-center radius-5 f-icontext\"\r\n\t\t\t\t\t\t\t:style=\"{color:primaryColor,borderColor:primaryColor}\">\r\n\t\t\t\t\t\t\t复制</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"flex-center mt-lg\" v-if=\"detail.out_refund_no\">\r\n\t\t\t\t<view class=\"title\">微信退款单号</view>\r\n\t\t\t\t<view class=\"text flex-1\">\r\n\t\t\t\t\t<view class=\"flex-between\">\r\n\t\t\t\t\t\t<view class=\"max-350 ellipsis\">{{detail.out_refund_no}}</view>\r\n\t\t\t\t\t\t<view @tap=\"$util.goUrl( {url:`${detail.out_refund_no}`,openType:'copy'})\"\r\n\t\t\t\t\t\t\tclass=\"copy-btn flex-center radius-5 f-icontext\"\r\n\t\t\t\t\t\t\t:style=\"{color:primaryColor,borderColor:primaryColor}\">复制</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"flex-center mt-lg\">\r\n\t\t\t\t<view class=\"title\">提交日期</view>\r\n\t\t\t\t<view class=\"text flex-1 ellipsis\">{{detail.create_time}}</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"flex-center mt-lg\" v-if=\"detail.status != 1\">\r\n\t\t\t\t<view class=\"title\">审核日期</view>\r\n\t\t\t\t<view class=\"text flex-1 ellipsis\">{{detail.refund_time}}</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"mt-lg\">\r\n\t\t\t\t<view class=\"title\">退款原因</view>\r\n\t\t\t\t<view class=\"text mt-sm\">{{detail.text}}</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"flex-column\" v-if=\"detail.imgs && detail.imgs.length > 0\">\r\n\t\t\t\t<view class=\"title\">上传图片</view>\r\n\t\t\t\t<view class=\"flex-warp\">\r\n\t\t\t\t\t<block v-for=\"(item,index) in detail.imgs\" :key=\"index\">\r\n\t\t\t\t\t\t<image @tap.top=\"previewImage(item,detail.imgs)\" class=\"refund-img mt-md mr-md radius-10\"\r\n\t\t\t\t\t\t\t:src=\"item\" />\r\n\t\t\t\t\t</block>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\r\n\t\t<view class=\"space-max-footer\"></view>\r\n\r\n\r\n\r\n\r\n\t\t<fix-bottom-button @cancel=\"toConfirm(3)\" @confirm=\"toConfirm(2)\"\r\n\t\t\t:text=\"[{text:'拒绝退款',type:'cancel'},{text:'同意退款',type:'confirm'}]\" bgColor=\"#fff\" :classType=\"2\"\r\n\t\t\tv-if=\"detail.status==1\">\r\n\t\t</fix-bottom-button>\r\n\r\n\r\n\t\t<uni-popup ref=\"change_item\" type=\"center\" :custom=\"true\">\r\n\t\t\t<view class=\"common-popup-content fill-base pd-lg radius-34\">\r\n\t\t\t\t<view class=\"title\">温馨提示</view>\r\n\t\t\t\t<view class=\"desc\">\r\n\t\t\t\t\t你确认要操作{{statusType[popupInfo.type]}}吗?\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"mt-lg\" v-if=\"popupInfo.type == 2\">\r\n\t\t\t\t\t<input v-model=\"popupInfo.price\" type=\"digit\"\r\n\t\t\t\t\t\tclass=\"input flex-y-center pl-lg pr-lg f-sm-title c-title radius-16\"\r\n\t\t\t\t\t\tplaceholder-class=\"c-placeholder\" placeholder=\"请输入退款金额\" />\r\n\t\t\t\t\t<view class=\"f-desc c-caption mt-md\">\r\n\t\t\t\t\t\t<view class=\"flex-y-center\">实际可退款金额<view class=\"ml-sm c-warning\">¥{{popupInfo.apply_price}}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view>退款金额不能大于可退款金额</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"button\">\r\n\t\t\t\t\t<view @tap.stop=\"$refs.change_item.close()\" class=\"item-child\">取消</view>\r\n\t\t\t\t\t<view @tap.stop=\"confirmChangeOrder\" class=\"item-child c-base\"\r\n\t\t\t\t\t\t:style=\"{background: primaryColor,color:'#fff'}\">确定</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</uni-popup>\r\n\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tmapState,\r\n\t\tmapActions,\r\n\t\tmapMutations\r\n\t} from \"vuex\"\r\n\texport default {\r\n\t\tcomponents: {},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\toptions: {},\r\n\t\t\t\tcarType: {\r\n\t\t\t\t\t0: '公交/地铁',\r\n\t\t\t\t\t1: '出租车'\r\n\t\t\t\t},\r\n\t\t\t\tpayType: {\r\n\t\t\t\t\t1: '微信支付',\r\n\t\t\t\t\t2: '余额支付',\r\n\t\t\t\t\t3: '支付宝支付'\r\n\t\t\t\t},\r\n\t\t\t\tstatusType: {\r\n\t\t\t\t\t1: '退款申请中',\r\n\t\t\t\t\t2: '同意退款',\r\n\t\t\t\t\t3: '拒绝退款',\r\n\t\t\t\t},\r\n\t\t\t\tdetail: {\r\n\t\t\t\t\tpay_type: 0\r\n\t\t\t\t},\r\n\t\t\t\tlockTap: false,\r\n\t\t\t\tpopupInfo: {}\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: mapState({\r\n\t\t\tprimaryColor: state => state.config.configInfo.primaryColor,\r\n\t\t\tsubColor: state => state.config.configInfo.subColor,\r\n\t\t\tconfigInfo: state => state.config.configInfo,\r\n\t\t\tuserInfo: state => state.user.userInfo,\r\n\t\t\tover_time_text() {\r\n\t\t\t\treturn new Date().getTime() + this.detail.end_time * 1000\r\n\t\t\t}\r\n\t\t}),\r\n\t\tonLoad(options) {\r\n\t\t\tlet {\r\n\t\t\t\tagent = 0\r\n\t\t\t} = options\r\n\t\t\toptions.agent = agent * 1\r\n\t\t\tthis.options = options\r\n\t\t\tthis.initIndex()\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t...mapActions(['getConfigInfo', 'getCoachInfo']),\r\n\t\t\t...mapMutations(['updateTechnicianItem']),\r\n\t\t\tasync initIndex(refresh = false) {\r\n\t\t\t\t// #ifdef H5\r\n\t\t\t\tif (!refresh && this.$jweixin.isWechat()) {\r\n\t\t\t\t\tawait this.$jweixin.initJssdk();\r\n\t\t\t\t\tthis.$jweixin.wxReady(() => {\r\n\t\t\t\t\t\tthis.$jweixin.hideOptionMenu()\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t\t// #endif\r\n\t\t\t\tif (!this.configInfo.id || refresh) {\r\n\t\t\t\t\tawait this.getConfigInfo()\r\n\t\t\t\t}\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid,\r\n\t\t\t\t\tagent\r\n\t\t\t\t} = this.options\r\n\t\t\t\tlet methodKey = agent ? 'agent' : 'admin'\r\n\t\t\t\tlet data = await this.$api[methodKey].refundOrderInfo({\r\n\t\t\t\t\tid\r\n\t\t\t\t})\r\n\t\t\t\tthis.$util.setNavigationBarColor({\r\n\t\t\t\t\tbg: this.primaryColor\r\n\t\t\t\t})\r\n\t\t\t\tdata.is_balance = data.balance * 1 > 0 ? 1 : 0\r\n\t\t\t\tthis.detail = data\r\n\t\t\t},\r\n\t\t\tinitRefresh() {\r\n\t\t\t\tthis.initIndex(true)\r\n\t\t\t},\r\n\t\t\t// type: 2同意退款;3拒绝退款\r\n\t\t\tasync toConfirm(type) {\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid,\r\n\t\t\t\t\tapply_price\r\n\t\t\t\t} = this.detail\r\n\t\t\t\tthis.popupInfo = {\r\n\t\t\t\t\tid,\r\n\t\t\t\t\ttype,\r\n\t\t\t\t\tapply_price,\r\n\t\t\t\t\tprice: type == 2 ? apply_price : '',\r\n\t\t\t\t\ttext: ''\r\n\t\t\t\t}\r\n\t\t\t\tthis.$refs.change_item.open()\r\n\t\t\t},\r\n\t\t\tasync confirmChangeOrder() {\r\n\t\t\t\tlet {\r\n\t\t\t\t\ttype,\r\n\t\t\t\t\tprice,\r\n\t\t\t\t\tapply_price\r\n\t\t\t\t} = this.popupInfo\r\n\t\t\t\tlet param = this.$util.pick(this.popupInfo, ['id', 'price', 'text'])\r\n\t\t\t\tlet reg = /^(([0-9][0-9]*)|(([0]\\.\\d{1,2}|[1-9][0-9]*\\.\\d{1,2})))$/\r\n\t\t\t\tif (type == 2 && (!price || !reg.test(price) || price * 1 > apply_price * 1)) {\r\n\t\t\t\t\tthis.$util.showToast({\r\n\t\t\t\t\t\ttitle: !price ? '请输入退款金额' : !reg.test(price) ? '请输入正确的退款金额,最多保留2位小数' : '退款金额不能大于可退款金额'\r\n\t\t\t\t\t})\r\n\t\t\t\t\treturn\r\n\t\t\t\t}\r\n\t\t\t\tif (this.lockTap) return;\r\n\t\t\t\tthis.lockTap = true;\r\n\t\t\t\tthis.$util.showLoading()\r\n\t\t\t\tlet {\r\n\t\t\t\t\tagent\r\n\t\t\t\t} = this.options\r\n\t\t\t\tlet methodKey = agent ? 'agent' : 'admin'\r\n\t\t\t\tlet methodModel = type == 2 ? 'passRefund' : 'noPassRefund'\r\n\t\t\t\ttry {\r\n\t\t\t\t\tawait this.$api[methodKey][methodModel](param)\r\n\t\t\t\t\tthis.$refs.change_item.close()\r\n\t\t\t\t\tthis.$util.showToast({\r\n\t\t\t\t\t\ttitle: '操作成功'\r\n\t\t\t\t\t})\r\n\t\t\t\t\tthis.lockTap = false;\r\n\t\t\t\t\tthis.updateTechnicianItem({\r\n\t\t\t\t\t\tkey: 'haveOperItem',\r\n\t\t\t\t\t\tval: true\r\n\t\t\t\t\t})\r\n\t\t\t\t\tthis.initRefresh()\r\n\t\t\t\t\tthis.$util.back()\r\n\t\t\t\t} catch (e) {\r\n\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\tthis.lockTap = false\r\n\t\t\t\t\t\tthis.$util.hideAll()\r\n\t\t\t\t\t}, 2000)\r\n\t\t\t\t\treturn\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// 咨询\r\n\t\t\tasync toTel() {\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid: order_id,\r\n\t\t\t\t\tpay_type\r\n\t\t\t\t} = this.detail\r\n\t\t\t\tlet {\r\n\t\t\t\t\tagent\r\n\t\t\t\t} = this.options\r\n\t\t\t\tlet methodKey = agent ? 'agent' : 'admin'\r\n\t\t\t\tif ([2, 3, 4, 5, 6].includes(pay_type)) {\r\n\t\t\t\t\tlet url = await this.$api[methodKey].getVirtualPhone({\r\n\t\t\t\t\t\torder_id\r\n\t\t\t\t\t})\r\n\t\t\t\t\tthis.$util.goUrl({\r\n\t\t\t\t\t\turl,\r\n\t\t\t\t\t\topenType: `call`\r\n\t\t\t\t\t})\r\n\t\t\t\t} else {\r\n\t\t\t\t\tlet msg = pay_type == 7 ? '服务结束' : '服务取消'\r\n\t\t\t\t\tthis.$util.showToast({\r\n\t\t\t\t\t\ttitle: `${msg}不能联系客户哦`\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// 复制定位\r\n\t\t\ttoCopy() {\r\n\t\t\t\tlet {\r\n\t\t\t\t\taddress,\r\n\t\t\t\t\taddress_info\r\n\t\t\t\t} = this.detail.address_info\r\n\t\t\t\tlet url = `${address}${address_info}`\r\n\t\t\t\tthis.$util.goUrl({\r\n\t\t\t\t\turl,\r\n\t\t\t\t\topenType: 'copy'\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t// 查看定位\r\n\t\t\tasync toMap(key) {\r\n\t\t\t\tlet {\r\n\t\t\t\t\taddress,\r\n\t\t\t\t\taddress_info = '',\r\n\t\t\t\t\tlat,\r\n\t\t\t\t\tlng\r\n\t\t\t\t} = this.detail[key]\r\n\t\t\t\tawait this.$util.checkAuth({\r\n\t\t\t\t\ttype: 'userLocation'\r\n\t\t\t\t})\r\n\t\t\t\tawait uni.getLocation({\r\n\t\t\t\t\ttype: 'gcj02',\r\n\t\t\t\t})\r\n\t\t\t\tawait uni.openLocation({\r\n\t\t\t\t\tlatitude: lat * 1,\r\n\t\t\t\t\tlongitude: lng * 1,\r\n\t\t\t\t\tname: address_info ? `${address} ${address_info}` : address,\r\n\t\t\t\t\tscale: 28\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n\r\n<style lang=\"scss\">\r\n\t.avatar.coath {\r\n\t\twidth: 94rpx;\r\n\t\theight: 94rpx;\r\n\t}\r\n</style>","import mod from \"-!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./detail.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./detail.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1725332663989\n var cssReload = require(\"C:/Users/Administrator/Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"/\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}