text: (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/member/after_sale/detail"],{"15b5":function(t,e,s){},"2a70":function(t,e,s){"use strict";s("faac");var i=l(s("b0ce")),a=l(s("e9da"));function l(t){return t&&t.__esModule?t:{default:t}}Page((0,i.default)(a.default))},"2b7c":function(t,e,s){"use strict";var i=s("15b5"),a=s.n(i);a.a},3240:function(t,e,s){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s={data:function(){return{delivers:["请选择物流公司","顺丰","中通","圆通","韵达"],deliverIndex:0,type_name:"",refund:0,images:[],reason:"暂无",ttype:1,status:1,status_name:"审核中",reship_status:0,reship_name:"",refund_status:0,refund_name:"",reship_info:[],items:[],mark:"暂无",logi_no:"",logi_code:"",reship_id:"",mode:"aspectFill",order_id:"",order_status:"",submitStatus:!1}},methods:{submitBtn:function(){var e=this;if(this.submitStatus=!0,""==this.logino)return this.$common.errorToShow("请输入退货快递信息"),this.submitStatus=!1,!1;var s={logi_no:this.logi_no,logi_code:this.logi_code,reship_id:this.reship_id};this.$api.sendShip(s,function(s){s.status?e.$common.successToShow("提交成功",function(s){e.submitStatus=!1,t.navigateBack({delta:1})}):(e.$common.errorToShow(s.msg),e.submitStatus=!1)})},repeat:function(){this.$common.navigateTo("../after_sale/index?order_id="+this.order_id)},clickImg:function(e){t.previewImage({urls:e.split()})}},onLoad:function(t){var e=this,s={aftersales_id:t.aftersales_id};this.$api.afterSalesInfo(s,function(t){if(t.status){var s=t.data.info;1==s.type?(e.ttype=1,e.type_name="仅退款"):(e.ttype=2,e.type_name="退款退货"),e.refund=s.refund,e.images=s.images,e.reason=s.reason,e.reship_info=t.data.reship,e.order_id=s.order_id,e.order_status=s.order_status,s.mark&&(e.mark=s.mark),1==s.status?(e.status=1,e.status_name="审核中"):2==s.status?(e.status=2,e.status_name="申请通过",s.bill_refund&&(1==s.bill_refund.status?(e.refund_status=1,e.refund_name="退款中"):2==s.bill_refund.status&&(e.refund_status=2,e.refund_name="退款成功")),s.bill_reship&&(e.reship_id=s.bill_reship.reship_id,1==s.bill_reship.status?(e.reship_status=1,e.reship_name="待发退货"):2==s.bill_reship.status?(e.reship_status=2,e.reship_name="待收退货",e.logi_no=s.bill_reship.logi_no,e.logi_code=s.bill_reship.logi_code):(e.reship_status=3,e.reship_name="已收退货",e.logi_no=s.bill_reship.logi_no,e.logi_code=s.bill_reship.logi_code))):(e.status=3,e.status_name="申请驳回")}else e.$common.errorToShow(t.msg)})}};e.default=s}).call(this,s("543d")["default"])},"5d33":function(t,e,s){"use strict";var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("view",{staticClass:"content"},[s("view",{staticClass:"content-top"},[s("view",{staticClass:"cell-group margin-cell-group"},[s("view",{staticClass:"cell-item add-title-item"},[s("view",{staticClass:"cell-item-bd"},[t._m(0),s("view",{staticClass:"cell-bd-view"},[s("text",{staticClass:"cell-bd-text color-9"},[t._v(t._s(t.status_name)+" "+t._s(t.refund_name)+" "+t._s(t.reship_name)+"...")])]),s("view",{staticClass:"cell-bd-view"})])])]),s("view",{staticClass:"cell-group margin-cell-group"},[s("view",{staticClass:"cell-item"},[t._m(1),s("view",{staticClass:"cell-item-ft"},[s("view",{staticClass:"cell-ft-p"},[t._v(t._s(t.type_name))])])]),s("view",{staticClass:"cell-item"},[t._m(2),s("view",{staticClass:"cell-item-ft"},[s("view",{staticClass:"cell-ft-p red-price"},[t._v(t._s(t.refund)+"元")])])])]),t.images.length>0?s("view",{staticClass:"cell-group margin-cell-group"},[t._m(3),s("view",{},[s("view",{staticClass:"evaluate-c-b"},t._l(t.images,function(e,i){return s("view",{key:i,staticClass:"goods-img-item"},[s("image",{attrs:{src:e.url,mode:"aspectFit",eventid:"dea07cd4-0-"+i},on:{click:function(s){t.clickImg(e.url)}}})])}))])]):t._e(),s("view",{staticClass:"cell-group margin-cell-group"},[t._m(4),s("view",{staticClass:"cell-textarea"},[t.reason?s("text",[t._v(t._s(t.reason))]):s("text",[t._v("暂无描述")])])]),s("view",{directives:[{name:"show",rawName:"v-show",value:2==t.status&&1==t.reship_status,expression:"status == 2 && reship_status == 1"}],staticClass:"cell-group margin-cell-group"},[t._m(5),s("view",{staticClass:"cell-item"},[t._m(6),s("view",{staticClass:"cell-item-bd"},[s("input",{staticClass:"cell-bd-input",attrs:{type:"text",disabled:"false",value:t.reship_info.reship_name}})])]),s("view",{staticClass:"cell-item"},[t._m(7),s("view",{staticClass:"cell-item-bd"},[s("input",{staticClass:"cell-bd-input",attrs:{type:"text",disabled:"false",value:t.reship_info.reship_mobile}})])]),s("view",{staticClass:"cell-item"},[t._m(8),s("view",{staticClass:"cell-item-bd"},[s("input",{staticClass:"cell-bd-input",attrs:{type:"text",disabled:"false",value:t.reship_info.reship_area+t.reship_info.reship_address}})])])]),s("view",{directives:[{name:"show",rawName:"v-show",value:2==t.status&&1==t.reship_status,expression:"status == 2 && reship_status == 1"}],staticClass:"cell-group margin-cell-group"},[s("view",{staticClass:"cell-item"},[t._m(9),s("view",{staticClass:"cell-item-bd"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.logi_code,expression:"logi_code"}],staticClass:"cell-bd-input",attrs:{type:"text",placeholder:"请填写快递公司名称",eventid:"dea07cd4-1"},domProps:{value:t.logi_code},on:{input:function(e){e.target.composing||(t.logi_code=e.target.value)}}})])]),s("view",{staticClass:"cell-item"},[t._m(10),s("view",{staticClass:"cell-item-bd"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.logi_no,expression:"logi_no"}],staticClass:"cell-bd-input",attrs:{type:"text",placeholder:"请填写物流单号",eventid:"dea07cd4-2"},domProps:{value:t.logi_no},on:{input:function(e){e.target.composing||(t.logi_no=e.target.value)}}})])])]),s("view",{directives:[{name:"show",rawName:"v-show",value:2==t.status&&t.reship_status>1,expression:"status == 2 && reship_status > 1"}],staticClass:"cell-group margin-cell-group"},[s("view",{staticClass:"cell-item"},[t._m(11),s("view",{staticClass:"cell-item-bd"},[s("input",{staticClass:"cell-bd-input",attrs:{type:"text",disabled:"false",value:t.logi_code}})])]),s("view",{staticClass:"cell-item"},[t._m(12),s("view",{staticClass:"cell-item-bd"},[s("input",{staticClass:"cell-bd-input",attrs:{type:"text",disabled:"false",value:t.logi_no}})])])])]),s("view",{directives:[{name:"show",rawName:"v-show",value:2==t.status&&1==t.reship_status,expression:"status == 2 && reship_status == 1"}],staticClass:"button-bottom"},[s("button",{staticClass:"btn btn-b",attrs:{disabled:t.submitStatus,loading:t.submitStatus,eventid:"dea07cd4-3"},on:{click:t.submitBtn}},[t._v("提交")])],1),s("view",{directives:[{name:"show",rawName:"v-show",value:1==t.order_status&&3==t.status||1==t.order_status&&2==t.status&&1!=t.refund_status&&0!=t.refund_status||1==t.order_status&&2==t.status&&3==t.reship_status,expression:"(order_status == 1 && status == 3) || (order_status == 1 && status == 2 && refund_status != 1 && refund_status != 0) || (order_status == 1 && status == 2 && reship_status == 3)"}],staticClass:"button-bottom"},[s("button",{staticClass:"btn btn-b",attrs:{eventid:"dea07cd4-4"},on:{click:t.repeat}},[t._v("再次申请售后")])],1)])},a=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("view",{staticClass:"cell-bd-view black-text"},[s("text",{staticClass:"cell-bd-text color-3"},[t._v("退款单状态")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("view",{staticClass:"cell-item-hd"},[s("view",{staticClass:"cell-hd-title"},[t._v("售后类型")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("view",{staticClass:"cell-item-hd"},[s("view",{staticClass:"cell-hd-title"},[t._v("退款金额")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("view",{staticClass:"cell-item right-img"},[s("view",{staticClass:"cell-item-hd"},[s("view",{staticClass:"cell-hd-title"},[t._v("图片凭证")])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("view",{staticClass:"cell-item right-img"},[s("view",{staticClass:"cell-item-hd"},[s("view",{staticClass:"cell-hd-title"},[t._v("问题描述")])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("view",{staticClass:"cell-item right-img"},[s("view",{staticClass:"cell-item-hd"},[s("view",{staticClass:"cell-hd-title"},[t._v("退货邮寄信息")])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("view",{staticClass:"cell-item-hd"},[s("view",{staticClass:"cell-hd-title"},[t._v("收件人")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("view",{staticClass:"cell-item-hd"},[s("view",{staticClass:"cell-hd-title"},[t._v("联系方式")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("view",{staticClass:"cell-item-hd"},[s("view",{staticClass:"cell-hd-title"},[t._v("邮寄地址")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("view",{staticClass:"cell-item-hd"},[s("view",{staticClass:"cell-hd-title"},[t._v("快递公司")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("view",{staticClass:"cell-item-hd"},[s("view",{staticClass:"cell-hd-title"},[t._v("物流单号")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("view",{staticClass:"cell-item-hd"},[s("view",{staticClass:"cell-hd-title"},[t._v("快递公司")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("view",{staticClass:"cell-item-hd"},[s("view",{staticClass:"cell-hd-title"},[t._v("物流单号")])])}];s.d(e,"a",function(){return i}),s.d(e,"b",function(){return a})},e9da:function(t,e,s){"use strict";s.r(e);var i=s("5d33"),a=s("fadb");for(var l in a)"default"!==l&&function(t){s.d(e,t,function(){return a[t]})}(l);s("2b7c");var c=s("2877"),r=Object(c["a"])(a["default"],i["a"],i["b"],!1,null,null,null);e["default"]=r.exports},fadb:function(t,e,s){"use strict";s.r(e);var i=s("3240"),a=s.n(i);for(var l in i)"default"!==l&&function(t){s.d(e,t,function(){return i[t]})}(l);e["default"]=a.a}},[["2a70","common/runtime","common/vendor"]]]);