You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
16 KiB
1 lines
16 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-admin-order-index"],{1052:function(t,e,i){var n=i("54cb");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("e4244604",n,!0,{sourceMap:!1,shadowMode:!1})},"316e":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.computeRefundPrice=function(t,e){return a.default.post("server/".concat(t,"/refund/compute"),e,{login:!0})},e.confirmRefundApi=function(t,e){return a.default.post("server/".concat(t,"/refund/create"),e,{login:!0})},e.getAdminOrderDelivery=function(t){return a.default.get("admin/order/delivery/gain/"+t,{},{login:!0})},e.getAdminOrderDetail=function(t,e){return a.default.get("admin/"+t+"/order/"+e,{},{login:!0})},e.getAdminOrderList=function(t){return a.default.get("admin/order/list",t,{login:!0})},e.getDeliveryStoreLst=function(t){return a.default.get("admin/".concat(t,"/delivery_options"))},e.getLogistics=function(){return a.default.get("logistics",{},{login:!1})},e.getOrderList=function(t,e){return a.default.get("admin/".concat(e,"/order_list"),t,{login:!0})},e.getRefundOrderApi=function(t,e){return a.default.get("server/".concat(t,"/refund/check/").concat(e),{},{login:!0})},e.getRefundOrderDetail=function(t,e){return a.default.get("server/".concat(t,"/refund/detail/").concat(e),{},{login:!0})},e.getRefundOrderInfo=function(t,e){return a.default.get("server/".concat(t,"/refund/get/").concat(e))},e.getRefundOrderList=function(t,e){return a.default.get("server/".concat(e,"/refund/lst"),t,{login:!0})},e.getStatisticsInfo=function(){return a.default.get("admin/order/statistics",{},{login:!0})},e.getStatisticsMonth=function(t){return a.default.get("admin/order/data",t,{login:!0})},e.getStatisticsTime=function(t){return a.default.get("admin/order/time",t,{login:!0})},e.getTempAndDelivery=function(t){return a.default.get("admin/".concat(t,"/delivery_config"))},e.orderCancellation=function(t,e){return a.default.post("admin/".concat(t,"/verify/").concat(e))},e.orderDeliveryInfo=function(t){return a.default.get("admin/".concat(t,"/mer_form"))},e.orderExportTemp=function(t){return a.default.get("store/expr/temps",t)},e.orderNumberStatistics=function(t,e){return a.default.get("admin/".concat(e,"/pay_number"),t,{login:!0})},e.orderPrice=function(t,e){return a.default.get("admin/"+e+"/order_price",t,{login:!0})},e.orderStatistics=function(t){return a.default.get("admin/"+t+"/statistics")},e.orderVerific=function(t,e,i){return a.default.post("verifier/".concat(t,"/").concat(e),i)},e.refundOrderReceive=function(t,e){return a.default.post("server/".concat(t,"/refund/confirm/").concat(e),{},{login:!0})},e.refundOrderSubmit=function(t,e,i){return a.default.post("server/".concat(t,"/refund/status/").concat(e),i,{login:!0})},e.scanUpload=function(t,e,i){return a.default.post("scan_upload/image/".concat(t,"/").concat(e),i,{login:!0})},e.setAdminOrderDelivery=function(t,e,i){return a.default.post("admin/"+t+"/delivery/"+e,i,{login:!0})},e.setAdminOrderPrice=function(t,e,i){return a.default.post("admin/"+t+"/price/"+e,i,{login:!0})},e.setAdminOrderRemark=function(t,e,i){return a.default.post("admin/"+t+"/mark/"+e,i,{login:!0})},e.setOfflinePay=function(t,e){return a.default.post("admin/"+t+"/order/offline",e,{login:!0})},e.setOrderRefund=function(t,e){return a.default.post("admin/"+t+"/order/refund",e,{login:!0})},e.setRefundMark=function(t,e,i){return a.default.post("server/".concat(t,"/refund/mark/").concat(e),i,{login:!0})},e.turnoverStatistics=function(t,e){return a.default.get("admin/".concat(e,"/pay_price"),t,{login:!0})},e.verifierOrder=function(t,e){return a.default.get("verifier/"+t+"/order/"+e)},i("99af");var a=n(i("3314"))},"46ed":function(t,e,i){"use strict";i.r(e);var n=i("b0b4"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"4b659":function(t,e,i){var n=i("4e25");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("fab84416",n,!0,{sourceMap:!1,shadowMode:!1})},"4e25":function(t,e,i){var n=i("24fb");e=n(!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-74132b7e]{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-74132b7e]{display:block;-webkit-transform:rotate(180deg);transform:rotate(180deg);font-size:%?36?%}.popupn .title[data-v-74132b7e]{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-74132b7e]{display:inline-block;position:relative;top:%?4?%;right:0}.popupn .mer_logo[data-v-74132b7e]{width:%?34?%;height:%?34?%;position:relative;top:%?6?%;right:10px}.popupn .mer_name[data-v-74132b7e]{display:inline-block;max-width:%?650?%}.popupn .invoice-content[data-v-74132b7e]{background-color:#fff}\n/*订单首页*/.order-index .header[data-v-74132b7e]{background-size:100% 100%;width:100%;height:%?280?%;padding:%?40?% %?3?% 0 %?3?%;box-sizing:border-box}.order-index .header .item[data-v-74132b7e]{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-74132b7e]{font-size:%?40?%;margin-bottom:%?7?%;height:%?60?%}.order-index .wrapper[data-v-74132b7e]{width:%?690?%;background-color:#fff;border-radius:%?10?%;margin:%?-115?% auto 0 auto;padding-top:%?25?%}.order-index .wrapper .title[data-v-74132b7e]{font-size:%?30?%;color:#282828;padding:0 %?30?%;margin-bottom:%?40?%}.order-index .wrapper .title .iconfont[data-v-74132b7e]{color:#2291f8;font-size:%?40?%;margin-right:%?13?%;vertical-align:middle}.order-index .wrapper .list .item[data-v-74132b7e]{width:33.33%;text-align:center;font-size:%?24?%;color:#999;margin-bottom:%?45?%}.order-index .wrapper .list .item .num[data-v-74132b7e]{font-size:%?40?%;color:#333}.public-wrapper .title[data-v-74132b7e]{font-size:%?30?%;color:#282828;padding:0 %?30?%;margin-bottom:%?20?%}.public-wrapper .title .iconfont[data-v-74132b7e]{color:#2291f8;font-size:%?40?%;margin-right:%?13?%;vertical-align:middle}.public-wrapper[data-v-74132b7e]{margin:%?18?% auto 0 auto;width:%?690?%;background-color:#fff;border-radius:%?10?%;padding-top:%?25?%}.public-wrapper .nav[data-v-74132b7e]{padding:0 %?30?%;height:%?70?%;line-height:%?70?%;font-size:%?24?%;color:#999}.public-wrapper .data[data-v-74132b7e]{width:%?210?%;text-align:left}.public-wrapper .browse[data-v-74132b7e]{width:%?192?%;text-align:right}.public-wrapper .turnover[data-v-74132b7e]{width:%?227?%;text-align:right}.public-wrapper .conter[data-v-74132b7e]{padding:0 %?30?%}.public-wrapper .conter .item[data-v-74132b7e]{border-bottom:1px solid #f7f7f7;height:%?70?%;font-size:%?24?%}.public-wrapper .conter .item .turnover[data-v-74132b7e]{color:#d84242}',""]),t.exports=e},"54cb":function(t,e,i){var n=i("24fb");e=n(!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},"66ad":function(t,e,i){"use strict";i.r(e);var n=i("c6d6"),a=i("9f0e");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("6a92");var o=i("f0c5"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"74132b7e",null,!1,n["a"],void 0);e["default"]=s.exports},"6a92":function(t,e,i){"use strict";var n=i("4b659"),a=i.n(n);a.a},"9f0e":function(t,e,i){"use strict";i.r(e);var n=i("e2d4"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},a869:function(t,e,i){"use strict";i.r(e);var n=i("dfbe"),a=i("46ed");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("bc9c");var o=i("f0c5"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"6be7644b",null,!1,n["a"],void 0);e["default"]=s.exports},b0b4:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"Loading",props:{loaded:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}}};e.default=n},bc9c:function(t,e,i){"use strict";var n=i("1052"),a=i.n(n);a.a},c6d6:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=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,n){return i("v-uni-view",{key:n,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)},a=[]},dfbe:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=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)},a=[]},e2d4:function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("14d9");var a=i("316e"),r=n(i("a869")),o=i("f26a"),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,a.getStatisticsInfo)().then((function(e){t.census=e.data}),(function(e){t.$util.Tips({title:e.msg})}))},getList:function(t){var e=this;e.loading||e.loaded||(e.loading=!0,(0,a.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,a.orderStatistics)(t).then((function(t){e.census=t.data.order,e.orderData=t.data.data}),(function(t){e.$util.Tips({title:t.msg})}))}},onReachBottom:function(){this.getList(this.mer_id)}};e.default=s}}]); |