(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-09272296"],{"3bbe":function(t,e,a){var i=a("861d");t.exports=function(t){if(!i(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},7156:function(t,e,a){var i=a("861d"),s=a("d2bb");t.exports=function(t,e,a){var o,n;return s&&"function"==typeof(o=e.constructor)&&o!==a&&i(n=o.prototype)&&n!==a.prototype&&s(t,n),t}},"7a84":function(t,e,a){"use strict";var i=a("f0fd"),s=a.n(i);s.a},a9e3:function(t,e,a){"use strict";var i=a("83ab"),s=a("da84"),o=a("94ca"),n=a("6eeb"),r=a("5135"),l=a("c6b6"),c=a("7156"),u=a("c04e"),d=a("d039"),p=a("7c73"),_=a("241c").f,f=a("06cf").f,m=a("9bf2").f,h=a("58a8").trim,v="Number",y=s[v],b=y.prototype,g=l(p(b))==v,C=function(t){var e,a,i,s,o,n,r,l,c=u(t,!1);if("string"==typeof c&&c.length>2)if(c=h(c),e=c.charCodeAt(0),43===e||45===e){if(a=c.charCodeAt(2),88===a||120===a)return NaN}else if(48===e){switch(c.charCodeAt(1)){case 66:case 98:i=2,s=49;break;case 79:case 111:i=8,s=55;break;default:return+c}for(o=c.slice(2),n=o.length,r=0;rs)return NaN;return parseInt(o,i)}return+c};if(o(v,!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var w,x=function(t){var e=arguments.length<1?0:t,a=this;return a instanceof x&&(g?d((function(){b.valueOf.call(a)})):l(a)!=v)?c(new y(C(e)),a,x):C(e)},D=i?_(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),E=0;D.length>E;E++)r(y,w=D[E])&&!r(x,w)&&m(x,w,f(y,w));x.prototype=b,b.constructor=x,n(s,v,x)}},bf19:function(t,e,a){"use strict";var i=a("23e7");i({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},cbb5:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"ba_f outmain"},[a("el-tabs",{attrs:{type:"card"},on:{"tab-click":t.handleTabClick},model:{value:t.activeName1,callback:function(e){t.activeName1=e},expression:"activeName1"}},[a("el-tab-pane",{attrs:{label:"外卖订单概况",name:"wmddgk"}}),a("el-tab-pane",{attrs:{label:"外卖支付概况",name:"wmzfgk"}}),a("el-tab-pane",{attrs:{label:"外卖商品概况",name:"wmspgk"}})],1),t._m(0),a("el-form",{staticClass:"demo-form-inline",attrs:{inline:!1,model:t.form,"label-width":"100px"}},[a("div",{staticClass:"flex ba_f"},[a("el-form-item",{staticClass:"mar_t20",attrs:{label:"查询日期:"}},[a("div",{staticClass:"flex-bet"},[a("div",[a("el-radio-group",{on:{change:t.selectType},model:{value:t.form.timeType,callback:function(e){t.$set(t.form,"timeType",e)},expression:"form.timeType"}},[a("el-radio-button",{attrs:{label:"1"}},[t._v("今天")]),a("el-radio-button",{attrs:{label:"2"}},[t._v("近七天")]),a("el-radio-button",{attrs:{label:"3"}},[t._v("近十五天")]),a("el-radio-button",{attrs:{label:"4"}},[t._v("自定义时间")])],1),"4"==t.form.timeType?a("span",{staticClass:"mar_l20"},[a("el-date-picker",{attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",format:"yyyy年MM月dd日","picker-options":t.pickerOptions},on:{change:t.selectType},model:{value:t.form.time,callback:function(e){t.$set(t.form,"time",e)},expression:"form.time"}})],1):t._e()],1)])])],1)])],1),t._m(1),a("div",{staticClass:"mar_t20 ba_f outmain"},[t._m(2),a("div",{staticClass:"main-icon flex t_l mar_t20"},[a("div",{staticClass:"flex-1 t_l pad_20 borderBG mar_r20"},[a("div",{staticClass:"flex-bet flex-y-top"},[a("div",[a("p",{staticClass:"title6 fon_14"},[t._v("营业总额")]),a("p",{staticClass:"fon_30 title35 lh16 pad_tb_20 wei"},[t._v(t._s(t.jeData.allMoney||0))]),a("p",{staticClass:"fon_12 title6 lh25"},[a("span",{staticClass:"mar_r10"},[t._v("总订单数:"+t._s(t.jeData.all||0))])]),a("p",{staticClass:"fon_12 title6 lh25 yc"},[t._v("支付金额数")])])])]),a("div",{staticClass:"flex-1 t_l pad_20 borderBG mar_r20"},[a("div",{staticClass:"flex-bet flex-y-top"},[a("div",[a("p",{staticClass:"title6 fon_14"},[t._v("微信支付金额")]),a("p",{staticClass:"fon_30 title35 lh16 pad_tb_20 wei"},[t._v(t._s(t.jeData.weChatPayMoney||0))]),a("p",{staticClass:"fon_12 title6 lh25"},[a("span",{staticClass:"mar_r10"},[t._v("订单数:"+t._s(t.jeData.weChatPay||0))])]),a("p",{staticClass:"fon_12 title6 lh25"},[t._v("支付占比:"+t._s(t.jeData.weChatPayProportion||0)+"%")])])])]),a("div",{staticClass:"flex-1 t_l pad_20 borderBG mar_r20"},[a("div",{staticClass:"flex-bet flex-y-top"},[a("div",[a("p",{staticClass:"title6 fon_14"},[t._v("支付宝支付金额")]),a("p",{staticClass:"fon_30 title35 lh16 pad_tb_20 wei"},[t._v(t._s(t.jeData.aliPayMoney||0))]),a("p",{staticClass:"fon_12 title6 lh25"},[a("span",{staticClass:"mar_r10"},[t._v("订单数:"+t._s(t.jeData.aliPay||0))])]),a("p",{staticClass:"fon_12 title6 lh25"},[t._v("支付占比:"+t._s(t.jeData.aliPayProportion||0)+"%")])])])]),a("div",{staticClass:"flex-1 t_l pad_20 borderBG mar_r20"},[a("div",{staticClass:"flex-bet flex-y-top"},[a("div",[a("p",{staticClass:"title6 fon_14"},[t._v("余额支付金额")]),a("p",{staticClass:"fon_30 title35 lh16 pad_tb_20 wei"},[t._v(t._s(t.jeData.balancePayMoney||0))]),a("p",{staticClass:"fon_12 title6 lh25"},[a("span",{staticClass:"mar_r10"},[t._v("订单数:"+t._s(t.jeData.balancePay||0))])]),a("p",{staticClass:"fon_12 title6 lh25"},[t._v("支付占比:"+t._s(t.jeData.balancePayProportion||0)+"%")])])])]),a("div",{staticClass:"flex-1 t_l pad_20 borderBG"},[a("div",{staticClass:"flex-bet flex-y-top"},[a("div",[a("p",{staticClass:"title6 fon_14"},[t._v("货到付款支付金额")]),a("p",{staticClass:"fon_30 title35 lh16 pad_tb_20 wei"},[t._v(t._s(t.jeData.onDeliveryMoney||0))]),a("p",{staticClass:"fon_12 title6 lh25 color_f"},[a("span",{staticClass:"mar_r10"},[t._v("订单数:"+t._s(t.jeData.onDelivery||0))])]),a("p",{staticClass:"fon_12 title6 lh25"},[t._v("支付占比:"+t._s(t.jeData.onDeliveryProportion||0)+"%")])])])])]),a("div",{staticClass:"mar_t20",staticStyle:{height:"360px"},attrs:{id:"zhentiEch2"}})]),a("div",{staticClass:"mar_t20 pad_20 ba_f outmain"},[t._m(3),a("div",{staticClass:"mar_t20 flex-bet"},[a("div",{staticClass:"flex-g-1 ba_f"},[a("div",{staticClass:"mar_t10 shuju_table"},[a("el-table",{staticClass:"tablecenter",staticStyle:{width:"100%"},attrs:{data:t.tableData,stripe:""}},[a("el-table-column",{attrs:{prop:"time",label:"日期",width:"160"}}),a("el-table-column",{attrs:{prop:"completeCount",label:"已完成/总订单数"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{},[t._v(" "+t._s(e.row.completeCount)+"/"+t._s(e.row.count)+" ")])]}}])}),a("el-table-column",{attrs:{prop:"money",label:"微信支付订单数/支付金额/占比"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex-center"},[t._v(" "+t._s(e.row.weChatPayCount)+"/"+t._s(e.row.weChatPayMoney)+"/"+t._s(t.NumberDiv(+e.row.weChatPayMoney,+e.row.money))+"% ")])]}}])}),a("el-table-column",{attrs:{prop:"money",label:"支付宝支付订单数/支付金额/占比"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex-center"},[t._v(" "+t._s(e.row.aliCount)+"/"+t._s(e.row.aliPayMoney)+"/"+t._s(t.NumberDiv(+e.row.aliPayMoney,+e.row.money))+"% ")])]}}])}),a("el-table-column",{attrs:{prop:"money",label:"余额支付订单数/支付金额/占比"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex-center"},[t._v(" "+t._s(e.row.balancePayCount)+"/"+t._s(e.row.balancePayMoney)+"/"+t._s(t.NumberDiv(+e.row.balancePayMoney,+e.row.money))+"% ")])]}}])}),a("el-table-column",{attrs:{prop:"money",label:"货到付款订单数/支付金额/占比"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex-center"},[t._v(" "+t._s(e.row.onDeliveryCount)+"/"+t._s(e.row.onDeliveryMoney)+"/"+t._s(t.NumberDiv(+e.row.onDeliveryMoney,+e.row.money))+"% ")])]}}])}),a("el-table-column",{attrs:{prop:"money",label:"总订单数/总支付金额"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex-center"},[t._v(" "+t._s(e.row.count)+"/"+t._s(e.row.money)+" ")])]}}])})],1)],1)])])])])},s=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"shuju_title mar_t20"},[a("div",{staticClass:"shuju_title_text"},[a("span",[t._v("筛选条件")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"mar_t20"},[a("div",{staticClass:"mar_t20 flex-bet"},[a("div",{staticClass:"flex-g-1 ba_f pad_20 bor_rad5"},[a("div",{staticClass:"shuju_title"},[a("div",{staticClass:"shuju_title_text"},[a("span",[t._v("订单渠道")])])]),a("div",{staticClass:"mar_r20",staticStyle:{height:"280px",width:"580px","margin-top":"40px"},attrs:{id:"mainEch32"}})]),a("div",{staticClass:"flex-g-1 ba_f pad_20 bor_rad5 mar_l20"},[a("div",{staticClass:"shuju_title"},[a("div",{staticClass:"shuju_title_text"},[a("span",[t._v("支付占比")])])]),a("div",{staticClass:"mar_r20",staticStyle:{height:"280px",width:"580px","margin-top":"40px"},attrs:{id:"mainEch34"}})])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"shuju_title"},[a("div",{staticClass:"shuju_title_text"},[a("span",[t._v("支付占比")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"shuju_title"},[a("div",{staticClass:"shuju_title_text"},[a("span",[t._v("支付概况")])])])}],o=(a("d81d"),a("96cf"),a("1da1")),n=a("5530"),r=a("313e"),l=a.n(r),c=a("48fb"),u=a("ed08"),d=a("2f62"),p={mounted:function(){this.bus.$emit("loading",!0),this.init(),window.addEventListener("resize",this.initchart)},computed:Object(n["a"])({},Object(d["d"])(["storeId"])),data:function(){var t=this;return{formInline:{timeType:"1"},activeName1:"wmzfgk",selectData:"",pickerOptions:{onPick:function(e){var a=e.maxDate,i=e.minDate;t.selectData=i.getTime(),a&&(t.selectData="")},disabledDate:function(e){if(t.isNull(t.selectData))return!1;var a=new Date(t.selectData);return a.getMonth()>new Date(e).getMonth()||a.getMonth()