12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-efabe1a6"],{"47f6":function(s,t,i){"use strict";i("db0e")},"6d34":function(s,t){s.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAApxJREFUWEetl1eLlFEMhp+19y5WLKjYFRULKqgo/mgVxd5ARbGhF1bE3nvlWc63zH5z2syamxnm5CRvcpI3mQF6kynAQmA24PdxwB/gO/AFeAU8Bz7Wmh2oVJwKrAXmVeoL5C7wpqRfA2A1sAqo0W37ewpcB36lgOSMjgK2AgtKURTOPwGXAT+7JAdgC7B4hM6b65+B08DPtr0UgBXAuv/kvDHzErhQA2A8cBAYnQFgJM+AD0FnWuiOMQXQl0KXDKnFMrAJWJox9Ai4GSksga8HFmXuvgdOdZ63ARjB4Uz094A7hSg3AssyOic7MtfVWpLMtsTld6GQSqVhUAeAyQlFAzCQQWlnYAOwPHHxKvCk5D2cmwEzEZMXwMUUgB0ZtjsO2E41Ik2bhZhYuD5DNAN7gFmJi0eBbzXegYnAoYSuc+NICsAuYG7i4jngdSUAgzCYmHwFjqUA5Cr4AXCjEoCDa2VC1yAMJvoE9rD8HxPHrj1cGrUTwvunSOk+cDsFYGzgAQdRTBwo0qlpjIn7wU5gRiZTZ4C3KQD+Lg/IBymxEO1jGdGsKNK2U3NNKMDUXQM40XkYo+KZwN6Kt/4d2lIbkwqzozFnDVlLQ5Kahjk+qMAWVXFlM/oma4NKKQCuYPv63IJSAK8AbkjDJLeQbAaW9Btu617XFMwVYXNmR+wHbKuRiCl3G2p2h+oMqDgf2D4S76FjkiO8ZtOVmHJLRg6fURv9sMKr6YJOHRnNgrTVehHbVOdZ5qzJgE5lNodLiiFjwK4Bj0uIawFoxz3RfbFGHoY/JEXdXgBorLSwquO0Ow/8LXrvg2gE7M4wJ2Hcjclh86PGuTq9ZsA7FuVuYHrLiUPqbPiXXOu/LwANCJcOp6aF6aJ5KzOmk4D+AffgcCFcYREPAAAAAElFTkSuQmCC"},"78a3":function(s,t){s.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAZBJREFUWEftlrFLw0AUxr8XKoibBUdBZxdXEZTutr3rf+Ckg+LioqBWB3cVESfHgtDcmfwBdXFyrYuTILgE4iCIYMKTCBZaanNHG3TIjZfve/fjS17uESxXq9UaD8Nw0tLWJS8Wi6+lUukj2SSbQkqpMwBrAMZsfH20nwAupZSbxgDNZrPiOM7NkAd32YmoYgyglNoDcDRKAAD7NgAHAOojBqjnAHkC/yMBrfU0gG1mnu35yhtSykayp5TKpgt835+IougBwEyfFqtLKQ8zBfA8bzmO49tf+jt7ANd1V4jIzwHyBPIEDBLYAXA84ut4l0zb0HXdBSK6sx3jBgAzMy8aAySFtNarzLwFYGrIJAIiOhFCXA0EYObzWq22MeRhA+1pCQSO48xXq9WXrCDSAJJzA2a+JqLAAuLx5xZN85gApNXo99yXUlZMjDnA3yfged5cHMdtk/dlqiGiUyFE8r9IXd9Dqdb6gpnXU9VmgiciWhJCPJvIO1NxkkQURb1DqUmNjqZQKLwR0X25XH43NX4BOGfqBd0YeFsAAAAASUVORK5CYII="},"7f7f":function(s,t,i){var e=i("86cc").f,a=Function.prototype,r=/^\s*function ([^ (]*)/,n="name";n in a||i("9e1e")&&e(a,n,{configurable:!0,get:function(){try{return(""+this).match(r)[1]}catch(s){return""}}})},aa35:function(s,t){s.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABHNJREFUaEPtmUtvI0UQx6tmHEBKnHYiQEJRnHcckUSr2Hn6AIIjjwNIIR8BLRcucEFILBLiAhcuID5CiAQHHkcQHPJ2olXwKu+HowhpQc5MHhK78bhQWR4znszYPeN4tYPoo91d/f91VVfXdCMEvGHA9cP/AOzBdDr9RDQanczn8y8R0S0iiimK8iwAhIsePs/n8/cRcQsR7y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HdrTp4YGBiAkZER2WxauZhjK7LlNIuZnZ0tlBHcZIVwf2umCoVCMD09LQVQtZxmK14+aMyPEo75oaEhKRHmYcf1ER92HHKSHpD7oCl6IbiflAzwOH7UK4oSD4fDv9vd/N+8VinGabAvthgi0FeLZqwF+nLXChHY63UTItAPHCZEoJ+YrPk3sI989kMksM+sdhD7QzcixgCg7KEbAPi15fF66Jau3urYUf4+vI4iajEdeIB/AGYdq084KXWuAAAAAElFTkSuQmCC"},db0e:function(s,t,i){},f315:function(s,t,i){"use strict";i.r(t);i("7f7f"),i("6762"),i("2fdb");var e=function(){var s=this,t=s._self._c;return t("div",{staticClass:"wrap"},[t("div",{staticClass:"header-wrap"},[t("div",{staticClass:"header"},[t("img",{staticClass:"return-img",attrs:{src:i("f5a4"),alt:""},on:{click:function(t){return s.$router.back()}}}),t("p",{staticClass:"header-title"},[s._v("退款详情")])])]),t("div",{staticClass:"card type"},[t("div",{staticClass:"title"},[s._v(s._s(s.type_title))]),0==s.order_refund.status?t("div",{staticClass:"time"},[s._v("\n "+s._s(s.order_refund.create_at)+"\n ")]):s._e(),3==s.order_refund.status?t("div",{staticClass:"time"},[s._v("\n "+s._s(s.order_refund.refund_time)+"\n ")]):s._e(),3==s.order_refund.status?t("div",{staticClass:"bottom"},[t("div",{staticClass:"from"},[s._v("\n 退回"+s._s([1,3,5].includes(s.info.pay_type)?"微信":"支付宝")+"\n ")]),t("div",{staticClass:"price"},[t("span",[s._v("¥")]),s._v(s._s(s.order_refund.refund_money))])]):s._e(),0==s.order_refund.status?t("div",{staticClass:"bottom"},[t("div",{staticClass:"template"}),t("div",{staticClass:"revoke btn"},[s._v("撤销申请")])]):s._e(),1==s.order_refund.status?t("div",{staticClass:"fast-mail-place"},[t("div",{staticClass:"top"},[t("img",{staticClass:"icon",attrs:{src:i("6d34")}}),t("div",{staticClass:"info"},[t("div",{staticClass:"shop-info"},[s._v("\n "+s._s("上海搞一下官方店铺")+" "+s._s("19877634987")+"\n ")]),t("div",{staticClass:"place"},[s._v("\n "+s._s("上海上海市徐汇区 经济技术开发区建设北路18号船百知传播学有限公司")+"\n ")])]),t("img",{staticClass:"icon",attrs:{src:i("78a3")},on:{click:function(){s.copy("暂无"),s.$toast("复制成功!")}}})]),t("div",{staticClass:"btn-box"},[t("div",{staticClass:"btn",on:{click:s.cancelApply}},[s._v("撤销申请")]),t("div",{staticClass:"btn",style:{opacity:s.order_refund.express_no?"0.5":"1"},on:{click:function(t){!s.order_refund.express_no&&(s.show=!0)}}},[s._v("\n 填写快递信息\n ")])])]):s._e(),s.order_refund.express_company?t("div",{staticClass:"fast-mail-info"},[t("div",{staticClass:"label"},[s._v("快递公司")]),t("div",{staticClass:"value"},[s._v(s._s(s.order_refund.express_company))])]):s._e(),s.order_refund.express_no?t("div",{staticClass:"fast-mail-info"},[t("div",{staticClass:"label"},[s._v("快递单号")]),t("div",{staticClass:"value"},[s._v(s._s(s.order_refund.express_no))])]):s._e()]),t("div",{staticClass:"goods card"},[t("div",{staticClass:"title"},[s._v("退款信息")]),t("div",{staticClass:"list"},s._l(s.info.order_item,(function(i){return t("div",{staticClass:"list-item"},[t("img",{staticClass:"cover",attrs:{src:i.cover}}),t("div",{staticClass:"center"},[t("div",{staticClass:"name"},[s._v(s._s(i.name))]),t("div",{staticClass:"spec"},[s._v("\n "+s._s(i.goods_spec)+"\n ")])]),t("div",{staticClass:"right"},[t("div",{staticClass:"price"},[s._v("\n ¥"),t("span",[s._v(s._s(i.sell_price?i.sell_price.slice(0,i.sell_price.length-3):"0"))]),s._v(s._s(i.sell_price?i.sell_price.slice(i.sell_price.length-3):".00")+"\n ")]),t("div",{staticClass:"num"},[s._v("x"+s._s(i.num))])])])})),0),t("div",{staticClass:"item"},[t("div",{staticClass:"label"},[s._v("退款原因")]),t("div",{staticClass:"value"},[s._v("\n "+s._s(s.order_refund.case_title?s.order_refund.case_title.join(","):"--")+"\n ")])]),t("div",{staticClass:"item"},[t("div",{staticClass:"label"},[s._v("退款金额")]),t("div",{staticClass:"value price"},[s._v("\n ¥"),t("span",[s._v(s._s(s.order_refund.refund_money))])])]),t("div",{staticClass:"item"},[t("div",{staticClass:"label"},[s._v("申请时间")]),t("div",{staticClass:"value"},[s._v(s._s(s.order_refund.create_at))])]),t("div",{staticClass:"item"},[t("div",{staticClass:"label"},[s._v("退款编号")]),t("div",{staticClass:"value order-info"},[t("span",[s._v(s._s(s.order_refund.refund_no))]),s._v(" \n "),t("span",[s._v("|")]),s._v("\n \n "),t("span",{staticClass:"red",on:{click:function(){s.copy(s.order_refund.refund_no),s.$toast("复制成功!")}}},[s._v("复制")])])])]),t("van-popup",{attrs:{round:""},model:{value:s.show,callback:function(t){s.show=t},expression:"show"}},[t("div",{staticClass:"window"},[t("div",{staticClass:"window-title"},[t("div",{staticClass:"template"}),t("div",{staticClass:"title"},[s._v("填写快递信息")]),t("img",{staticClass:"close",attrs:{src:i("aa35")},on:{click:function(t){s.show=!1}}})]),t("div",{staticClass:"window-content"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.fast_mail_info.express_company,expression:"fast_mail_info.express_company"}],staticClass:"ipt",attrs:{type:"text",placeholder:"请填写快递公司名称"},domProps:{value:s.fast_mail_info.express_company},on:{input:function(t){t.target.composing||s.$set(s.fast_mail_info,"express_company",t.target.value)}}}),t("input",{directives:[{name:"model",rawName:"v-model",value:s.fast_mail_info.express_no,expression:"fast_mail_info.express_no"}],staticClass:"ipt",attrs:{type:"text",placeholder:"请填写快递单号"},domProps:{value:s.fast_mail_info.express_no},on:{input:function(t){t.target.composing||s.$set(s.fast_mail_info,"express_no",t.target.value)}}})]),t("div",{staticClass:"window-confirm",on:{click:s.refundExpress}},[s._v("保存")])])])],1)},a=[],r=i("f523"),n=i("325c"),c=i("2241"),o={data:function(){return{info:{},order_refund:{},show:!1,fast_mail_info:{express_company:"",express_no:""}}},computed:{type_title:function(){if(!this.order_refund)return"--";var s="";switch(this.order_refund.status){case 0:s="申请已提交,等待商家审核";break;case 1:s=1==this.order_refund.refund_type?"商家已同意申请,正在给您退款中":this.order_refund.express_no?"快递已寄出":"商家已同意退货退款申请,请尽早发货";break;case 2:s="商家家已拒绝您的退款申请";break;case 3:s="退款成功";break;case 4:s="您的退款异常,请耐心等待处理";break}return s}},mounted:function(){this.info.id=this.$route.query.order_id,this.getOrderDetail()},methods:{copy:n["c"],getOrderDetail:function(){var s=this;r["p"].getOrderDetail({order_id:this.info.id}).then((function(t){var i=t.data;s.info=i.detail,s.order_refund=s.info.order_refund,s.fast_mail_info.id=s.order_refund.id}))},cancelApply:function(){var s=this;c["a"].confirm({title:"确定要撤销申请"}).then((function(){r["p"].cancelApply({order_id:s.info.id}).then((function(t){var i=t.msg;s.$toast(i),s.$router.back()}))}))},refundExpress:function(){var s=this;c["a"].confirm({title:"确定提交快递信息?"}).then((function(){r["p"].refundExpress(s.fast_mail_info).then((function(t){var i=t.msg;s.$toast(i),s.getOrderDetail()}))}))}}},A=o,d=(i("47f6"),i("2877")),l=Object(d["a"])(A,e,a,!1,null,"9049842e",null);t["default"]=l.exports},f5a4:function(s,t){s.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAm5JREFUWEft2MnLTlEYAPDfZx4yK8WCWLBgwQIbSobIkMiwYiMbJX+JWLFRSmJBUoYyLCjDQoREQgghikQiQ4/OW8eXvPfe976fV31ne8+9z+8+59xzn3O6dHjr6nCfXmCrI9RTGeyH2XiEl2XQPQEci5MJ+AlLcKkost3AcTiH6RloN3Z0AnACzmNqhvmBFTj1r4ETE25KBvmObdhbFBf92jHEgYrMBbLRvmEL9pfBtQM4LeHGZ5Cv2ITDZXF1A2fgLOLDaLQv2IhjVXB1AmfhDMZkkM9YW+aD+NNL1DEH5+I0RmYBPmJ1WmKqJu/Xfa0C5+MEhmWKD2kpudiSLN3cCnARjmNIBnmHZbhaB66VDC7HEQzKIG/Tb+x6XbiqwDU4hAEZ5BUW43aduCrA9TiIqE4a7TliuO/VjSsLjA8hSqV8zj3BQjxsB64scDRiKPPs3UzZe9MJwDBEmbSz2/J0JyFLFaJFX6jKMrMdu7oh76ehflY0cNF+VYDx7K3Ygz5ZoCjnYz4+Lhq8SL+qwHj2ZuxD3yzQ04R8UCR4kT6tAOP5G3AA/bNgL9KcvFsE0KxPq8B4fhQFUesNzIK9Tgv3rWaAZtfrAEaM+P8exeAsYPz6luJaM8TfrtcFjBjxgUTxMDQL+D7hr1RF1gkMw7xUfg3PQFF+rcSFKsi6gWGYkwrYURkoNuwxV2NLUKq1AxiAmWkLEKcKjRZbgHUpw4WR7QIGIE4T4lSh+yZqAS4XFbYTGIY4VYg9cpwyNFrHHH00QJMTchLidGFVOkwqlMR2Z7CBGIHYJsTf5UYhWerUU8Aypt/69gIrp+5/GeKfiUBcKeCBb1YAAAAASUVORK5CYII="}}]);
- //# sourceMappingURL=chunk-efabe1a6.25d19a6f.js.map
|