zx/public/static/js/pages-admin-order-index.087...

1 line
16 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-admin-order-index"],{"440c":function(t,e,i){"use strict";var a=i("ee6d"),n=i.n(a);n.a},"7a47":function(t,e,i){"use strict";i.r(e);var a=i("cc02"),n=i("94cb");for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("d0a5");var o=i("828b"),s=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"36e34c0a",null,!1,a["a"],void 0);e["default"]=s.exports},"838c":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("aa9c");var n=i("d542"),r=a(i("af69")),o=i("aa10"),s={name:"adminOrder",components:{Loading:r.default},data:function(){return{domain:o.HTTP_REQUEST_URL,census:{},orderData:{today:{},yesterday:{},month:{}},list:[],where:{page:1,limit:15},loaded:!1,loading:!1,mer_id:""}},onLoad:function(t){this.mer_id=t.mer_id,this.getOrderStatistics(this.mer_id),this.getList(this.mer_id)},methods:{getIndex:function(){var t=this;(0,n.getStatisticsInfo)().then((function(e){t.census=e.data}),(function(e){t.$util.Tips({title:e.message})}))},getList:function(t){var e=this;e.loading||e.loaded||(e.loading=!0,(0,n.orderPrice)(e.where,t).then((function(t){e.loading=!1,e.loaded=t.data.length<e.where.limit,e.list.push.apply(e.list,t.data),e.where.page=e.where.page+1}),(function(t){e.$util.Tips({title:t.msg})}),300))},getOrderStatistics:function(t){var e=this;(0,n.orderStatistics)(t).then((function(t){e.census=t.data.order,e.orderData=t.data.data}),(function(t){e.$util.Tips({title:t.message})}))}},onReachBottom:function(){this.getList(this.mer_id)}};e.default=s},"85aa":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,".Loads[data-v-6be7644b]{height:%?80?%;font-size:%?25?%;color:#000}.Loads .iconfont[data-v-6be7644b]{font-size:%?30?%;margin-right:%?10?%;height:%?32?%;line-height:%?32?%}\n/*加载动画*/@-webkit-keyframes load-data-v-6be7644b{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes load-data-v-6be7644b{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.loadingpic[data-v-6be7644b]{-webkit-animation:load-data-v-6be7644b 3s linear 1s infinite;animation:load-data-v-6be7644b 3s linear 1s infinite}.loading[data-v-6be7644b]{-webkit-animation:load-data-v-6be7644b linear 1s infinite;animation:load-data-v-6be7644b linear 1s infinite}",""]),t.exports=e},"8db0":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.popupn[data-v-36e34c0a]{position:fixed;width:100%;text-align:center;top:0;left:0;background:transparent;height:%?90?%;line-height:%?90?%;z-index:100}.popupn .spin[data-v-36e34c0a]{display:block;-webkit-transform:rotate(180deg);transform:rotate(180deg);font-size:%?36?%}.popupn .title[data-v-36e34c0a]{max-width:%?560?%;margin:0 auto;position:relative;display:inline;padding:%?10?% %?30?% %?10?% %?50?%;background-color:rgba(0,0,0,.15);border-radius:%?30?%;color:#fff}.popupn .iconfont[data-v-36e34c0a]{display:inline-block;position:relative;top:%?4?%;right:0}.popupn .mer_logo[data-v-36e34c0a]{width:%?34?%;height:%?34?%;position:relative;top:%?6?%;right:10px}.popupn .mer_name[data-v-36e34c0a]{display:inline-block;max-width:%?650?%}.popupn .invoice-content[data-v-36e34c0a]{background-color:#fff}\n/*订单首页*/.order-index .header[data-v-36e34c0a]{background-size:100% 100%;width:100%;height:%?280?%;padding:%?40?% %?3?% 0 %?3?%;box-sizing:border-box}.order-index .header .item[data-v-36e34c0a]{flex:1;-webkit-flex:1;-o-flex:1;-ms-flex:1;text-align:center;font-size:%?24?%;color:#fff}.order-index .header .item .num[data-v-36e34c0a]{font-size:%?40?%;margin-bottom:%?7?%;height:%?60?%}.order-index .wrapper[data-v-36e34c0a]{width:%?690?%;background-color:#fff;border-radius:%?10?%;margin:%?-115?% auto 0 auto;padding-top:%?25?%}.order-index .wrapper .title[data-v-36e34c0a]{font-size:%?30?%;color:#282828;padding:0 %?30?%;margin-bottom:%?40?%}.order-index .wrapper .title .iconfont[data-v-36e34c0a]{color:#2291f8;font-size:%?40?%;margin-right:%?13?%;vertical-align:middle}.order-index .wrapper .list .item[data-v-36e34c0a]{width:33.33%;text-align:center;font-size:%?24?%;color:#999;margin-bottom:%?45?%}.order-index .wrapper .list .item .num[data-v-36e34c0a]{font-size:%?40?%;color:#333}.public-wrapper .title[data-v-36e34c0a]{font-size:%?30?%;color:#282828;padding:0 %?30?%;margin-bottom:%?20?%}.public-wrapper .title .iconfont[data-v-36e34c0a]{color:#2291f8;font-size:%?40?%;margin-right:%?13?%;vertical-align:middle}.public-wrapper[data-v-36e34c0a]{margin:%?18?% auto 0 auto;width:%?690?%;background-color:#fff;border-radius:%?10?%;padding-top:%?25?%}.public-wrapper .nav[data-v-36e34c0a]{padding:0 %?30?%;height:%?70?%;line-height:%?70?%;font-size:%?24?%;color:#999}.public-wrapper .data[data-v-36e34c0a]{width:%?210?%;text-align:left}.public-wrapper .browse[data-v-36e34c0a]{width:%?192?%;text-align:right}.public-wrapper .turnover[data-v-36e34c0a]{width:%?227?%;text-align:right}.public-wrapper .conter[data-v-36e34c0a]{padding:0 %?30?%}.public-wrapper .conter .item[data-v-36e34c0a]{border-bottom:1px solid #f7f7f7;height:%?70?%;font-size:%?24?%}.public-wrapper .conter .item .turnover[data-v-36e34c0a]{color:#d84242}',""]),t.exports=e},"94cb":function(t,e,i){"use strict";i.r(e);var a=i("838c"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=n.a},af69:function(t,e,i){"use strict";i.r(e);var a=i("f69f"),n=i("c216");for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("440c");var o=i("828b"),s=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"6be7644b",null,!1,a["a"],void 0);e["default"]=s.exports},ba71:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={name:"Loading",props:{loaded:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}}};e.default=a},c216:function(t,e,i){"use strict";i.r(e);var a=i("ba71"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=n.a},cc02:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-view",{ref:"container",staticClass:"order-index"},[i("v-uni-view",{staticClass:"header acea-row",style:{"background-image":"url("+t.domain+"/static/images/order_header.png)"}},[i("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/admin/orderList/index?types=1&merId="+t.mer_id,"hover-class":"none"}},[i("v-uni-view",{staticClass:"num"},[t._v(t._s(t.census.unpaid))]),i("v-uni-view",[t._v("待付款")])],1),i("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/admin/orderList/index?types=2&merId="+t.mer_id,"hover-class":"none"}},[i("v-uni-view",{staticClass:"num"},[t._v(t._s(t.census.unshipped))]),i("v-uni-view",[t._v("待发货")])],1),i("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/admin/orderList/index?types=3&merId="+t.mer_id,"hover-class":"none"}},[i("v-uni-view",{staticClass:"num"},[t._v(t._s(t.census.untake))]),i("v-uni-view",[t._v("待收货")])],1),i("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/admin/orderList/index?types=4&merId="+t.mer_id,"hover-class":"none"}},[i("v-uni-view",{staticClass:"num"},[t._v(t._s(t.census.unevaluate))]),i("v-uni-view",[t._v("待评价")])],1),i("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/admin/orderList/index?types=6&merId="+t.mer_id,"hover-class":"none"}},[i("v-uni-view",{staticClass:"num"},[t._v(t._s(t.census.refund))]),i("v-uni-view",[t._v("退款")])],1)],1),i("v-uni-view",{staticClass:"wrapper"},[i("v-uni-view",{staticClass:"title"},[i("span",{staticClass:"iconfont icon-shujutongji"}),t._v("数据统计")]),t.orderData?i("v-uni-view",{staticClass:"list acea-row"},[i("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/admin/statistics/index?type=price&time=today&merId="+t.mer_id,"hover-class":"none"}},[i("v-uni-view",{staticClass:"num"},[t._v(t._s(t.orderData.today.payPrice))]),i("v-uni-view",[t._v("今日成交额")])],1),i("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/admin/statistics/index?type=price&time=yesterday&merId="+t.mer_id,"hover-class":"none"}},[i("v-uni-view",{staticClass:"num"},[t._v(t._s(t.orderData.yesterday.payPrice))]),i("v-uni-view",[t._v("昨日成交额")])],1),i("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/admin/statistics/index?type=price&time=month&merId="+t.mer_id,"hover-class":"none"}},[i("v-uni-view",{staticClass:"num"},[t._v(t._s(t.orderData.month.payPrice))]),i("v-uni-view",[t._v("本月成交额")])],1),i("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/admin/statistics/index?type=order&time=today&merId="+t.mer_id,"hover-class":"none"}},[i("v-uni-view",{staticClass:"num"},[t._v(t._s(t.orderData.today.orderNum))]),i("v-uni-view",[t._v("今日订单数")])],1),i("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/admin/statistics/index?type=order&time=yesterday&merId="+t.mer_id,"hover-class":"none"}},[i("v-uni-view",{staticClass:"num"},[t._v(t._s(t.orderData.yesterday.orderNum))]),i("v-uni-view",[t._v("昨日订单数")])],1),i("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/admin/statistics/index?type=order&time=month&merId="+t.mer_id,"hover-class":"none"}},[i("v-uni-view",{staticClass:"num"},[t._v(t._s(t.orderData.month.orderNum))]),i("v-uni-view",[t._v("本月订单数")])],1)],1):t._e()],1),i("v-uni-view",{staticClass:"public-wrapper"},[i("v-uni-view",{staticClass:"title"},[i("span",{staticClass:"iconfont icon-xiangxishuju"}),t._v("详细数据")]),i("v-uni-view",{staticClass:"nav acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"data"},[t._v("日期")]),i("v-uni-view",{staticClass:"browse"},[t._v("订单数")]),i("v-uni-view",{staticClass:"turnover"},[t._v("成交额")])],1),i("v-uni-view",{staticClass:"conter"},t._l(t.list,(function(e,a){return i("v-uni-view",{key:a,staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"data"},[t._v(t._s(e.day))]),i("v-uni-view",{staticClass:"browse"},[t._v(t._s(e.total))]),i("v-uni-view",{staticClass:"turnover"},[t._v(t._s(e.pay_price))])],1)})),1)],1),i("Loading",{attrs:{loaded:t.loaded,loading:t.loading}})],1)],1)},n=[]},d0a5:function(t,e,i){"use strict";var a=i("fd95"),n=i.n(a);n.a},d542:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.computeRefundPrice=function(t,e){return n.default.post("server/".concat(t,"/refund/compute"),e,{login:!0})},e.confirmRefundApi=function(t,e){return n.default.post("server/".concat(t,"/refund/create"),e,{login:!0})},e.getAdminOrderDelivery=function(t){return n.default.get("admin/order/delivery/gain/"+t,{},{login:!0})},e.getAdminOrderDetail=function(t,e){return n.default.get("admin/"+t+"/order/"+e,{},{login:!0})},e.getAdminOrderList=function(t){return n.default.get("admin/order/list",t,{login:!0})},e.getDeliveryStoreLst=function(t){return n.default.get("admin/".concat(t,"/delivery_options"))},e.getLogistics=function(){return n.default.get("logistics",{},{login:!1})},e.getOrderList=function(t,e){return n.default.get("admin/".concat(e,"/order_list"),t,{login:!0})},e.getRefundOrderApi=function(t,e){return n.default.get("server/".concat(t,"/refund/check/").concat(e),{},{login:!0})},e.getRefundOrderDetail=function(t,e){return n.default.get("server/".concat(t,"/refund/detail/").concat(e),{},{login:!0})},e.getRefundOrderInfo=function(t,e){return n.default.get("server/".concat(t,"/refund/get/").concat(e))},e.getRefundOrderList=function(t,e){return n.default.get("server/".concat(e,"/refund/lst"),t,{login:!0})},e.getStatisticsInfo=function(){return n.default.get("admin/order/statistics",{},{login:!0})},e.getStatisticsMonth=function(t){return n.default.get("admin/order/data",t,{login:!0})},e.getStatisticsTime=function(t){return n.default.get("admin/order/time",t,{login:!0})},e.getTempAndDelivery=function(t){return n.default.get("admin/".concat(t,"/delivery_config"))},e.orderCancellation=function(t,e){return n.default.post("admin/".concat(t,"/verify/").concat(e))},e.orderDeliveryInfo=function(t){return n.default.get("admin/".concat(t,"/mer_form"))},e.orderExportTemp=function(t){return n.default.get("store/expr/temps",t)},e.orderNumberStatistics=function(t,e){return n.default.get("admin/".concat(e,"/pay_number"),t,{login:!0})},e.orderPrice=function(t,e){return n.default.get("admin/"+e+"/order_price",t,{login:!0})},e.orderStatistics=function(t){return n.default.get("admin/"+t+"/statistics")},e.orderVerific=function(t,e,i){return n.default.post("verifier/".concat(t,"/").concat(e),i)},e.refundOrderReceive=function(t,e){return n.default.post("server/".concat(t,"/refund/confirm/").concat(e),{},{login:!0})},e.refundOrderSubmit=function(t,e,i){return n.default.post("server/".concat(t,"/refund/status/").concat(e),i,{login:!0})},e.scanUpload=function(t,e,i){return n.default.post("scan_upload/image/".concat(t,"/").concat(e),i,{login:!0})},e.setAdminOrderDelivery=function(t,e,i){return n.default.post("admin/"+t+"/delivery/"+e,i,{login:!0})},e.setAdminOrderPrice=function(t,e,i){return n.default.post("admin/"+t+"/price/"+e,i,{login:!0})},e.setAdminOrderRemark=function(t,e,i){return n.default.post("admin/"+t+"/mark/"+e,i,{login:!0})},e.setOfflinePay=function(t,e){return n.default.post("admin/"+t+"/order/offline",e,{login:!0})},e.setOrderRefund=function(t,e){return n.default.post("admin/"+t+"/order/refund",e,{login:!0})},e.setRefundMark=function(t,e,i){return n.default.post("server/".concat(t,"/refund/mark/").concat(e),i,{login:!0})},e.turnoverStatistics=function(t,e){return n.default.get("admin/".concat(e,"/pay_price"),t,{login:!0})},e.verifierOrder=function(t,e){return n.default.get("verifier/"+t+"/order/"+e)},i("c223");var n=a(i("fea3"))},ee6d:function(t,e,i){var a=i("85aa");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("31a45329",a,!0,{sourceMap:!1,shadowMode:!1})},f69f:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",[this.loading&&!this.loaded?e("v-uni-view",{staticClass:"Loads acea-row row-center-wrapper",staticStyle:{"margin-top":".2rem"}},[this.loading?e("v-uni-view",[e("v-uni-view",{staticClass:"iconfont icon-jiazai loading acea-row row-center-wrapper"}),this._v("正在加载中")],1):e("v-uni-view",[this._v("上拉加载更多")])],1):this._e()],1)},n=[]},fd95:function(t,e,i){var a=i("8db0");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("72a7bdf8",a,!0,{sourceMap:!1,shadowMode:!1})}}]);