require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/users/user_return_list/index"],{"15c2":function(t,e,n){"use strict";n.r(e);var i=n("85f7"),o=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=o.a},7349:function(t,e,n){"use strict";(function(t,e){var i=n("47a9");n("f076");i(n("3240"));var o=i(n("c751"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(o.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"85f7":function(t,e,n){"use strict";(function(t){var i=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("606e"),r=n("5088"),a=n("8f59"),s=i(n("89cc")),c={components:{emptyPage:function(){n.e("components/emptyPage").then(function(){return resolve(n("398a"))}.bind(null,n)).catch(n.oe)}},mixins:[s.default],data:function(){return{search:"",type:5,loading:!1,loadend:!1,loadTitle:"加载更多",orderList:[],orderStatus:-3,page:1,limit:20,isAuto:!1,isShowAuth:!1,tabsList:[{key:5,name:"待处理"},{key:4,name:"已退款"},{key:0,name:"申请记录"}]}},computed:(0,a.mapGetters)(["isLogin"]),watch:{isLogin:{handler:function(t,e){},deep:!0}},onLoad:function(){this.isLogin?this.getOrderList():(0,r.toLogin)()},onShow:function(){t.removeStorageSync("form_type_cart")},onReachBottom:function(){this.getOrderList()},onPageScroll:function(e){t.$emit("scroll")},methods:{onLoadFun:function(){this.getOrderList(),this.isShowAuth=!1},authColse:function(t){this.isShowAuth=t},refundLogistics:function(e){t.navigateTo({url:"/pages/goods/goods_logistics/index?orderId="+e+"&type=refund"})},refundInput:function(e){t.navigateTo({url:"/pages/goods/order_refund_goods/index?orderId="+e})},refundAgain:function(e){var n=this;(0,o.orderRefundAgain)(e).then((function(e){t.showToast({title:e.msg,icon:"none"}),n.type=5,n.searchList()})).catch((function(t){return n.$util.Tips({title:t})}))},cancelRefundOrder:function(e){var n=this,i=this;t.showModal({title:"撤销售后",content:"您确认放弃此次申请吗?",success:function(t){t.confirm&&(0,o.cancelRefundOrder)(e).then((function(t){n.searchList()})).catch((function(t){return i.$util.Tips({title:t})}))}})},searchSubmit:function(){this.searchList()},goOrderDetails:function(e){if(!e)return that.$util.Tips({title:"缺少订单号无法查看订单详情"});t.navigateTo({url:"/pages/goods/order_after_details/index?order_id="+e+"&isReturen=1"})},searchList:function(){this.loadend=!1,this.page=1,this.limit=20,this.orderList=[],this.getOrderList()},changeTabs:function(t){this.type=t,this.search="",this.searchList()},getOrderList:function(){var t=this;t.loading||t.loadend||(t.loading=!0,t.loadTitle="",(0,o.getNewOrderList)({type:t.orderStatus,page:t.page,limit:t.limit,refund_type:t.type,search:t.search,channel:1==this.$store.state.app.identity?1:""}).then((function(e){var n=e.data||[],i=n.length<t.limit;t.orderList=t.orderList.concat(n),t.$set(t,"orderList",t.orderList),t.loadend=i,t.loading=!1,t.loadTitle=i?"没有更多内容啦~":"加载更多",t.page=t.page+1})).catch((function(e){t.loading=!1,t.loadTitle="加载更多"})))}}};e.default=c}).call(this,n("df3c")["default"])},9078:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=(t._self._c,t.orderList.length),i=t.orderList.length,o=i?t.__map(t.orderList,(function(e,n){var i=t.__get_orig(e),o=[0,1,2,4,5].indexOf(e.refund_type);return{$orig:i,g2:o}})):null,r=t.orderList.length,a=0==t.orderList.length&&!t.loading;t.$mp.data=Object.assign({},{$root:{g0:n,g1:i,l0:o,g3:r,g4:a}})},o=[]},c751:function(t,e,n){"use strict";n.r(e);var i=n("9078"),o=n("15c2");for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("ed7d");var a=n("828b"),s=Object(a["a"])(o["default"],i["b"],i["c"],!1,null,"974aef40",null,!1,i["a"],void 0);e["default"]=s.exports},cd08:function(t,e,n){},ed7d:function(t,e,n){"use strict";var i=n("cd08"),o=n.n(i);o.a}},[["7349","common/runtime","common/vendor"]]]);