(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/return/list"],{56:function(t,n,e){"use strict";(function(t){e(5);a(e(4));var n=a(e(57));function a(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=e,t(n.default)}).call(this,e(1)["createPage"])},57:function(t,n,e){"use strict";e.r(n);var a=e(58),r=e(60);for(var i in r)"default"!==i&&function(t){e.d(n,t,(function(){return r[t]}))}(i);e(64);var o,u=e(11),c=Object(u["default"])(r["default"],a["render"],a["staticRenderFns"],!1,null,"6d81a898",null,!1,a["components"],o);c.options.__file="pages/return/list.vue",n["default"]=c.exports},58:function(t,n,e){"use strict";e.r(n);var a=e(59);e.d(n,"render",(function(){return a["render"]})),e.d(n,"staticRenderFns",(function(){return a["staticRenderFns"]})),e.d(n,"recyclableRender",(function(){return a["recyclableRender"]})),e.d(n,"components",(function(){return a["components"]}))},59:function(t,n,e){"use strict";var a;e.r(n),e.d(n,"render",(function(){return r})),e.d(n,"staticRenderFns",(function(){return o})),e.d(n,"recyclableRender",(function(){return i})),e.d(n,"components",(function(){return a}));var r=function(){var t=this,n=t.$createElement;t._self._c;t._isMounted||(t.e0=function(n){t.tid=0,t.cearBox()},t.e1=function(n){t.tid=1,t.cearBox()})},i=!1,o=[];r._withStripped=!0},60:function(t,n,e){"use strict";e.r(n);var a=e(61),r=e.n(a);for(var i in a)"default"!==i&&function(t){e.d(n,t,(function(){return a[t]}))}(i);n["default"]=r.a},61:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e(24),r={data:function(){return{tid:0,totalPage:0,total:0,list:[],return_count:0,apply_count:0,params:{page_index:1,page_size:5,apply_number:""},statusList:[e(62),e(63)]}},onLoad:function(){this.getList(),this.getTab()},onReachBottom:function(){this.getMore()},methods:{getTab:function(){var t=this;(0,a.getTabNum)().then((function(n){200==n.code&&(t.return_count=n.data.return_count,t.apply_count=n.data.apply_count)}))},cearBox:function(){this.params.page_index=1,this.getList()},getList:function(n){var e=this,r=this.params;0==this.tid?(t.showLoading({title:"加载中",mask:!0}),(0,a.getCustomerReturnList)(r).then((function(n){t.hideLoading(),200==n.code?(e.list=n.data.list,e.total=n.data.total,e.return_count=n.data.total,e.totalPage=Math.ceil(n.data.total/e.params.page_size)):t.showModal({content:n.data||"获取数据失败",showCancel:!1})})).catch((function(n){t.hideLoading()}))):e.list=[]},getMore:function(){if(this.params.page_index>=this.totalPage)return t.showToast({title:"没有更多啦~",icon:"none"}),!1;this.params.page_index++,this.getList(!0)},getDetail:function(n){var e=encodeURIComponent(JSON.stringify(n));t.navigateTo({url:"./returnDetail?item="+e})}}};n.default=r}).call(this,e(1)["default"])},64:function(t,n,e){"use strict";e.r(n);var a=e(65),r=e.n(a);for(var i in a)"default"!==i&&function(t){e.d(n,t,(function(){return a[t]}))}(i);n["default"]=r.a},65:function(t,n,e){}},[[56,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/return/list.js.map