(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-admin-order-index"],{"01c6":function(e,d,t){"use strict";t.d(d,"b",(function(){return n})),t.d(d,"c",(function(){return r})),t.d(d,"a",(function(){}));var n=function(){var e=this.$createElement,d=this._self._c||e;return d("v-uni-view",[this.loading&&!this.loaded?d("v-uni-view",{staticClass:"Loads acea-row row-center-wrapper",staticStyle:{"margin-top":".2rem"}},[this.loading?d("v-uni-view",[d("v-uni-view",{staticClass:"iconfont icon-jiazai loading acea-row row-center-wrapper"}),this._v("正在加载中")],1):d("v-uni-view",[this._v("上拉加载更多")])],1):this._e()],1)},r=[]},"0a76":function(e,d,t){var n=t("df07");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var r=t("4f06").default;r("83a82ec8",n,!0,{sourceMap:!1,shadowMode:!1})},1755:function(e,d,t){"use strict";t.d(d,"b",(function(){return n})),t.d(d,"c",(function(){return r})),t.d(d,"a",(function(){}));var n=function(){var e=this,d=e.$createElement,t=e._self._c||d;return t("v-uni-view",[t("v-uni-view",{ref:"container",staticClass:"order-index"},[t("v-uni-view",{staticClass:"header acea-row"},[t("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/admin/orderList/index?types=1&merId="+e.mer_id,"hover-class":"none"}},[t("v-uni-view",{staticClass:"num"},[e._v(e._s(e.census.unpaid))]),t("v-uni-view",[e._v("待付款")])],1),t("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/admin/orderList/index?types=2&merId="+e.mer_id,"hover-class":"none"}},[t("v-uni-view",{staticClass:"num"},[e._v(e._s(e.census.unshipped))]),t("v-uni-view",[e._v("待发货")])],1),t("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/admin/orderList/index?types=3&merId="+e.mer_id,"hover-class":"none"}},[t("v-uni-view",{staticClass:"num"},[e._v(e._s(e.census.untake))]),t("v-uni-view",[e._v("待收货")])],1),t("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/admin/orderList/index?types=4&merId="+e.mer_id,"hover-class":"none"}},[t("v-uni-view",{staticClass:"num"},[e._v(e._s(e.census.unevaluate))]),t("v-uni-view",[e._v("待评价")])],1),t("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/admin/orderList/index?types=6&merId="+e.mer_id,"hover-class":"none"}},[t("v-uni-view",{staticClass:"num"},[e._v(e._s(e.census.refund))]),t("v-uni-view",[e._v("退款")])],1)],1),t("v-uni-view",{staticClass:"wrapper"},[t("v-uni-view",{staticClass:"title"},[t("span",{staticClass:"iconfont icon-shujutongji"}),e._v("数据统计")]),e.orderData?t("v-uni-view",{staticClass:"list acea-row"},[t("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/admin/statistics/index?type=price&time=today&merId="+e.mer_id,"hover-class":"none"}},[t("v-uni-view",{staticClass:"num"},[e._v(e._s(e.orderData.today.payPrice))]),t("v-uni-view",[e._v("今日成交额")])],1),t("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/admin/statistics/index?type=price&time=yesterday&merId="+e.mer_id,"hover-class":"none"}},[t("v-uni-view",{staticClass:"num"},[e._v(e._s(e.orderData.yesterday.payPrice))]),t("v-uni-view",[e._v("昨日成交额")])],1),t("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/admin/statistics/index?type=price&time=month&merId="+e.mer_id,"hover-class":"none"}},[t("v-uni-view",{staticClass:"num"},[e._v(e._s(e.orderData.month.payPrice))]),t("v-uni-view",[e._v("本月成交额")])],1),t("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/admin/statistics/index?type=order&time=today&merId="+e.mer_id,"hover-class":"none"}},[t("v-uni-view",{staticClass:"num"},[e._v(e._s(e.orderData.today.orderNum))]),t("v-uni-view",[e._v("今日订单数")])],1),t("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/admin/statistics/index?type=order&time=yesterday&merId="+e.mer_id,"hover-class":"none"}},[t("v-uni-view",{staticClass:"num"},[e._v(e._s(e.orderData.yesterday.orderNum))]),t("v-uni-view",[e._v("昨日订单数")])],1),t("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/admin/statistics/index?type=order&time=month&merId="+e.mer_id,"hover-class":"none"}},[t("v-uni-view",{staticClass:"num"},[e._v(e._s(e.orderData.month.orderNum))]),t("v-uni-view",[e._v("本月订单数")])],1)],1):e._e()],1),t("v-uni-view",{staticClass:"public-wrapper"},[t("v-uni-view",{staticClass:"title"},[t("span",{staticClass:"iconfont icon-xiangxishuju"}),e._v("详细数据")]),t("v-uni-view",{staticClass:"nav acea-row row-between-wrapper"},[t("v-uni-view",{staticClass:"data"},[e._v("日期")]),t("v-uni-view",{staticClass:"browse"},[e._v("订单数")]),t("v-uni-view",{staticClass:"turnover"},[e._v("成交额")])],1),t("v-uni-view",{staticClass:"conter"},e._l(e.list,(function(d,n){return t("v-uni-view",{key:n,staticClass:"item acea-row row-between-wrapper"},[t("v-uni-view",{staticClass:"data"},[e._v(e._s(d.day))]),t("v-uni-view",{staticClass:"browse"},[e._v(e._s(d.total))]),t("v-uni-view",{staticClass:"turnover"},[e._v(e._s(d.pay_price))])],1)})),1)],1),t("Loading",{attrs:{loaded:e.loaded,loading:e.loading}})],1)],1)},r=[]},1866:function(e,d,t){"use strict";var n=t("8aab"),r=t.n(n);r.a},"1ea6":function(e,d,t){"use strict";t("7a82"),Object.defineProperty(d,"__esModule",{value:!0}),d.default=void 0;var n={name:"Loading",props:{loaded:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}}};d.default=n},5113:function(e,d,t){"use strict";t("7a82");var n=t("4ea4").default;Object.defineProperty(d,"__esModule",{value:!0}),d.default=void 0,t("14d9");var r=t("ed0f"),u=n(t("b90c")),i={name:"adminOrder",components:{Loading:u.default},data:function(){return{census:{},orderData:{today:{},yesterday:{},month:{}},list:[],where:{page:1,limit:15},loaded:!1,loading:!1,mer_id:""}},onLoad:function(e){this.mer_id=e.mer_id,this.getOrderStatistics(this.mer_id),this.getList(this.mer_id)},methods:{getIndex:function(){var e=this;(0,r.getStatisticsInfo)().then((function(d){e.census=d.data}),(function(d){e.$util.Tips({title:d.msg})}))},getList:function(e){var d=this;d.loading||d.loaded||(d.loading=!0,(0,r.orderPrice)(d.where,e).then((function(e){d.loading=!1,d.loaded=e.data.length