mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-03-25 14:53:52 +00:00
1 line
30 KiB
JavaScript
1 line
30 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-admin-distribution-index"],{"1a2f":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/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */\n/* 商家管理 */.footer-placeholder[data-v-55a6c9fe]{height:%?100?%}.safe-area-inset-bottom[data-v-55a6c9fe]{height:0;height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom)}.nothing[data-v-55a6c9fe]{width:80%;margin:0 auto;margin-top:30px;text-align:center;color:#cfcfcf}.ite[data-v-55a6c9fe]{font-size:20px}.footer[data-v-55a6c9fe]{position:fixed;left:0;bottom:0;width:100%;background:#fff}.footer .footer-inner[data-v-55a6c9fe]{height:%?100?%}.footer .tab[data-v-55a6c9fe]{flex:1;font-size:%?20?%;line-height:%?28?%;color:#333}.footer .tab .image[data-v-55a6c9fe]{width:%?40?%;height:%?40?%;margin-bottom:%?6?%}.footer .on[data-v-55a6c9fe]{color:#2a7efb}.footer .on .font[data-v-55a6c9fe]{color:#2a7efb}\n/*订单首页*/.headerBg[data-v-55a6c9fe]{position:absolute;top:0;left:0;width:100%;height:%?516?%;background:linear-gradient(270deg,#01abf8,#2a7efb)}.header[data-v-55a6c9fe]{padding:%?22?% %?40?% %?32?% %?32?%}.header .avatar[data-v-55a6c9fe]{width:%?80?%;height:%?80?%;border-radius:50%}.header .text[data-v-55a6c9fe]{flex:1;padding-left:%?16?%;font-size:%?22?%;line-height:%?30?%;color:#fff}.header .name[data-v-55a6c9fe]{font-weight:500;font-size:%?32?%;line-height:%?44?%}.header .phone[data-v-55a6c9fe]{margin-top:%?4?%}.header .items[data-v-55a6c9fe],\n.header .item[data-v-55a6c9fe]{font-size:%?24?%;color:#fff;height:%?120?%;display:flex;align-items:center}.header .items uni-image[data-v-55a6c9fe],\n.header .item uni-image[data-v-55a6c9fe]{width:%?64?%;height:%?64?%;border-radius:%?60?%;border:%?2?% solid #fff}.header .items .font[data-v-55a6c9fe],\n.header .item .font[data-v-55a6c9fe]{display:inline-block;margin-left:%?16?%;margin-right:%?16?%;font-size:%?30?%}.order-index[data-v-55a6c9fe]{position:relative}.order-index .tongji-index[data-v-55a6c9fe]{padding:0 %?20?%}.order-index .tongji-index .empty-page[data-v-55a6c9fe]{border-top-left-radius:0;border-top-right-radius:0}.order-index .tabbar[data-v-55a6c9fe]{position:relative;z-index:5;height:%?96?%;border-radius:%?24?% %?24?% 0 0;overflow:hidden}.order-index .tabbar .item[data-v-55a6c9fe]{position:relative;z-index:5;flex:1;font-size:%?28?%;color:#333}.order-index .tabbar .item:last-child .item-box[data-v-55a6c9fe]{border-radius:%?18?% 0 0 0;-webkit-transform:perspective(%?80?%) scaleX(1.4) scaleY(1.5) rotateX(20deg) translate(%?20?%);transform:perspective(%?80?%) scaleX(1.4) scaleY(1.5) rotateX(20deg) translate(%?20?%)}.order-index .tabbar .item:last-child .text-box[data-v-55a6c9fe]{border-radius:0 %?24?% 0 0}.order-index .tabbar .item.active[data-v-55a6c9fe]{font-weight:500;color:#2a7efb}.order-index .tabbar .item.active .item-box[data-v-55a6c9fe]{display:block}.order-index .tabbar .text-box[data-v-55a6c9fe]{position:absolute;bottom:0;width:100%;height:%?78?%;border-radius:%?24?% 0 0 0;background:hsla(0,0%,100%,.95)}.order-index .tabbar .item-box[data-v-55a6c9fe]{display:none;position:absolute;bottom:0;z-index:2;width:100%;height:%?96?%;border-radius:0 %?18?% 0 0;background:#fff;-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-transform:perspective(%?80?%) scaleX(1.4) scaleY(1.5) rotateX(20deg) translate(%?-20?%);transform:perspective(%?80?%) scaleX(1.4) scaleY(1.5) rotateX(20deg) translate(%?-20?%)}.order-index .tabbar .inner[data-v-55a6c9fe]{position:absolute;bottom:0;z-index:3;width:100%;height:%?78?%}.order-index .content .item[data-v-55a6c9fe]{padding:%?32?% %?24?%;border-radius:%?24?%;margin-bottom:%?20?%;background:#fff}.order-index .content .item[data-v-55a6c9fe]:first-child{border-radius:0 0 %?24?% %?24?%}.order-index .content .item-top[data-v-55a6c9fe]{font-size:%?28?%;line-height:%?40?%;color:#333}.order-index .content .item-center[data-v-55a6c9fe]{margin-top:%?26?%}.order-index .content .goods-section[data-v-55a6c9fe]{flex:1;min-width:0;white-space:nowrap}.order-index .content .goods-section .image[data-v-55a6c9fe]{width:%?136?%;height:%?136?%;border-radius:%?16?%}.order-index .content .goods-section .name-wrap[data-v-55a6c9fe]{flex:1;min-width:0;padding-left:%?20?%}.order-index .content .goods-section .name[data-v-55a6c9fe]{font-size:%?28?%;line-height:%?40?%;color:#333}.order-index .content .goods-section .attr[data-v-55a6c9fe]{margin-top:%?12?%;font-size:%?24?%;line-height:%?34?%;color:#999}.order-index .content .scroll-view[data-v-55a6c9fe]{box-sizing:border-box}.order-index .content .scroll-view .image[data-v-55a6c9fe]{margin-right:%?16?%}.order-index .content .item-bottom[data-v-55a6c9fe]{padding:%?18?% %?20?%;border-radius:%?8?%;margin-top:%?26?%;background:#f5f5f5;font-size:%?26?%;line-height:%?36?%;color:#333}.order-index .content .item-bottom .info[data-v-55a6c9fe]{flex:1;color:#999}.order-index .content .scroll-view[data-v-55a6c9fe]{box-sizing:border-box}.order-index .content .scroll-view .image[data-v-55a6c9fe]{margin-right:%?16?%}.order-index .content .money-section[data-v-55a6c9fe]{width:%?102?%;text-align:right}.order-index .content .money-section .num[data-v-55a6c9fe]{margin-top:%?8?%;font-size:%?24?%;line-height:%?34?%;color:#999}.order-index .header .icon-saoma[data-v-55a6c9fe]{font-size:%?40?%;padding:%?30?% %?20?% %?30?% %?80?%}.order-index .header .item[data-v-55a6c9fe],\n.order-index .header .items[data-v-55a6c9fe]{font-size:%?24?%;color:#fff;height:%?120?%;display:flex;align-items:center}.order-index .header .item .font[data-v-55a6c9fe],\n.order-index .header .items .font[data-v-55a6c9fe]{display:inline-block;margin-left:%?16?%;margin-right:%?16?%;font-size:%?30?%}.order-index .header .items uni-image[data-v-55a6c9fe]{width:%?64?%;height:%?64?%;border-radius:%?60?%;border:%?2?% solid #fff}.order-index .wrapper[data-v-55a6c9fe]{width:%?710?%;border-radius:%?24?%;margin:0 auto;background:#fff}.order-index .wrapper .title .iconfont[data-v-55a6c9fe]{color:#2291f8;font-size:%?40?%;margin-right:%?13?%;vertical-align:middle}.order-index .wrapper .title[data-v-55a6c9fe]{padding:%?32?% %?24?%;font-weight:500;font-size:%?30?%;line-height:%?42?%;color:#333}.order-index .wrapper .title .uni-list-cell-db .iconfont[data-v-55a6c9fe]{font-size:%?24?%;color:#ccc;margin-left:%?12?%}.order-index .wrapper .title .tab[data-v-55a6c9fe]{border-radius:%?24?%;background:#f5f5f5}.order-index .wrapper .title .tab .box[data-v-55a6c9fe]{width:%?96?%;height:%?48?%;border-radius:%?24?%;text-align:center;font-weight:400;font-size:%?24?%;line-height:%?48?%;color:#999}.order-index .wrapper .title .tab .on[data-v-55a6c9fe]{background:#2a7efb;color:#fff}.order-index .wrapper .list .item[data-v-55a6c9fe]{flex:1;padding:%?30?% 0 %?38?%;text-align:center;font-size:%?24?%;line-height:%?34?%;color:#999}.order-index .wrapper .list .item .num[data-v-55a6c9fe]{margin-bottom:%?10?%;font-family:SemiBold;font-size:%?36?%;line-height:%?36?%;color:#333}.public-wrapper .title[data-v-55a6c9fe]{padding:%?32?% %?24?% %?40?%;font-weight:500;font-size:%?30?%;line-height:%?42?%;color:#333}.public-wrapper .title .uni-list-cell-db .iconfont[data-v-55a6c9fe]{font-size:%?24?%;color:#999;margin-left:%?14?%}.public-wrapper .title .tab[data-v-55a6c9fe]{width:%?240?%;height:%?48?%;background:#f5f5f5;border-radius:%?24?%;display:flex;justify-content:space-between;font-weight:400;color:#999;font-size:%?24?%}.public-wrapper .title .tab .box[data-v-55a6c9fe]{width:%?82?%;height:%?48?%;border-radius:%?24?%;text-align:center;line-height:%?48?%}.public-wrapper .title .tab .on[data-v-55a6c9fe]{background:#1890ff;color:#fff}.public-wrapper .title .iconfont[data-v-55a6c9fe]{color:#2291f8;font-size:%?40?%;margin-right:%?13?%;vertical-align:middle}.public-wrapper[data-v-55a6c9fe]{width:%?710?%;border-radius:%?24?%;margin:%?20?% auto 0;background:#fff}.public-wrapper .nav[data-v-55a6c9fe]{padding:0 %?40?%;font-size:%?24?%;line-height:%?34?%;color:#999}.public-wrapper .data[data-v-55a6c9fe]{width:45%;text-align:left}.public-wrapper .browse[data-v-55a6c9fe]{width:25%}.public-wrapper .turnover[data-v-55a6c9fe]{width:30%;text-align:right}.public-wrapper .conter[data-v-55a6c9fe]{padding:0 %?40?%}.public-wrapper .conter .item[data-v-55a6c9fe]{padding:%?20?% 0;border-bottom:1px solid #f1f1f1;font-size:%?24?%;line-height:%?34?%;color:#333}.public-wrapper .conter .item .turnover[data-v-55a6c9fe]{color:#000;font-weight:400}.public-wrapper .unconter[data-v-55a6c9fe]{text-align:center;color:#999;padding:%?25?%}',""]),t.exports=e},"2ed9":function(t,e,i){"use strict";i.r(e);var a=i("66a3"),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},"323f":function(t,e,i){"use strict";var a=i("de5d"),n=i.n(a);n.a},"327c":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,".Loads[data-v-71b32b65]{height:%?80?%;font-size:%?25?%;color:#000}.Loads .iconfont[data-v-71b32b65]{font-size:%?30?%;margin-right:%?10?%;height:%?32?%;line-height:%?32?%}\n/*加载动画*/@-webkit-keyframes load-data-v-71b32b65{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes load-data-v-71b32b65{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.loadingpic[data-v-71b32b65]{-webkit-animation:load-data-v-71b32b65 3s linear 1s infinite;animation:load-data-v-71b32b65 3s linear 1s infinite}.loading[data-v-71b32b65]{-webkit-animation:load-data-v-71b32b65 linear 1s infinite;animation:load-data-v-71b32b65 linear 1s infinite}",""]),t.exports=e},"3f32":function(t,e,i){"use strict";i.r(e);var a=i("ba73"),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},5495:function(t,e,i){"use strict";i.r(e);var a=i("8856"),n=i("3f32");for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("5abc");var o=i("828b"),d=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"1be899ec",null,!1,a["a"],void 0);e["default"]=d.exports},"5a2d":function(t,e,i){"use strict";var a=i("ee40a"),n=i.n(a);n.a},"5abc":function(t,e,i){"use strict";var a=i("d208"),n=i.n(a);n.a},"5ec2":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",{staticClass:"headerBg"}),i("v-uni-view",{staticClass:"order-index"},[i("v-uni-view",{staticClass:"header acea-row row-middle"},[i("v-uni-image",{staticClass:"avatar",attrs:{src:t.user.avatar}}),i("v-uni-view",{staticClass:"text"},[i("v-uni-view",{staticClass:"name line1"},[t._v(t._s(t.user.nickname))]),i("v-uni-view",{staticClass:"phone"},[t._v(t._s(t.user.phone))])],1),i("v-uni-view",{staticClass:"item"},[t.isWeixin?i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"iconfont icon-ic_Scan ite",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.to.apply(void 0,arguments)}}})],1):t._e()],1)],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:"tongji"==t.footer,expression:"footer == 'tongji'"}]},[i("v-uni-view",{staticClass:"wrapper"},[i("v-uni-view",{staticClass:"title acea-row row-between row-middle"},[i("v-uni-view",{staticClass:"uni-list-cell-db",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.hiddened.apply(void 0,arguments)}}},[i("v-uni-picker",{attrs:{range:t.arrays},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.bindPickerChange.apply(void 0,arguments)},cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.cancel.apply(void 0,arguments)}}},[i("v-uni-label",{staticClass:"aa"},[t._v(t._s(t.array.length&&t.array[t.index].name))]),i("v-uni-text",{staticClass:"iconfont",class:1==t.hidden?"icon-ic_downarrow":"icon-ic_uparrow"})],1)],1),i("v-uni-view",{staticClass:"tab acea-row"},[i("v-uni-view",{staticClass:"box",class:"today"==t.detailtabs?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.detailtab("today")}}},[t._v("今日")]),i("v-uni-view",{staticClass:"box",class:"yesterday"==t.detailtabs?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.detailtab("yesterday")}}},[t._v("昨日")]),i("v-uni-view",{staticClass:"box",class:"month"==t.detailtabs?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.detailtab("month")}}},[t._v("本月")])],1)],1),i("Loading",{attrs:{loaded:t.loaded,loading:t.loading}}),t.loading?t._e():i("v-uni-view",{staticClass:"list acea-row"},[i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"num"},[t._v(t._s(t.census.unsend||0))]),i("v-uni-view",[t._v("待配送")])],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"num"},[t._v(t._s(t.census.send||0))]),i("v-uni-view",[t._v("已配送")])],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"num"},[t._v(t._s(t.census.send_price||0))]),i("v-uni-view",[t._v("配送金额")])],1)],1)],1),i("v-uni-view",{staticClass:"public-wrapper"},[i("v-uni-view",{staticClass:"title"},[i("v-uni-view",{staticClass:"uni-list-cell-db",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.hiddened.apply(void 0,arguments)}}},[t._v(" 详细数据 ")])],1),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("Loading",{attrs:{loaded:t.loaded,loading:t.loading}}),t.list.length?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.time))]),i("v-uni-view",{staticClass:"browse"},[t._v(t._s(e.count))]),i("v-uni-view",{staticClass:"turnover"},[t._v("¥ "+t._s(e.price))])],1)})),1):i("v-uni-view",{staticClass:"unconter"},[t.loading?t._e():i("v-uni-view",[t._v("暂无数据")])],1)],1)],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:"list"==t.footer,expression:"footer == 'list'"}],staticClass:"tongji-index"},[i("v-uni-view",{staticClass:"tabbar acea-row"},[i("v-uni-view",{staticClass:"item",class:{active:1==t.type}},[i("v-uni-view",{staticClass:"text-box"}),i("v-uni-view",{staticClass:"item-box"}),i("v-uni-view",{staticClass:"inner acea-row row-center row-middle",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tab("1")}}},[t._v("待配送("+t._s(t.count.unsend)+")")])],1),i("v-uni-view",{staticClass:"item",class:{active:2==t.type}},[i("v-uni-view",{staticClass:"text-box"}),i("v-uni-view",{staticClass:"item-box"}),i("v-uni-view",{staticClass:"inner acea-row row-center row-middle",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tab("2")}}},[t._v("已配送("+t._s(t.count.send)+")")])],1)],1),i("v-uni-view",{staticClass:"content"},[t._l(t.orderlist,(function(e,a){return i("v-uni-view",{key:a,staticClass:"item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.jump(e.id)}}},[i("v-uni-view",{staticClass:"item-top acea-row row-between row-middle"},[i("v-uni-view",{},[t._v("订单号:"+t._s(e.order_id))]),i("v-uni-view",{staticStyle:{color:"#FF7E00"}},[t._v(t._s(1==t.type?"待配送":"已配送"))])],1),i("v-uni-view",{staticClass:"item-center acea-row"},[e.cart_id.length>1?i("v-uni-scroll-view",{staticClass:"goods-section scroll-view",attrs:{"scroll-x":"true"}},t._l(e._info,(function(t,e){return i("v-uni-image",{key:e,staticClass:"image",attrs:{src:t.cart_info.productInfo.image}})})),1):i("v-uni-view",{staticClass:"goods-section"},t._l(e._info,(function(e,a){return i("v-uni-view",{key:a,staticClass:"acea-row"},[i("v-uni-image",{staticClass:"image",attrs:{src:e.cart_info.productInfo.image}}),i("v-uni-view",{staticClass:"name-wrap"},[i("v-uni-view",{staticClass:"name line2"},[t._v(t._s(e.cart_info.productInfo.store_name))]),i("v-uni-view",{staticClass:"attr line1"},[t._v(t._s(e.cart_info.productInfo.attrInfo.suk))])],1)],1)})),1),i("v-uni-view",{staticClass:"money-section"},[i("baseMoney",{attrs:{money:e.pay_price,symbolSize:"20",integerSize:"32",decimalSize:"20"}}),i("v-uni-view",{staticClass:"num"},[t._v("共"+t._s(e.total_num)+"件")])],1)],1),i("v-uni-view",{staticClass:"item-bottom acea-row"},[i("v-uni-view",[t._v("配送地址:")]),i("v-uni-view",{staticClass:"info"},[t._v(t._s(e.user_address))])],1)],1)})),t.orderlist.length||t.loading?t._e():i("emptyPage",{attrs:{title:"暂无数据~",src:"/statics/images/noOrder.gif"}})],2),i("Loading",{attrs:{loaded:t.loaded,loading:t.loading}})],1)],1),i("v-uni-view",{staticClass:"footer"},[i("v-uni-view",{staticClass:"footer-inner acea-row"},[i("v-uni-view",{staticClass:"tab acea-row row-column row-center row-middle",class:"list"==t.footer?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.footerTab("list")}}},["list"==t.footer?i("v-uni-image",{staticClass:"image",attrs:{src:t.imgHost+"/statics/images/admin-order-menu2.png"}}):i("v-uni-image",{staticClass:"image",attrs:{src:t.imgHost+"/statics/images/admin-order-menu1.png"}}),i("v-uni-view",{staticClass:"font"},[t._v("订单列表")])],1),i("v-uni-view",{staticClass:"tab acea-row row-column row-center row-middle",class:"tongji"==t.footer?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.footerTab("tongji")}}},["tongji"==t.footer?i("v-uni-image",{staticClass:"image",attrs:{src:t.imgHost+"/statics/images/admin-order-menu4.png"}}):i("v-uni-image",{staticClass:"image",attrs:{src:t.imgHost+"/statics/images/admin-order-menu3.png"}}),i("v-uni-view",{staticClass:"font"},[t._v("数据统计")])],1)],1),i("v-uni-view",{staticClass:"safe-area-inset-bottom"})],1),i("v-uni-view",{staticClass:"footer-placeholder"}),i("v-uni-view",{staticClass:"safe-area-inset-bottom"})],1)},n=[]},"62d0":function(t,e,i){"use strict";i.r(e);var a=i("b169"),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},"66a3":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},8856: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",{staticClass:"empty-box"},[e("v-uni-image",{attrs:{src:this.imgHost+"/statics/images/empty-box.png"}}),e("v-uni-view",{staticClass:"txt"},[this._v(this._s(this.title||this.$t("暂无记录")))])],1)},n=[]},"97b3":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/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */\n/* 商家管理 */.empty-box[data-v-1be899ec]{display:flex;flex-direction:column;justify-content:center;align-items:center;padding-top:%?200?%}.empty-box uni-image[data-v-1be899ec]{width:%?414?%;height:%?240?%}.empty-box .txt[data-v-1be899ec]{font-size:%?26?%;color:#999}',""]),t.exports=e},"9b9f":function(t,e,i){"use strict";i.r(e);var a=i("5ec2"),n=i("62d0");for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("5a2d");var o=i("828b"),d=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"55a6c9fe",null,!1,a["a"],void 0);e["default"]=d.exports},b169:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("fd3c"),i("3efd"),i("aa9c"),i("4626"),i("5ac7"),i("5c47"),i("0506");var n=i("bef0"),r=a(i("d662")),o=a(i("5495")),d=i("a5c67"),s={name:"adminOrder",components:{Loading:r.default,emptyPage:o.default},data:function(){return{hidden:!0,index:0,detailtabs:"today",footer:"list",type:"1",arrays:[],array:[],storeInfoid:0,census:{},list:[],orderlist:[],count:{},page:1,limit:15,loaded:!1,loading:!1,user:{},ids:"",verify_code:"",isWeixin:this.$wechat.isWeixin(),imgHost:d.HTTP_REQUEST_URL}},onLoad:function(){this.userInfo(),this.footerTab("list")},methods:{userInfo:function(){var t=this;(0,n.deliveryInfo)().then((function(e){t.user=e.data,t.array=e.data.store_info.map((function(t){return t})),t.arrays=e.data.store_info.map((function(t){return t.name}));var i={id:0,name:"全部"};t.array.unshift(i),t.arrays.unshift(i.name)}))},getStatistics:function(){var t=this,e={store_id:this.storeInfoid,data:this.detailtabs};(0,n.deliveryStatistics)(e).then((function(e){t.census=e.data}))},deliveryLists:function(){var t=this,e={page:this.page,limit:this.limit,store_id:this.storeInfoid,data:this.detailtabs};this.loading||this.loaded||(this.loading=!0,(0,n.deliveryList)(e).then((function(e){t.loading=!1,t.loaded=e.data.length<t.limit,t.page+=1,t.list.push.apply(t.list,e.data)})))},getOrderList:function(){var t=this;this.loading||this.loaded||(this.loading=!0,(0,n.deliveryOrderList)({type:this.type,page:this.page,limit:this.limit}).then((function(e){t.loading=!1,t.count=e.data.data,t.loaded=e.data.list.length<t.limit,t.page+=1;for(var i=[],a=0;a<e.data.list.length;a++){i=[];for(var n=0;n<e.data.list[a].user_address.length;n++)" "!=e.data.list[a].user_address[n]&&i.push(e.data.list[a].user_address[n]);e.data.list[a].user_address=i.join("")}t.orderlist.push.apply(t.orderlist,e.data.list)})))},init:function(){this.orderlist=[],this.list=[],this.page=1,this.loaded=!1,this.loading=!1},to:function(){var t=this;this.$wechat.wechatEvevt("scanQRCode",{needResult:1,scanType:["qrCode","barCode"]}).then((function(e){var i=e.resultStr;i.includes(",")&&(i=i.split(",")[1]),t.verify_code=i,t.codeChange()}))},codeChange:function(){var t=this;return this.verify_code?/^[0-9]*$/.test(this.verify_code)?(t.$util.Tips({title:"查询中"}),void setTimeout((function(){(0,n.orderWriteoffInfo)(2,{verify_code:t.verify_code,code_type:2}).then((function(e){200==e.status?uni.navigateTo({url:"./scanning/index?code="+t.verify_code}):t.$util.Tips({title:e.msg})})).catch((function(e){t.$util.Tips({title:e})}))}),800)):t.$util.Tips({title:"请输入正确的核销码"}):t.$util.Tips({title:"请输入核销码"})},footerTab:function(t){this.footer=t,this.init(),"tongji"==t&&(this.deliveryLists(),this.getStatistics()),"list"==t&&this.getOrderList()},tab:function(t){this.type=t,this.init(),this.getOrderList()},hiddened:function(t){this.hidden=!this.hidden},cancel:function(){this.hidden=!this.hidden},bindPickerChange:function(t){this.hidden=!this.hidden,this.index=t.target.value,this.storeInfoid=this.array[this.index].id,this.init(),this.getStatistics(),this.deliveryLists()},detailtab:function(t){this.detailtabs=t,this.init(),this.deliveryLists(),this.getStatistics()},jump:function(t){uni.navigateTo({url:"orderDetail/index?id="+t})}},onReachBottom:function(){"tongji"==this.footer&&this.deliveryList(),"list"==this.footer&&this.getOrderList()}};e.default=s},ba73:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i("a5c67"),n={props:{title:{type:String,default:""}},data:function(){return{imgHost:a.HTTP_REQUEST_URL}}};e.default=n},bef0:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.adminProductList=function(t){return n.default.get("admin/manage/product",t)},e.adminRefundList=function(t){return n.default.get("admin/refund_order/list",t)},e.agreeExpress=function(t){return n.default.post("admin/order/agreeExpress",t,{login:!0})},e.getAdminOrderDelivery=function(t){return n.default.get("admin/order/delivery/gain/"+t,{},{login:!0})},e.getAdminOrderDetail=function(t){return n.default.get("admin/order/detail/"+t,{},{login:!0})},e.getAdminOrderList=function(t){return n.default.get("admin/order/list",t,{login:!0})},e.getAdminRefundDetail=function(t){return n.default.get("admin/refund_order/detail/"+t,{},{login:!0})},e.getAdminRefundOrderDetail=function(t){return n.default.get("admin/refund_order/detail/"+t,{},{login:!0})},e.getGroupList=function(){return n.default.get("admin/manage/user/group")},e.getLevelList=function(){return n.default.get("admin/manage/user/level")},e.getLogistics=function(t){return n.default.get("logistics",t,{login:!1})},e.getManageProductAttr=function(t){return n.default.get("admin/manage/product/attr/".concat(t),{},{login:!0})},e.getManageStatistics=function(){return n.default.get("admin/manage/statistics",{},{login:!0})},e.getProductCate=function(){return n.default.get("admin/manage/product/cate",{},{login:!0})},e.getProductLabel=function(){return n.default.get("admin/manage/product/label",{},{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.getTemplateOption=function(){return n.default.get("admin/manage/product/shipping_temp")},e.getUserCoupon=function(t){return n.default.get("admin/manage/user/coupon",t)},e.getUserInfo=function(t){return n.default.get("admin/manage/user/info/".concat(t))},e.getUserLabel=function(t){return n.default.get("admin/manage/user/label/".concat(t))},e.getUserList=function(t){return n.default.get("admin/manage/user",t)},e.orderCartInfo=function(t){return n.default.post("store/order/cart_info",t)},e.orderDeliveryInfo=function(){return n.default.get("admin/order/delivery_info")},e.orderExportTemp=function(t){return n.default.get("admin/order/export_temp",t)},e.orderOrderDelivery=function(){return n.default.get("admin/order/delivery")},e.orderRefund_order=function(t){return n.default.get("admin/refund_order/list",t,{login:!0})},e.orderSplitDelivery=function(t,e){return n.default.put("admin/order/split_delivery/"+t,e)},e.orderSplitInfo=function(t){return n.default.get("admin/order/split_cart_info/"+t)},e.orderVerific=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return n.default.post("order/order_verific",{verify_code:t,is_confirm:e,auth:i})},e.orderWriteoff=function(t){return n.default.post("store/order/writeoff",t)},e.postBatchProcess=function(t){return n.default.post("admin/manage/product/save_label",t,{login:!0})},e.postManageSaveCate=function(t){return n.default.post("admin/manage/product/save_cate",t,{login:!0})},e.postUpdateAttrs=function(t,e){return n.default.post("admin/manage/product/save_attr/".concat(t),e,{login:!0})},e.postUserUpdate=function(t){return n.default.post("admin/user/update",t)},e.postUserUpdateOther=function(t,e){return n.default.post("admin/manage/user/update/".concat(t),e)},e.productCreate=function(t){return n.default.post("admin/manage/product/create",t)},e.productSetShow=function(t){return n.default.post("admin/manage/product/set_show",t,{login:!0})},e.setAdminOrderDelivery=function(t,e){return n.default.post("admin/order/delivery/keep/"+t,e,{login:!0})},e.setAdminOrderPrice=function(t){return n.default.post("admin/order/price",t,{login:!0})},e.setAdminOrderRemark=function(t){return n.default.post("admin/order/remark",t,{login:!0})},e.setAdminRefundRemark=function(t){return n.default.post("admin/refund_order/remark",t,{login:!0})},e.setOfflinePay=function(t){return n.default.post("admin/order/offline",t,{login:!0})},e.setOrderRefund=function(t){return n.default.post("admin/order/refund",t,{login:!0})};var n=a(i("511c"))},d208:function(t,e,i){var a=i("97b3");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("53002f66",a,!0,{sourceMap:!1,shadowMode:!1})},d662:function(t,e,i){"use strict";i.r(e);var a=i("f465"),n=i("2ed9");for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("323f");var o=i("828b"),d=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"71b32b65",null,!1,a["a"],void 0);e["default"]=d.exports},de5d:function(t,e,i){var a=i("327c");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("29c3f88d",a,!0,{sourceMap:!1,shadowMode:!1})},ee40a:function(t,e,i){var a=i("1a2f");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("37199467",a,!0,{sourceMap:!1,shadowMode:!1})},f465: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",[t.loading&&!t.loaded?i("v-uni-view",{staticClass:"Loads acea-row row-center-wrapper",staticStyle:{"margin-top":".2rem"}},[t.loading?i("v-uni-view",[i("v-uni-view",{staticClass:"iconfont icon-jiazai loading acea-row row-center-wrapper"}),t._v(" "+t._s(t.$t("正在加载中"))+" ")],1):i("v-uni-view",[t._v(" "+t._s(t.$t("上拉加载更多"))+" ")])],1):t._e()],1)},n=[]}}]); |