(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-12fee8ae"],{8064:function(e,t,a){"use strict";a("ad93")},"9a71":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("div",{staticClass:"app-container--hd pb-20"},[a("h3",[e._v(e._s(e.routerTtile))])]),a("div",{staticClass:"app-container--bd"},[a("div",{staticClass:"form-filter"},[a("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.formFilter}},[a("el-form-item",[a("el-select",{attrs:{placeholder:"渠道"},on:{change:e.getTableData},model:{value:e.formFilter.order_from,callback:function(t){e.$set(e.formFilter,"order_from",t)},expression:"formFilter.order_from"}},[a("el-option",{attrs:{label:"全部渠道",value:""}}),e._l(e.channelList,(function(e,t){return a("el-option",{key:t,attrs:{label:e.option_name,value:e.option_value}})}))],2)],1),a("el-form-item",[a("quick-date-select",{attrs:{"quick-date-options":e.quickDateOptions},on:{getDateRange:e.getDateRange}})],1)],1)],1),a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"mt-20"},[a("ReportTable",{attrs:{prop:e.saledailyTable,config:{isShowprint:!0}}})],1)])])},r=[],i=(a("2397"),a("96cf"),a("1da1")),s=a("d4ec"),o=a("bee2"),c=a("99de"),l=a("7e84"),u=a("262e"),d=a("9ab4"),f=a("60a3"),p=a("7c98"),m=a("f727"),b=a("2774"),h=a("6e53");function v(e,t,a){return t=Object(l["a"])(t),Object(c["a"])(e,g()?Reflect.construct(t,a||[],Object(l["a"])(e).constructor):t.apply(e,a))}function g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(g=function(){return!!e})()}var k=function(e){function t(){var e;return Object(s["a"])(this,t),e=v(this,t,arguments),e.saledailyTable={},e.channelList=[],e.loading=!1,e.formFilter={stadium_id:0,sales_id:0,order_from:"",start_date:"",end_date:""},e.quickDateOptions={dateList:[{dateId:0,dateStr:"今日",dateTag:"today"},{dateId:1,dateStr:"昨日",dateTag:"yesterday"},{dateId:2,dateStr:"本周",dateTag:"week"},{dateId:6,dateStr:"其他",dateTag:"others"}],activeId:0},e}return Object(u["a"])(t,e),Object(o["a"])(t,[{key:"getDateRange",value:function(e,t){this.formFilter.start_date=e,this.formFilter.end_date=t,this.getTableData()}},{key:"routerTtile",get:function(){return this.$route.meta.title}},{key:"created",value:function(){this.businessList()}},{key:"businessList",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(m["e"])({});case 2:t=e.sent,a=t.data,this.channelList=a;case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"getTableData",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.loading=!0,e.prev=1,e.next=4,Object(p["e"])("/statistic/summaryStatistic/businessReceiptStatement",this.formFilter);case 4:t=e.sent,a=t.data,this.saledailyTable=a,this.loading=!1,e.next=13;break;case 10:e.prev=10,e.t0=e["catch"](1),this.loading=!1;case 13:case"end":return e.stop()}}),e,this,[[1,10]])})));function t(){return e.apply(this,arguments)}return t}()}]),t}(f["i"]);k=Object(d["a"])([Object(f["a"])({name:"DayReport",components:{ReportTable:b["a"],QuickDateSelect:h["a"]}})],k);var y=k,_=y,O=(a("8064"),a("2877")),w=Object(O["a"])(_,n,r,!1,null,"3ec468b6",null);t["default"]=w.exports},ad93:function(e,t,a){}}]);