require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/admin/writeRecordList/index"],{"3f88":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("6af6"),r={components:{emptyPage:function(){i.e("components/emptyPage").then(function(){return resolve(i("398a"))}.bind(null,i)).catch(i.oe)}},data:function(){return{id:"",page:1,limit:10,list:[],records:[],loadend:!1,loading:!1}},onLoad:function(t){this.checkKefuAuth("kefu-order-writeoff-submit")&&(this.id=t.id,this.orderWirteOffRecords())},methods:{orderWirteOffRecords:function(){var t=this;this.checkKefuAuth("kefu-order-writeoff-submit")&&(this.loadend||this.loading||(this.loading=!0,(0,n.orderWirteOffRecords)(this.id,{product_type:0,page:this.page,limit:this.limit}).then((function(e){var i=e.data.list,n=[];t.list=t.list.concat(i);for(var r=0;r<t.list.length;r++){n.push({time:t.list[r].time,list:[t.list[r]]});for(var o=r+1;o<t.list.length;o++)t.list[r].time==t.list[o].time&&(n[n.length-1].list.push(t.list[o]),t.list.splice(o,1),o--)}t.records=n,t.loadend=i.length<t.limit,t.page=t.page+1,t.loading=!1})).catch((function(e){t.loading=!1}))))}}};e.default=r},"5db4":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=(this._self._c,!this.records.length&&this.page);this.$mp.data=Object.assign({},{$root:{g0:e}})},r=[]},"86eb":function(t,e,i){},"88de":function(t,e,i){"use strict";i.r(e);var n=i("5db4"),r=i("9d78");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);i("b5e0");var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"23f81d54",null,!1,n["a"],void 0);e["default"]=s.exports},"9d78":function(t,e,i){"use strict";i.r(e);var n=i("3f88"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},b5e0:function(t,e,i){"use strict";var n=i("86eb"),r=i.n(n);r.a},fea6:function(t,e,i){"use strict";(function(t,e){var n=i("47a9");i("f076");n(i("3240"));var r=n(i("88de"));t.__webpack_require_UNI_MP_PLUGIN__=i,e(r.default)}).call(this,i("3223")["default"],i("df3c")["createPage"])}},[["fea6","common/runtime","common/vendor"]]]);