require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/user_return_list/index"],{"0850":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var r=function(){var t=this,e=t.$createElement,n=(t._self._c,t.orderList.length),r=n?t.__map(t.orderList,(function(e,n){var r=t.__get_orig(e),i=-1!==t.refundTypeStatus?t._f("refundStatusFilter")(e.refundStatus):null,d=-1!==t.refundTypeStatus?t._f("orderRefundTipsStatusFilter")(e.refundStatus):null;return{$orig:r,f0:i,f1:d}})):null,i=t.orderList.length,d=0==t.orderList.length&&!t.loading;t.$mp.data=Object.assign({},{$root:{g0:n,l0:r,g1:i,g2:d}})},i=[]},1409:function(t,e,n){},"1bb0":function(t,e,n){"use strict";(function(t){var r=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("9ecc"),d=n("0466"),o=n("cef1"),a=n("8f59"),s=(r(n("4d9b")),getApp()),u={data:function(){return{urlDomain:this.$Cache.get("imgHost"),loading:!1,loadend:!1,loadTitle:"显示更多",orderList:[],refundTypeStatus:-1,page:1,limit:20,keywords:"",theme:s.globalData.theme,focus:!1}},computed:(0,a.mapGetters)(["isLogin"]),watch:{isLogin:{handler:function(t,e){},deep:!0}},onLoad:function(t){this.keywords=t.orderNo||"",this.isLogin?this.getOrderAfterSaleList():(0,o.toLogin)()},onReachBottom:function(){-1===this.refundTypeStatus?this.getOrderAfterSaleList():this.getOrderRefundList()},methods:{handlerToRecord:function(t){this.refundTypeStatus=9,this.keywords=t,this.loadend=!1,this.loading=!1,this.page=1,this.orderList=[],this.getOrderRefundList()},handleRevokeRefund:function(t){var e=this;(0,d.onRevokeRefund)(t).then((function(){e.handleSeach()}))},handleReturningRefund:function(e){this.$Cache.set("productInfo",e),t.navigateTo({url:"/pages/goods/returns_and_refunds/index?refundOrderNo=".concat(e.refundOrderNo,"&returnGoodsType=").concat(e.returnGoodsType)})},handleSeach:function(){this.loadend=!1,this.loading=!1,this.page=1,this.orderList=[],-1!==this.refundTypeStatus?this.getOrderRefundList():this.getOrderAfterSaleList()},goRefund:function(e){t.navigateTo({url:"/pages/goods/after_sales_type/index?orderNo=".concat(e.orderNo,"&orderId=").concat(e.id)}),this.$Cache.set("productInfo",e)},statusClick:function(t){this.refundTypeStatus=t,this.loadend=!1,this.loading=!1,this.page=1,this.orderList=[],-1===t?this.getOrderAfterSaleList():this.getOrderRefundList()},goOrderDetails:function(e){var n;-1==this.refundTypeStatus?(0,d.goProductDetail)(e.productId,e.productMarketingType,""):n="/pages/goods/refund_details/index?refundOrderNo="+e.refundOrderNo,t.navigateTo({url:n})},getOrderAfterSaleList:function(){var t=this;t.loadend||t.loading||(t.loading=!0,t.loadTitle="",(0,i.orderAfterSaleList)({page:t.page,limit:t.limit,keywords:t.keywords}).then((function(e){var n=e.data.list||[],r=n.length<t.limit;t.orderList=t.$util.SplitArray(n,t.orderList),t.$set(t,"orderList",t.orderList),t.loadend=r,t.loading=!1,t.loadTitle=r?"到底了~~":"显示更多",t.page=t.page+1})).catch((function(e){t.loading=!1,t.loadTitle="显示更多"})))},getOrderRefundList:function(){var t=this;t.loadend||t.loading||(t.loading=!0,t.loadTitle="",(0,i.orderRefundList)({page:t.page,limit:t.limit,keywords:t.keywords,type:t.refundTypeStatus}).then((function(e){var n=e.data.list||[],r=n.length<t.limit;t.orderList=t.$util.SplitArray(n,t.orderList),t.$set(t,"orderList",t.orderList),t.loadend=r,t.loading=!1,t.loadTitle=r?"到底了~~":"显示更多",t.page=t.page+1})).catch((function(e){t.loading=!1,t.loadTitle="显示更多"})))}}};e.default=u}).call(this,n("df3c")["default"])},"30ce":function(t,e,n){"use strict";(function(t,e){var r=n("47a9");n("1d3c");r(n("3240"));var i=r(n("eb0b"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"3c0e":function(t,e,n){"use strict";n.r(e);var r=n("1bb0"),i=n.n(r);for(var d in r)["default"].indexOf(d)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(d);e["default"]=i.a},6306:function(t,e,n){"use strict";var r=n("1409"),i=n.n(r);i.a},eb0b:function(t,e,n){"use strict";n.r(e);var r=n("0850"),i=n("3c0e");for(var d in i)["default"].indexOf(d)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(d);n("6306");var o=n("828b"),a=Object(o["a"])(i["default"],r["b"],r["c"],!1,null,"c7a301a4",null,!1,r["a"],void 0);e["default"]=a.exports}},[["30ce","common/runtime","common/vendor"]]]);