(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-423af6f2"],{1713:function(t,e,a){},"3a23":function(t,e,a){"use strict";var s=a("1713"),i=a.n(s);i.a},"3bbe":function(t,e,a){var s=a("861d");t.exports=function(t){if(!s(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3c40":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"ba_f outmain"},[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),a("div",{staticClass:"flex ba_f"},[a("el-form-item",{attrs:{label:"选择店铺:"}},[a("div",{},[a("el-select",{attrs:{placeholder:"请选择"},on:{change:t.changeStore},model:{value:t.form.shopValue,callback:function(e){t.$set(t.form,"shopValue",e)},expression:"form.shopValue"}},t._l(t.options,(function(t){return a("el-option",{key:t.id,attrs:{label:t.name+"(ID:"+t.id+")",value:t.id}})})),1)],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 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.cashMoney||0))]),a("p",{staticClass:"fon_12 title6 lh25 color_f"},[a("span",{staticClass:"mar_r10"},[t._v("订单数:"+t._s(t.jeData.cash||0))])]),a("p",{staticClass:"fon_12 title6 lh25"},[t._v("支付占比:"+t._s(t.jeData.cashProportion||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.haveMoney||0))]),a("p",{staticClass:"fon_12 title6 lh25 color_f"},[a("span",{staticClass:"mar_r10"},[t._v("订单数:"+t._s(t.jeData.have||0))])]),a("p",{staticClass:"fon_12 title6 lh25"},[t._v("支付占比:"+t._s(t.jeData.haveProportion||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:"100"}}),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.cashCount)+"/"+t._s(e.row.cashMoney)+"/"+t._s(t.NumberDiv(+e.row.cashMoney,+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.haveCount)+"/"+t._s(e.row.haveMoney)+"/"+t._s(t.NumberDiv(+e.row.haveMoney,+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)])])])])},i=[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:"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)},created:function(){this.form.shopValue=this.market[0].id,this.options=this.market},data:function(){var t=this;return{formInline:{timeType:"1"},selectData:"",pickerOptions:{onPick:function(e){var a=e.maxDate,s=e.minDate;t.selectData=s.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()2)if(c=m(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:s=2,i=49;break;case 79:case 111:s=8,i=55;break;default:return+c}for(o=c.slice(2),n=o.length,r=0;ri)return NaN;return parseInt(o,s)}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&&(C?d((function(){b.valueOf.call(a)})):l(a)!=v)?c(new y(g(e)),a,x):g(e)},D=s?_(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(","),S=0;D.length>S;S++)r(y,w=D[S])&&!r(x,w)&&h(x,w,f(y,w));x.prototype=b,b.constructor=x,n(i,v,x)}},bf19:function(t,e,a){"use strict";var s=a("23e7");s({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},d2bb:function(t,e,a){var s=a("825a"),i=a("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,a={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(a,[]),e=a instanceof Array}catch(o){}return function(a,o){return s(a),i(o),e?t.call(a,o):a.__proto__=o,a}}():void 0)},ed08:function(t,e,a){"use strict";a.d(e,"a",(function(){return s})),a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return o}));a("a9e3"),a("ac1f"),a("5319"),a("bf19");function s(t){var e=new Date(t).toJSON(),a=new Date(+new Date(e)+288e5).toISOString().replace(/T/g," ").replace(/\.[\d]{3}Z/,"");return a}function i(t){var e=new Date(t),a=e.getFullYear(),s=e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1,i=e.getDate()<10?"0"+e.getDate():e.getDate(),o=e.getHours()<10?"0"+e.getHours():e.getHours(),n=e.getMinutes()<10?"0"+e.getMinutes():e.getMinutes(),r=e.getSeconds()<10?"0"+e.getSeconds():e.getSeconds();return a+"-"+s+"-"+i+" "+o+":"+n+":"+r}function o(t){var e=new Date(1e3*Number(t)),a=e.getFullYear()+"-",s=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",i=(e.getDate()<10?"0"+e.getDate():e.getDate())+" ",o=(e.getHours()<10?"0"+e.getHours():e.getHours())+":",n=(e.getMinutes()<10?"0"+e.getMinutes():e.getMinutes())+":",r=e.getSeconds()<10?"0"+e.getSeconds():e.getSeconds(),l=a+s+i+o+n+r;return l}}}]);