|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-saleAfter-saleAfterDetail-index"],{"0311":function(t,e,n){"use strict";var a=n("cf7c"),i=n.n(a);i.a},"0422":function(t,e,n){"use strict";n.r(e);var a=n("126a"),i=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},"0e68":function(t,e,n){"use strict";n.r(e);var a=n("d863"),i=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},1014:function(t,e,n){"use strict";n.r(e);var a=n("adfb"),i=n("f341");for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("5f20");var s,o=n("f0c5"),c=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,"693df3d6",null,!1,a["a"],s);e["default"]=c.exports},1230:function(t,e,n){var a=n("4314");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("34bf51e0",a,!0,{sourceMap:!1,shadowMode:!1})},"126a":function(t,e,n){"use strict";var a=n("4ea4");n("99af"),n("d81d"),n("a434"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("5530"));n("96cf");var r=a(n("1da1")),s=a(n("359f")),o=a(n("f196")),c=a(n("5a25")),u=n("c0d4"),l=n("ed1e"),d={components:{UiWhiteBox:c.default,UiButton:s.default,UiCell:o.default},props:{data:{type:Object,default:function(){return{}}},company:{type:Array,default:function(){return[]}}},data:function(){return{logisticsShow:!1,fileList:[],params:{companyCode:"",companyName:"",logisticsImages:[],refundId:this.$Route.query.id,remark:"",trackingNo:""}}},methods:{cancelSaleAfter:function(){var t=this;return(0,r.default)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.$msb.confirm({content:"你将撤销本次申请,撤销后,保障期内你可以再次申请售后服务",cancelTxt:"我再想想",confirm:function(){var e=(0,r.default)(regeneratorRuntime.mark((function e(){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,u.ApiPostCancelSaleAfter)({refundId:t.data.refundId});case 2:if(n=e.sent,a=n.error,n.result,!a){e.next=8;break}return uni.$u.toast(a.message),e.abrupt("return",!1);case 8:t.$emit("reload");case 9:case"end":return e.stop()}}),e)})));function n(){return e.apply(this,arguments)}return n}()});case 1:case"end":return e.stop()}}),e)})))()},confirmCompany:function(t){this.params=(0,i.default)((0,i.default)({},this.params),t.value[0]),this.logisticsShow=!1},getOssCon:function(){return(0,r.default)(regeneratorRuntime.mark((function t(){var e,n,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,l.ApiPostGetOssConfig)({configId:"refund-evidence/",serviceName:"mall-trade"});case 2:if(e=t.sent,n=e.error,a=e.result,!n){t.next=8;break}return uni.$u.toast(n.message),t.abrupt("return",!1);case 8:return t.abrupt("return",a);case 9:case"end":return t.stop()}}),t)})))()},upload:function(t){var e=this;return(0,r.default)(regeneratorRuntime.mark((function n(){var a,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=t.file[0],n.next=3,e.getOssCon();case 3:if(i=n.sent,i){n.next=6;break}return n.abrupt("return",!1);case 6:uni.uploadFile({name:"file",filePath:a.url,url:i.host,formData:{name:a.name,key:"".concat(i.dir,"${filename}"),policy:i.policy,OSSAccessKeyId:i.accessId,success_action_status:200,signature:i.signature},success:function(t){e.fileList.push({url:"".concat(i.host,"/").concat(i.dir).concat(a.name)})}});case 7:case"end":return n.stop()}}),n)})))()},delImage:function(t){this.fileList.splice(t.index,1)},submit:function(){var t=this;return(0,r.default)(regeneratorRuntime.mark((function e(){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.params.logisticsImages=t.fileList.map((function(t){return t.url})),e.next=3,(0,u.ApiPutLogisticsInfo)(t.params);case 3:if(n=e.sent,a=n.error,n.result,!a){e.next=9;break}return uni.$u.toast(a.message),e.abrupt("return",!1);case 9:t.$emit("reload");case 10:case"end":return e.stop()}}),e)})))()}}};e.default=d},"17e9":function(t,e,n){var a=n("6d7d");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("3d087fa4",a,!0,{sourceMap:!1,shadowMode:!1})},"1e7c":function(t,e,n){var a=n("24d1");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("fc170df4",a,!0,{sourceMap:!1,shadowMode:!1})},"20bb":function(t,e,n){"use strict";var a=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("5a25")),r=a(n("7932")),s=a(n("f196")),o={components:{UiWhiteBox:i.default,UiGoodsInfo:r.default,UiCell:s.default},props:{data:{type:Object,default:function(){return{}}}}};e.default=o},2196:function(t,e,n){"use strict";n("99af"),n("e25e"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={props:{data:{type:Object,default:{}}},data:function(){return{ctxData:{1:{name:"请等待商家处理",tips:"",icon:n("5b74")},2:{name:"退款关闭",tips:"",icon:n("8cd3")},3:{name:"请寄回商品,并填写物流信息",tips:"",icon:n("5b74")},4:{name:"快递已发出,等待商家收货",tips:"您的包裹正在退回的路上",icon:n("5b74")},5:{name:"快递已收货,等待商家退款",tips:"",icon:n("5b74")},6:{name:"退款成功",tips:"退款将于7个工作日内原路返回,注意查收",icon:n("5b74")},7:{name:"退款关闭",tips:"",icon:n("8cd3")}},ctxCon:{name:"--",icon:n("5b74")}}},watch:{data:function(t){t&&this.setCtxCon()}},computed:{},methods:{setCtxCon:function(){var t=this.data,e=t.refundStatus,n=t.handleExpireTime,a=t.returnExpireTime,i=t.refundExpireTime,r=t.closeReason;switch(this.ctxCon=this.ctxData[e],e){case 1:this.ctxCon.tips="您的申请已经提交,还剩".concat(this.calcTimer(n));break;case 3:this.ctxCon.tips="还剩".concat(this.calcTimer(a));break;case 5:this.ctxCon.tips="若商家未及时处理,退款将在".concat(this.calcTimer(i),"后自动退回");break;case 2:case 7:this.ctxCon.tips=r;break;default:break}},calcTimer:function(t){var e=new Date(t).getTime(),n=new Date(this.data.serverTime).getTime(),a=parseInt((e-n)/6e4),i=parseInt(Math.floor(a/1440)),r=parseInt(Math.floor((a-1440*i)/60)),s=parseInt(Math.floor(a-60*(24*i+r)));return"".concat(i?"".concat(i,"天").concat(r,"时").concat(s,"分"):r?"".concat(r,"时").concat(s,"分"):s?"".concat(s,"分"):"1分")}}};e.default=a},2499:function(t,e,n){"use strict";n.r(e);var a=n("eff0"),i=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},"24d1":function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 透明度 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.title[data-v-6770340e]{display:block;height:%?100?%;line-height:%?100?%;padding-left:%?30?%;border-bottom:1px solid #eee}.goods-info[data-v-6770340e]{border:0}.info[data-v-6770340e]{padding:0 %?30?% %?10?%}.info--cell[data-v-6770340e]{margin:%?30?% 0;display:flex;justify-content:space-between}.info--cell-label[data-v-6770340e]{color:#999;font-size:%?24?%}.info--cell-value[data-v-6770340e]{font-size:%?24?%;color:#666}',""]),t.exports=e},2929:function(t,e,n){"use strict";n.r(e);var a=n("2abb"),i=n("2499");for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("f28a");var s,o=n("f0c5"),c=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,"6603e3d2",null,!1,a["a"],s);e["default"]=c.exports},"2abb":function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("UiWhiteBox",[n("v-uni-view",{staticClass:"title"},[t._v("您已成功发起退款申请,请耐心等待商家处理")]),n("v-uni-view",{staticClass:"content"},[n("v-uni-view",[t._v("•商家同意后,请按照给出的退货地址退货,并请记录退货运单号")]),n("v-uni-view",[t._v("•如商家拒绝,您可以修改申请后再次发起,商家会重新处理")]),n("v-uni-view",[t._v("•如商家超时未处理,退货申请将达成,请按系统给出的退货地址退货")])],1),n("v-uni-view",{staticClass:"footer"},[n("UiButton",{attrs:{size:"min"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.cancelSaleAfter.apply(void 0,arguments)}}},[t._v("撤销申请")]),n("UiButton",{staticClass:"btn",attrs:{size:"min",type:"gradual"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.edit.apply(void 0,arguments)}}},[t._v("修改申请")])],1)],1)},r=[]},"2b0c":function(t,e,n){"use strict";n.r(e);var a=n("2196"),i=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},3188:function(t,e,n){"use strict";n.r(e);var a=n("e4d4"),i=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},"38a1":function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 透明度 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */uni-page-body[data-v-1ca5e381]{background:#f8f8f8;padding-bottom:%?120?%}body.?%PAGE?%[data-v-1ca5e381]{background:#f8f8f8}',""]),t.exports=e},4314:function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 透明度 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.title[data-v-7abed8dc]{height:%?100?%;line-height:%?100?%;padding-left:%?30?%;border-bottom:1px solid #eee}.info[data-v-7abed8dc]{padding:0 %?30?% %?10?%}.info--cell[data-v-7abed8dc]{margin:%?30?% 0;display:flex;justify-content:space-between}.info--cell-label[data-v-7abed8dc]{color:#999;font-size:%?24?%}.info--cell-value[data-v-7abed8dc]{font-size:%?24?%;color:#666;text-align:right;max-width:%?500?%;word-wrap:break-word;word-break:normal}.recipient[data-v-7abed8dc]{color:#666;font-size:%?24?%;margin-bottom:%?10?%}',""]),t.exports=e},5519:function(t,e,n){"use strict";n.r(e);var a=n("edc1"),i=n("3188");for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("abc5");var s,o=n("f0c5"),c=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,"1ca5e381",null,!1,a["a"],s);e["default"]=c.exports},"5f20":function(t,e,n){"use strict";var a=n("17e9"),i=n.n(a);i.a},6124:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var a={uCell:n("4290").default,uUpload:n("ab87").default,uPicker:n("68ab").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("UiWhiteBox",[a("v-uni-view",{staticClass:"title"},[t._v("商家已同意退货申请,请尽早退货。")]),a("u-cell",{staticClass:"address",attrs:{border:!1}},[a("v-uni-view",{staticClass:"address--title",attrs:{slot:"title"},slot:"title"},[t._v(t._s(t.data.refundLogistics.recipientAddress))]),a("v-uni-image",{staticClass:"address--icon",attrs:{slot:"icon",src:n("cc7f")},slot:"icon"}),a("v-uni-view",{staticClass:"address--label",attrs:{slot:"label"},slot:"label"},[a("v-uni-text",[t._v("收货人:"+t._s(t.data.refundLogistics.recipientName))]),a("v-uni-text",[t._v(t._s(t.data.refundLogistics.recipientPhone))])],1)],1)],1),a("UiWhiteBox",[a("v-uni-view",{staticClass:"title title__normal"},[t._v("退货说明:拒收到付")]),a("v-uni-view",{staticClass:"content"},[a("v-uni-view",[t._v("•未与商家协商一致,请勿使用到付或平邮,以免商家拒签货物")]),a("v-uni-view",[t._v("•请填写真实退货物流信息,逾期未填写,退货申请将关闭")])],1),a("v-uni-view",{staticClass:"footer"},[a("UiButton",{attrs:{size:"min"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.cancelSaleAfter.apply(void 0,arguments)}}},[t._v("撤销申请")])],1)],1),a("UiWhiteBox",{staticClass:"box"},[a("UiCell",{attrs:{title:"物流公司"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.logisticsShow=!0}}},[a("v-uni-input",{staticClass:"cell-input",attrs:{slot:"value",placeholder:"请选择物流公司"},slot:"value",model:{value:t.params.companyName,callback:function(e){t.$set(t.params,"companyName",e)},expression:"params.companyName"}})],1),a("UiCell",{attrs:{title:"物流单号",rightIcon:!1}},[a("v-uni-input",{staticClass:"cell-input",attrs:{slot:"value",placeholder:"请填写物流单号"},slot:"value",model:{value:t.params.trackingNo,callback:function(e){t.$set(t.params,"trackingNo",e)},expression:"params.trackingNo"}})],1),a("v-uni-view",{staticClass:"cell-title"},[a("v-uni-view",[a("v-uni-text",[t._v("备注说明")])],1),a("v-uni-text",{staticClass:"cell-title--min"},[t._v(t._s(t.params.remark.length)+"/45")])],1),a("v-uni-textarea",{staticClass:"cell-textarea",attrs:{maxlength:"45",placeholder:"请输入您申请退款的问题"},model:{value:t.params.remark,callback:function(e){t.$set(t.params,"remark",e)},expression:"params.remark"}})],1),a("UiWhiteBox",{staticClass:"box"},[a("v-uni-view",{staticClass:"cell-title"},[a("v-uni-text",[t._v("上传凭证")]),a("v-uni-text",{staticClass:"cell-title--min"},[t._v("(0/9)")])],1),a("u-upload",{attrs:{fileList:t.fileList,multiple:!0,maxCount:9,previewFullImage:!0},on:{afterRead:function(e){arguments[0]=e=t.$handleEvent(e),t.upload.apply(void 0,arguments)},delete:function(e){arguments[0]=e=t.$handleEvent(e),t.delImage.apply(void 0,arguments)}}})],1),a("UiButton",{staticClass:"submit-btn",attrs:{size:"max",type:"gradual"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.submit.apply(void 0,arguments)}}},[t._v("确认提交")]),a("u-picker",{attrs:{show:t.logisticsShow,columns:t.company,keyName:"companyName"},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.confirmCompany.apply(void 0,arguments)},cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.logisticsShow=!1}}})],1)},r=[]},"629f":function(t,e,n){"use strict";n.r(e);var a=n("c525"),i=n("7159");for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("d1f1");var s,o=n("f0c5"),c=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,"6770340e",null,!1,a["a"],s);e["default"]=c.exports},"6d7d":function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 透明度 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.header[data-v-693df3d6]{height:%?88?%;padding:0 %?40?%;display:flex;justify-content:space-between;align-items:center;background:#f8f8f8;position:-webkit-sticky;position:sticky;top:var(--window-top);z-index:999}.header--back[data-v-693df3d6]{width:%?14?%;height:%?28?%;margin-right:%?20?%}.header--title[data-v-693df3d6]{flex:1;text-align:center;font-size:%?36?%;font-weight:700}.header--operation[data-v-693df3d6]{position:absolute;right:%?40?%;top:0}',""]),t.exports=e},"6f28":function(t,e,n){var a=n("d1fc");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("82a07cec",a,!0,{sourceMap:!1,shadowMode:!1})},7159:function(t,e,n){"use strict";n.r(e);var a=n("20bb"),i=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},"80b3":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={props:{title:{type:String,default:""},back:{type:Boolean,default:!0}}};e.default=a},"8fc4":function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 透明度 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.title[data-v-6603e3d2]{height:%?98?%;line-height:%?98?%;padding-left:%?30?%;border-bottom:%?2?% solid #eee;color:#ff875b}.content[data-v-6603e3d2]{padding:%?30?% %?30?% 0}.content uni-view[data-v-6603e3d2]{line-height:%?34?%;color:#999;font-size:%?24?%;margin-bottom:%?28?%}.footer[data-v-6603e3d2]{padding:0 %?30?% %?30?%;text-align:right}.footer .btn[data-v-6603e3d2]{margin-left:%?20?%}',""]),t.exports=e},abc5:function(t,e,n){"use strict";var a=n("b818"),i=n.n(a);i.a},adfb:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"header"},[t.back?a("v-uni-image",{staticClass:"header--back",attrs:{src:n("df5e")},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.back()}}}):t._e(),t._t("custom",[a("v-uni-text",{staticClass:"header--title"},[t._v(t._s(t.title))]),a("v-uni-view",{staticClass:"header--operation"},[t._t("operation")],2)])],2)},r=[]},b16a:function(t,e,n){"use strict";n.r(e);var a=n("6124"),i=n("0422");for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("fa48");var s,o=n("f0c5"),c=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,"77fbed54",null,!1,a["a"],s);e["default"]=c.exports},b818:function(t,e,n){var a=n("38a1");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("42f8f583",a,!0,{sourceMap:!1,shadowMode:!1})},bb73:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"status"},[n("v-uni-image",{staticClass:"status--icon",attrs:{src:t.ctxCon.icon}}),n("v-uni-view",{staticClass:"status--name"},[t._v(t._s(t.ctxCon.name))]),n("v-uni-view",{staticClass:"status--desc"},[t._v(t._s(t.ctxCon.tips))])],1)},r=[]},bc84:function(t,e,n){"use strict";var a=n("1230"),i=n.n(a);i.a},c332:function(t,e,n){var a=n("8fc4");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("b714dcfe",a,!0,{sourceMap:!1,shadowMode:!1})},c525:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("UiWhiteBox",[n("v-uni-text",{staticClass:"title"},[t._v("退款信息")]),n("UiGoodsInfo",{staticClass:"goods-info",attrs:{data:t.data.refundProduct}}),n("v-uni-view",{staticClass:"info"},[n("v-uni-view",{staticClass:"info--cell"},[n("v-uni-text",{staticClass:"info--cell-label"},[t._v("退款原因:")]),n("v-uni-view",{staticClass:"info--cell-value"},[t._v(t._s(t.data.refundReason))])],1),n("v-uni-view",{staticClass:"info--cell"},[n("v-uni-text",{staticClass:"info--cell-label"},[t._v("退款金额:")]),n("v-uni-view",{staticClass:"info--cell-value"},[t._v("¥"+t._s(t.data.refundAmount))])],1),n("v-uni-view",{staticClass:"info--cell"},[n("v-uni-text",{staticClass:"info--cell-label"},[t._v("申请件款:")]),n("v-uni-view",{staticClass:"info--cell-value"},[t._v(t._s(t.data.refundProduct.quantity)+"件")])],1),n("v-uni-view",{staticClass:"info--cell"},[n("v-uni-text",{staticClass:"info--cell-label"},[t._v("申请时间:")]),n("v-uni-view",{staticClass:"info--cell-value"},[t._v(t._s(t.data.applyTime))])],1),n("v-uni-view",{staticClass:"info--cell"},[n("v-uni-text",{staticClass:"info--cell-label"},[t._v("退款编号:")]),n("v-uni-view",{staticClass:"info--cell-value"},[t._v(t._s(t.data.refundNo))])],1)],1)],1)},r=[]},c5f2:function(t,e,n){"use strict";n.r(e);var a=n("c7a7"),i=n("0e68");for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("bc84");var s,o=n("f0c5"),c=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,"7abed8dc",null,!1,a["a"],s);e["default"]=c.exports},c7a7:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("UiWhiteBox",[n("v-uni-view",{staticClass:"title"},[t._v("寄件信息")]),n("v-uni-view",{staticClass:"info"},[n("v-uni-view",{staticClass:"info--cell"},[n("v-uni-text",{staticClass:"info--cell-label"},[t._v("收货信息:")]),n("v-uni-view",{staticClass:"info--cell-value"},[n("v-uni-view",{staticClass:"recipient"},[t._v(t._s(t.data.recipientName)+" "+t._s(t.data.recipientPhone))]),n("v-uni-view",{staticClass:"recipient"},[t._v(t._s(t.data.recipientAddress))])],1)],1),n("v-uni-view",{staticClass:"info--cell"},[n("v-uni-text",{staticClass:"info--cell-label"},[t._v("物流公司:")]),n("v-uni-view",{staticClass:"info--cell-value"},[t._v(t._s(t.data.companyName))])],1),n("v-uni-view",{staticClass:"info--cell"},[n("v-uni-text",{staticClass:"info--cell-label"},[t._v("物流单号:")]),n("v-uni-view",{staticClass:"info--cell-value"},[t._v(t._s(t.data.trackingNo))])],1),n("v-uni-view",{staticClass:"info--cell"},[n("v-uni-text",{staticClass:"info--cell-label"},[t._v("备注说明:")]),n("v-uni-view",{staticClass:"info--cell-value"},[t._v(t._s(t.data.completeReturnRemark))])],1)],1)],1)},r=[]},cf7c:function(t,e,n){var a=n("df20");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("4f09a000",a,!0,{sourceMap:!1,shadowMode:!1})},d1f1:function(t,e,n){"use strict";var a=n("1e7c"),i=n.n(a);i.a},d1fc:function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 透明度 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.box[data-v-77fbed54]{padding:0 %?30?%}.address[data-v-77fbed54] .u-cell__body__content{padding:%?10?% 0}.address--title[data-v-77fbed54]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:%?500?%}.address--title__grey[data-v-77fbed54]{color:#999}.address--icon[data-v-77fbed54]{width:%?28?%;height:%?34?%;margin-right:%?30?%}.address--label[data-v-77fbed54]{margin-top:%?26?%}.address--label uni-text[data-v-77fbed54]{font-size:%?24?%;color:#999;margin-right:%?40?%}.title[data-v-77fbed54]{height:%?98?%;line-height:%?98?%;padding-left:%?30?%;border-bottom:%?2?% solid #eee;color:#ff875b}.title__normal[data-v-77fbed54]{color:#333}.content[data-v-77fbed54]{padding:%?30?% %?30?% 0}.content uni-view[data-v-77fbed54]{line-height:%?34?%;color:#999;font-size:%?24?%;margin-bottom:%?28?%}.footer[data-v-77fbed54]{padding:0 %?30?% %?30?%;text-align:right}.footer .btn[data-v-77fbed54]{margin-left:%?20?%}.cell-title[data-v-77fbed54]{padding:%?30?% 0;display:flex;justify-content:space-between}.cell-title--min[data-v-77fbed54]{font-size:%?24?%;color:#999}.cell-input[data-v-77fbed54]{text-align:right;flex:1}.cell-textarea[data-v-77fbed54]{height:%?100?%}.submit-btn[data-v-77fbed54]{position:fixed;bottom:%?30?%;left:%?30?%;z-index:999;width:%?670?%}',""]),t.exports=e},d863:function(t,e,n){"use strict";var a=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("5a25")),r={components:{UiWhiteBox:i.default},props:{data:{type:Object,default:function(){return{}}}}};e.default=r},df20:function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 透明度 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.status[data-v-876e3f74]{padding:%?48?% %?60?% 0;margin-bottom:%?48?%;min-height:%?130?%;position:relative}.status--icon[data-v-876e3f74]{width:%?100?%;height:%?100?%;position:absolute;right:%?60?%;top:%?51?%}.status--name[data-v-876e3f74]{font-size:%?36?%;margin-bottom:%?20?%}.status--desc[data-v-876e3f74]{font-size:%?28?%;color:#999}',""]),t.exports=e},df5e:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAA4CAMAAADZ7miGAAAAAXNSR0IArs4c6QAAADxQTFRFAAAAMDAwMDAwNTU1NDQ0MjIyMjIyMjIyNDQ0MzMzMzMzMzMzMzMzMzMzMjIyMzMzMzMzMzMzMzMzMzMzAGSrYgAAABN0Uk5TABAgMEBgcH+An6CvsL/Az9Dv8AptTWoAAADHSURBVDjLzdXRDoMgDIXhCtOhokDP+7/rLubAhLaJXph5+0fCh6ESic87YXVyohUAilxnAACi1KZvQxHaeDRw33z5xX5ZVxu6DQ2ptrF7castaAgAi4oAso5AHjpEbex1YN9MRGvTJUSobb+LcH+NeBkIijqCSEecYpFiXVa6Gm1Dqd/QibIJCy+1zkLNxvHRkI2DJ88WqH1sCTQ+AAr3QfBXuTaoXft0GbTfBznWx9sZFK2RWqxhzOIYX4wxfoBY+z0E5ujoAyE0JzXNCO3eAAAAAElFTkSuQmCC"},e4d4:function(t,e,n){"use strict";var a=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("5530"));n("96cf");var r=a(n("1da1")),s=n("c0d4"),o=a(n("1014")),c=a(n("7932")),u=a(n("5a25")),l=a(n("359f")),d=a(n("ff92")),f=a(n("f196")),v=a(n("629f")),p=a(n("2929")),m=a(n("b16a")),b=a(n("c5f2")),h={components:{UiPageHeader:o.default,UiGoodsInfo:c.default,UiWhiteBox:u.default,UiButton:l.default,StatusTips:d.default,UiCell:f.default,GoodsInfo:v.default,AwaitExamine:p.default,SubmitLogistics:m.default,LogisticsInfo:b.default},data:function(){return{orderInfo:{refundProduct:{}},logisticsCompany:[]}},onLoad:function(){this.getOrderInfo()},methods:{getOrderInfo:function(){var t=this;return(0,r.default)(regeneratorRuntime.mark((function e(){var n,a,r,o,c;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.$Route.query.id,a=t.$Route.query.orderProductId,e.next=4,(0,s.ApiGetSaleAfterOrderDetail)({refundId:n,orderProductId:a});case 4:if(r=e.sent,o=r.error,c=r.result,!o){e.next=10;break}return uni.$u.toast(o.message),e.abrupt("return",!1);case 10:c.refundLogistics&&(c.refundLogistics.completeReturnRemark=c.completeReturnRemark),t.orderInfo=(0,i.default)({},c),3==c.refundStatus&&t.getLogisticsCompanyList();case 13:case"end":return e.stop()}}),e)})))()},getLogisticsCompanyList:function(){var t=this;return(0,r.default)(regeneratorRuntime.mark((function e(){var n,a,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,s.ApiGetLogisticsCompanylist)();case 2:if(n=e.sent,a=n.error,i=n.result,!a){e.next=8;break}return uni.$u.toast(a.message),e.abrupt("return",!1);case 8:t.logisticsCompany=[i];case 9:case"end":return e.stop()}}),e)})))()}}};e.default=h},edc1:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("StatusTips",{attrs:{data:t.orderInfo}}),1==t.orderInfo.refundStatus?n("AwaitExamine",{attrs:{data:t.orderInfo},on:{reload:function(e){arguments[0]=e=t.$handleEvent(e),t.getOrderInfo.apply(void 0,arguments)}}}):t._e(),3==t.orderInfo.refundStatus?n("SubmitLogistics",{attrs:{data:t.orderInfo,company:t.logisticsCompany},on:{reload:function(e){arguments[0]=e=t.$handleEvent(e),t.getOrderInfo.apply(void 0,arguments)}}}):t._e(),[4,5,6].includes(t.orderInfo.refundStatus)?n("LogisticsInfo",{attrs:{data:t.orderInfo.refundLogistics}}):t._e(),n("GoodsInfo",{attrs:{data:t.orderInfo}})],1)},r=[]},eff0:function(t,e,n){"use strict";var a=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("96cf");var i=a(n("1da1")),r=a(n("359f")),s=a(n("5a25")),o=n("c0d4"),c={components:{UiWhiteBox:s.default,UiButton:r.default},props:{data:{type:Object,default:function(){return{}}}},data:function(){return{}},methods:{cancelSaleAfter:function(){var t=this;this.$msb.confirm({content:"你将撤销本次申请,撤销后,保障期内你可以再次申请售后服务",cancelTxt:"我再想想",confirm:function(){var e=(0,i.default)(regeneratorRuntime.mark((function e(){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,o.ApiPostCancelSaleAfter)({refundId:t.data.refundId});case 2:if(n=e.sent,a=n.error,n.result,!a){e.next=8;break}return uni.$u.toast(a.message),e.abrupt("return",!1);case 8:t.$emit("reload");case 9:case"end":return e.stop()}}),e)})));function n(){return e.apply(this,arguments)}return n}()})},edit:function(){this.$Router.push("/saleAfterEdit?id=".concat(this.data.refundId))}}};e.default=c},f28a:function(t,e,n){"use strict";var a=n("c332"),i=n.n(a);i.a},f341:function(t,e,n){"use strict";n.r(e);var a=n("80b3"),i=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},fa48:function(t,e,n){"use strict";var a=n("6f28"),i=n.n(a);i.a},ff92:function(t,e,n){"use strict";n.r(e);var a=n("bb73"),i=n("2b0c");for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("0311");var s,o=n("f0c5"),c=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,"876e3f74",null,!1,a["a"],s);e["default"]=c.exports}}]); |