bztang-admin/addons/yun_shop/static/app/js/chunk-39dfc5cb.928ee731.js

1 line
28 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-39dfc5cb","chunk-2d0b235b"],{"0d73":function(e,t,r){var i=r("b79e");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=r("499e").default;a("143284a2",i,!0,{sourceMap:!1,shadowMode:!1})},"22af":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAC6xJREFUeNrsnetyHEcZhlfIlktB4DUpCeNDLBslFBQu5J+p/JGuAOsK0F4B+ArMXoHlK/ByBRFXoOVHKv+wXKagCAZvEhuMVHZWxsQ4iSn6Xc1Qk82cp3tO+zxVU6vD7vZM9/fOd5ienrkOQM25/+EHXfOyZ7Z1s43N1rv67nu7ZbT9LbofGsC2Jw4hsdwsq2EEAk2gO/X7OgIBqAEIBACBAHwt6d8w2yoCAfi6MLpmu9s5rog9ND9vIxCAzjdKxT43EQggjnBxkINAaxhP/b5vSRx9BAJtYBAQxeRKugVx6Gr8IOk75uh7mMGwKpU48CDQZn5VVBwIBGaNTOJAINBmdsw2KiIOgFnIRVJfNQcAAAAAAAAAAGgmJ+gCmCXuf/iBrq7fMttGwls196vHhUKYNW6mEIeQkN5HIDBrbGR47yoCgVljkOW9THeHWcxDtuUdEt42vvruezv0FgAAAAAAAEBNKFTF8qoBv+hkqy0DlIFWPxma7bdF7iScyykMCeJOJ7lUBlAHRp3jW26HzgXieY079Dk0kMz3pc9lFIfmp9yln6HBXDMiSb0yY9apJrfoX2g4mWw4tQfBe8AsepEsHuQ6/QotIbUtZxHIz+hXaAmpbTnLHYXdKo9o6XS3c2pxsfPG0ndyff7g8aedVy9fYhoW0DisnL+Y67Ofv/jXZBxeHI2rPISuC4GMqxLG8vk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AAAAAAAAA/E+AAQCWWUJtqkVBuAAAAABJRU5ErkJggg=="},"95ef":function(e,t,r){"use strict";r("0d73")},a15c:function(e,t,r){"use strict";r.r(t);var i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:"payment"}},[r("c-title",{attrs:{hide:!1,text:e.pageTitle}}),r("div",{style:{height:e.amout||"shop"!=e.orderType&&"storeMang"!=e.orderType?"stock"==e.orderType?"40px":"60px":"90px"}}),r("div",{staticClass:"search",class:[3==e.fun.getPhoneEnv()?"pcStyle":""],style:{top:!e.amout||"shop"!=e.orderType&&"storeMang"!=e.orderType?"40px":"10px",height:"shop"==e.orderType||"storeMang"==e.orderType?"90px":"stock"==e.orderType?"":"60px"}},["shop"==e.orderType||"storeMang"==e.orderType||"stock"==e.orderType?r("div",{staticClass:"search-box"},["storeMang"==e.orderType?r("el-select",{staticClass:"left-select",attrs:{placeholder:"请选择",size:"mini","popper-append-to-body":!1},model:{value:e.keywordType,callback:function(t){e.keywordType=t},expression:"keywordType"}},e._l(e.keywordTypes,(function(e){return r("el-option",{key:e.value,staticClass:"down-select-opt",attrs:{label:e.name,value:e.value}})})),1):e._e(),r("div",{staticClass:"right-search"},[r("form",{staticStyle:{flex:"1"},attrs:{action:"#"},on:{submit:function(e){e.preventDefault()}}},[r("van-field",{ref:"search_input",staticClass:"input",attrs:{placeholder:"搜索订单",clearable:""},nativeOn:{keypress:function(t){return e.enterSearch.apply(null,arguments)}},model:{value:e.keywords,callback:function(t){e.keywords=t},expression:"keywords"}})],1),r("i",{staticClass:"iconfont icon-sousuo1",staticStyle:{color:"#ccc"},on:{click:e.search}})])],1):e._e(),"stock"!=e.orderType?r("van-tabs",{staticStyle:{"z-index":"98",height:"50px","line-height":"50px"},on:{click:e.swichTabTItem},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}},e._l(e.setNavList,(function(e,t){return r("van-tab",{key:t,attrs:{name:t.toString(),title:e}})})),1):e._e()],1),r("van-pull-refresh",{attrs:{"success-text":"刷新成功"},on:{refresh:e.loadTop},model:{value:e.isLoading,callback:function(t){e.isLoading=t},expression:"isLoading"}},[r("div",e._l(e.dataList,(function(t,i,a){return r("div",{directives:[{name:"show",rawName:"v-show",value:e.selected==a.toString(),expression:"selected==indexs.toString()"}],key:a},[r("cOrderList",{ref:"mychild",refInFor:!0,staticClass:"osll",attrs:{datasource:t,orderType:e.orderType,detailUrl:e.detailUrl,status:a.toString(),consolidated:e.consolidated_payment,custom_receipt_confirmation_html:e.custom_receipt_confirmation_html,isOrder:!0},on:{ConfrimOrderNotification:e.cofirmOrderAction,ToDetailNotification:e.toDetail,MultiplePayNotification:e.multiplePayAction}})],1)})),0)]),1==e.selected&&e.isMultiplePay&&e.consolidated_payment?r("div",{staticClass:"contes"},[r("button",{on:{click:e.toMultiplePay}},[e._v("合并支付")])]):e._e()],1)},o=[],s=(r("ac1f"),r("841c"),r("1276"),r("b0c0"),r("4ec9"),r("d3b7"),r("3ca3"),r("ddb0"),r("a434"),r("a9e3"),r("99af"),r("e9c4"),r("6968")),n=r("5659"),d=document.documentElement,l=document.body,p={data:function(){return{pageTitle:"我的订单",keywords:"",keywordType:1,keywordTypes:[{name:"商品名",value:1},{name:"订单号",value:2},{name:"姓名",value:3},{name:"手机号",value:4}],amout:!1,selected:0,last_status:0,dataList:{orderList:[],waitPayList:[],waitSendList:[],waitReceiveList:[],waitCompleteList:[],waitLimitList:[],waitRefund:[],alreadyComplete:[],isLoading:!1},isLoading:!1,action:"",order_ids:[],checkList:[],isMultiplePay:!1,detailUrl:"orderdetail",orderType:"shop",NavList:[],NavApi:[],overSelected:[],page0:1,total_page0:0,isLoadMore0:!0,page1:1,total_page1:0,isLoadMore1:!0,page2:1,total_page2:0,isLoadMore2:!0,page3:1,total_page3:0,isLoadMore3:!0,page4:1,total_page4:0,isLoadMore4:!0,page5:1,total_page5:0,isLoadMore5:!0,page6:1,total_page6:0,isLoadMore6:!0,consolidated_payment:"true"==localStorage.getItem("consolidated_payment")}},methods:{enterSearch:function(e){13===e.keyCode&&(e.preventDefault(),this.search())},search:function(){this.selected="0",this.getOrderList(0,"refresh")},swichTabTItem:function(){this.keywords="",this.keywordType=1,window.scrollTo(0,0),this.getOrderList(this.selected)},initData:function(){this.pageTitle="我的订单",this.keywords="",this.keywordType=1,this.amout=!1,this.overSelected=[],this.page0=1,this.total_page0=0,this.isLoadMore0=!0,this.page1=1,this.total_page1=0,this.isLoadMore1=!0,this.page2=1,this.total_page2=0,this.isLoadMore3=!0,this.page3=1,this.total_page3=0,this.isLoadMore3=!0,this.page4=1,this.total_page4=0,this.isLoadMore4=!0,this.page5=1,this.total_page5=0,this.isLoadMore5=!0,this.page6=1,this.total_page6=0,this.isLoadMore6=!0,this.dataList={orderList:[],waitPayList:[],waitSendList:[],waitReceiveList:[],waitCompleteList:[],waitLimitList:[],waitRefund:[],alreadyComplete:[]}},loadTop:function(){this.initData(),this.getOrderList(this.selected)},checkType:function(){if(this.selected=this.$route.params.status||"0",this.$route.params.orderType&&"cashier"==this.$route.params.orderType)if(this.orderType="cashier",this.detailUrl="cashierOrderdetail",this.$route.query.status){this.NavList=[],this.NavApi=[];for(var e=[{name:"1",title:"全部",api:"plugin.store-cashier.frontend.Order.list"},{name:"0",title:"待付款",api:"plugin.store-cashier.frontend.Order.list.waitPay"},{name:"3",title:"已完成",api:"plugin.store-cashier.frontend.Order.list.Completed"}],t=this.$route.query.status?this.$route.query.status.split(","):[1],r=0;r<e.length;r++)t.indexOf(e[r].name)>-1&&(this.NavList.push(e[r].title),this.NavApi.push(e[r].api));this.selected="0"}else this.NavList=["全部","待付款","已完成"];else this.$route.params.orderType&&"store"==this.$route.params.orderType?(this.orderType="store",this.detailUrl="storeOrderdetail"):this.$route.params.orderType&&"supplier"==this.$route.params.orderType?(this.orderType="supplier",this.detailUrl="supplierOrderdetail"):this.$route.params.orderType&&"hotel"==this.$route.params.orderType?(this.orderType="hotel",this.detailUrl="HotelOrderDetail",this.NavList=["全部","待付款","待确认","待入住","已完成","待退房"]):this.$route.params.orderType&&"hotel_center"==this.$route.params.orderType?(this.orderType="hotel_center",this.detailUrl="HotelCenterOrderDetail"):this.$route.params.orderType&&"hotelcashier"==this.$route.params.orderType?(this.orderType="hotelcashier",this.detailUrl="HotelCashierOrderDetail"):this.$route.params.orderType&&"DeliveryS"==this.$route.params.orderType?(this.orderType="DeliveryS",this.detailUrl="deliveryStationOrderDetail",this.NavList=["全部","待支付","待接单","待发货","待收货","已完成"]):this.$route.params.orderType&&"DeliveryReplenish"==this.$route.params.orderType?(this.orderType="DeliveryReplenish",this.detailUrl="DeliveryReplenishDetail",this.NavList=["全部","待支付","待发货","待收货","已完成"]):this.$route.params.orderType&&"serviceReplenish"==this.$route.params.orderType?(this.orderType="serviceReplenish",this.detailUrl="serviceReplenishDetail",this.NavList=["全部","待支付","待发货","待收货","已完成"]):this.$route.params.orderType&&"groups"==this.$route.params.orderType?(this.orderType="groups",this.detailUrl="groupDetail",this.NavList=["全部","待付款","拼团中","待发货","待收货","已完成"]):this.$route.params.orderType&&"ywmgroups"==this.$route.params.orderType?(this.orderType="ywmgroups",this.detailUrl="orderdetail",this.NavList=["全部","待付款","拼团中","待发货","待收货","已完成"]):this.$route.params.orderType&&"lease_toy"==this.$route.params.orderType?(this.orderType="lease_toy",this.detailUrl="LeaseToyOrderDetail",this.NavList=["全部","待支付","待发货","待收货","待归还","已完成"]):"subsidiary"==this.$route.name?(this.orderType="subsidiary",this.detailUrl="supplierOrderdetail"):this.$route.params.orderType&&"auctioneer"==this.$route.params.orderType?(this.orderType="auctioneer",this.detailUrl="auctioneerOrderDetail"):this.$route.params.orderType&&"grabGroup"==this.$route.params.orderType?(this.orderType="grabGroup",this.detailUrl="orderdetail",this.NavList=["抢团中","待付款","待发货","待收货","已完成"]):this.$route.params.orderType&&"auction"==this.$route.params.orderType?(this.orderType="auction",this.detailUrl="auctionOrderDetail"):this.$route.params.orderType&&"newRetail"==this.$route.params.orderType?(this.orderType="newRetail",this.detailUrl="orderdetail"):this.$route.params.orderType&&"groupWork"==this.$route.params.orderType?(this.orderType="groupWork",this.detailUrl="orderdetail"):this.$route.params.orderType&&"warehousePurchasing"==this.$route.params.orderType?(this.orderType="warehousePurchasing",this.detailUrl="orderdetail",this.NavList=["全部","待付款","已完成","已关闭"]):this.$route.params.orderType&&"ysSystem"==this.$route.params.orderType?(this.orderType="ysSystem",this.detailUrl="orderdetail",this.NavList=["全部"]):this.$route.params.orderType&&"storeMang"==this.$route.params.orderType?(this.pageTitle="订单管理",this.orderType="storeMang",this.detailUrl="storeOrderdetail"):this.$route.params.orderType?(this.orderType=this.$route.params.orderType,this.detailUrl="orderdetail"):this.$route.params.stock?(this.orderType="stock",this.detailUrl="orderdetail"):(this.orderType="shop",this.detailUrl="orderdetail");this.NavList.length<=0&&(this.NavList=["全部","待付款","待发货","待收货","已完成","待领取"])},getOrderList:function(e,t){var r=new Map([["cashier",["plugin.store-cashier.frontend.Order.list","plugin.store-cashier.frontend.Order.list.waitPay","plugin.store-cashier.frontend.Order.list.Completed"]],["store",["plugin.store-cashier.frontend.store.center.order-list.index","plugin.store-cashier.frontend.store.center.order-list.waitPay","plugin.store-cashier.frontend.store.center.order-list.waitSend","plugin.store-cashier.frontend.store.center.order-list.waitReceive","plugin.store-cashier.frontend.store.center.order-list.Completed"]],["supplier",["plugin.supplier.frontend.order.index","plugin.supplier.frontend.order.wait-pay","plugin.supplier.frontend.order.wait-send","plugin.supplier.frontend.order.wait-receive","plugin.supplier.frontend.order.completed"]],["hotel",["plugin.hotel.frontend.hotel.list","plugin.hotel.frontend.hotel.list.wait-pay","plugin.hotel.frontend.hotel.list.wait-send","plugin.hotel.frontend.hotel.list.wait-enter","plugin.hotel.frontend.hotel.list.completed"]],["hotel_center",["plugin.hotel.frontend.hotel.center.order-list","plugin.hotel.frontend.hotel.center.order-list.wait-pay","plugin.hotel.frontend.hotel.center.order-list.wait-send","plugin.hotel.frontend.hotel.center.order-list.wait-enter","plugin.hotel.frontend.hotel.center.order-list.completed","plugin.hotel.frontend.hotel.center.order-list.check-out"]],["hotelcashier",["plugin.hotel.frontend.Order.list","plugin.hotel.frontend.Order.list.waitPay","plugin.hotel.frontend.Order.list.Completed"]],["lease_toy",["plugin.lease-toy.api.order.order-list.index","plugin.lease-toy.api.order.order-list.wait-pay","plugin.lease-toy.api.order.order-list.wait-send","plugin.lease-toy.api.order.order-list.wait-receive","plugin.lease-toy.api.order.order-list.wait-refund","plugin.lease-toy.api.order.order-list.completed"]],["groups",["plugin.fight-groups.frontend.controllers.list.index","plugin.fight-groups.frontend.controllers.list.waitPay","plugin.fight-groups.frontend.controllers.list.grouping","plugin.fight-groups.frontend.controllers.list.waitSend","plugin.fight-groups.frontend.controllers.list.waitReceive","plugin.fight-groups.frontend.controllers.list.completed"]],["ywmgroups",["plugin.ywm-fight-groups.frontend.controllers.list.index","plugin.ywm-fight-groups.frontend.controllers.list.waitPay","plugin.ywm-fight-groups.frontend.controllers.list.grouping","plugin.ywm-fight-groups.frontend.controllers.list.waitSend","plugin.ywm-fight-groups.frontend.controllers.list.waitReceive","plugin.ywm-fight-groups.frontend.controllers.list.completed"]],["subsidiary",["plugin.subsidiary.frontend.order.index","plugin.subsidiary.frontend.order.wait-pay","plugin.subsidiary.frontend.order.wait-send","plugin.subsidiary.frontend.order.wait-receive","plugin.subsidiary.frontend.order.completed"]],["auctioneer",["plugin.auction.api.auctioneer-order","plugin.auction.api.auctioneer-order.waitPay","plugin.auction.api.auctioneer-order.waitSend","plugin.auction.api.auctioneer-order.waitReceive","plugin.auction.api.auctioneer-order.completed"]],["auction",["plugin.auction.api.auction-order","plugin.auction.api.auction-order.waitPay","plugin.auction.api.auction-order.waitSend","plugin.auction.api.auction-order.waitReceive","plugin.auction.api.auction-order.completed"]],["grabGroup",["plugin.snatch-regiment.api.order.grouping","plugin.snatch-regiment.api.order.waitPay","plugin.snatch-regiment.api.order.waitSend","plugin.snatch-regiment.api.order.waitReceive","plugin.snatch-regiment.api.order.completed"]],["groupWork",["plugin.group-work.frontend.modules.order.controllers.records.index","plugin.group-work.frontend.modules.order.controllers.records.waitPay","plugin.group-work.frontend.modules.order.controllers.records.waitSend","plugin.group-work.frontend.modules.order.controllers.records.waitReceive","plugin.group-work.frontend.modules.order.controllers.records.completed"]],["warehouseTakeDelivery",["plugin.warehouse.frontend.controllers.takeDelivery.order","plugin.warehouse.frontend.controllers.takeDelivery.order.waitPay","plugin.warehouse.frontend.controllers.takeDelivery.order.waitSend","plugin.warehouse.frontend.controllers.takeDelivery.order.waitReceive","plugin.warehouse.frontend.controllers.takeDelivery.order.completed"]],["warehousePurchasing",["plugin.warehouse.frontend.controllers.purchasing.order.index","plugin.warehouse.frontend.controllers.purchasing.order.waitPay","plugin.warehouse.frontend.controllers.purchasing.order.completed","plugin.warehouse.frontend.controllers.purchasing.order.cancelled"]],["stock",["plugin.order-inventory.frontend.order-list.get-inventory-list"]],["ysSystem",["plugin.ys-system.frontend.history-order.index"]]]),i=["order.list","order.list.waitPay","order.list.waitSend","order.list.waitReceive","order.list.Completed","order.list.waitLimit"],a=[];a=r.has(this.orderType)?r.get(this.orderType):i;try{"cashier"==this.orderType?this.action=this.NavApi[e]||a[e]:this.action=a[e]}catch(o){}"newRetail"==this.orderType&&(this.action="plugin.new-retail.frontend.orderData.getList"),"storeMang"==this.orderType&&(this.action="plugin.shop-assistant.frontend.order.order-list"),this.overSelected.indexOf(this.selected)<0||0==this.selected?(this.overSelected.push(this.selected),this.getNetData(this.action,e)):"refresh"===t&&this.getNetData(this.action,e)},toDetail:function(e){this.$router.push(this.fun.getUrl("orderdetail",{order_id:e.id,isDetail:!0,orderType:"supplier"}))},cofirmOrderAction:function(e){0==this.selected||"pay"==e?this.getOrderList(this.selected,"refresh"):this.dataList.waitReceiveList.splice(this.dataList.waitReceiveList.indexOf(e),1)},toMultiplePay:function(){this.$router.push(this.fun.getUrl("orderpay",{status:2,order_ids:encodeURI(this.order_ids)}))},multiplePayAction:function(e){this.order_ids=e,e.length>0?this.isMultiplePay=!0:this.isMultiplePay=!1},getNetData:function(e,t){var r=this,i=this;if("supplier"==this.orderType)$http.post(e,{page:1,keyword:this.keywords},"正在获取订单").then((function(e){if(1===e.result){i["isLoadMore".concat(t)]=!0;var r=e.data;i["total_page".concat(t)]=e.data.last_page,i["total_page".concat(t)]||(i["total_page".concat(t)]=0),i.selectIndexData(t,r.data),i.isLoading=!1,e.basic_info&&(localStorage.setItem("consolidated_payment","1"==e.basic_info.consolidated_payment),this.consolidated_payment="1"==e.basic_info.consolidated_payment)}else if(i.isLoading=!1,e.data.url)return i.$notify(e.msg),window.location.href=e.data.url,0}),(function(e){}));else if("hotel"==this.orderType||"hotel_center"==this.orderType)$http.get(e,{page:1},"正在获取订单").then((function(e){if(1===e.result){i["isLoadMore".concat(t)]=!0;var a=e.data;i["total_page".concat(t)]=e.data.last_page,i["total_page".concat(t)]||(i["total_page".concat(t)]=0),e.basic_info&&(localStorage.setItem("consolidated_payment","1"==e.basic_info.consolidated_payment),r.consolidated_payment="1"==e.basic_info.consolidated_payment),i.selectIndexData(t,a.data),i.isLoading=!1}})).catch((function(e){}));else{var a={page:1,keyword:this.keywords};if("newRetail"==this.orderType){var o="";switch(Number(t)){case 0:o=5;break;case 1:o=4;break;case 2:o=1;break;case 3:o=2;break;case 4:o=3;break;default:o=5}a={page:1,"search[keyword]":this.keywords,"search[order_status]":o}}if("storeMang"==this.orderType){var s=["","wait_pay","wait_send","wait_receive","completed"];a={page:1,"search[search_type]":this.keywordType,"search[keyword]":this.keywords,status:s[t]}}this.$route.params.member_type&&(a.debt_shop_member_type=this.$route.params.member_type,a.debtor_id=this.$route.params.debtId),$http.get(e,a,"正在获取订单").then((function(e){if(1===e.result){i["isLoadMore".concat(t)]=!0;var r=e.data;i["total_page".concat(t)]=e.data.last_page,i["total_page".concat(t)]||(i["total_page".concat(t)]=0),i.custom_receipt_confirmation_html=e.data.receipt_goods_notice,e.basic_info&&(localStorage.setItem("consolidated_payment","1"==e.basic_info.consolidated_payment),i.consolidated_payment="1"==e.basic_info.consolidated_payment),i.selectIndexData(t,r.data),i.isLoading=!1}}),(function(e){}))}},selectIndexData:function(e,t){var r=this;0==e?r.dataList.orderList=t:1==e?r.dataList.waitPayList=t:2==e?r.dataList.waitSendList=t:3==e?r.dataList.waitReceiveList=t:4==e?r.dataList.waitCompleteList=t:5==e?"undefined"===typeof a||null==a||""===a?r.dataList.waitLimitList=t:r.dataList.waitRefund=t:6==e&&(r.dataList.alreadyComplete=t)},getMoreData:function(){var e=this;if(e["isLoadMore".concat(e.selected)]=!1,!(e["page".concat(e.selected)]>=e["total_page".concat(e.selected)])){e["page".concat(e.selected)]=e["page".concat(e.selected)]+1;var t={page:e["page".concat(e.selected)],keyword:this.keywords};if("newRetail"==this.orderType){var r="";switch(Number(index)){case 0:r=5;break;case 1:r=4;break;case 2:r=1;break;case 3:r=2;break;case 4:r=3;break;default:r=5}t={page:e["page".concat(e.selected)],"search[keyword]":this.keywords,"search[order_status]":r}}if("storeMang"==this.orderType){var i=["","wait_pay","wait_send","wait_receive","completed"];t={page:e["page".concat(e.selected)],"search[search_type]":this.keywordType,"search[keyword]":this.keywords,status:i[this.selected]}}$http.get(this.action,t,"正在获取更多订单").then((function(t){if(e["isLoadMore".concat(e.selected)]=!0,1!=t.result)return e["page".concat(e.selected)]=e["page".concat(e.selected)]-1,void(e["isLoadMore".concat(e.selected)]=!1);var r=t.data;0==e.selected?e.dataList.orderList=e.dataList.orderList.concat(r.data):1==e.selected?e.dataList.waitPayList=e.dataList.waitPayList.concat(r.data):2==e.selected?e.dataList.waitSendList=e.dataList.waitSendList.concat(r.data):3==e.selected?e.dataList.waitReceiveList=e.dataList.waitReceiveList.concat(r.data):4==e.selected?e.dataList.waitCompleteList=e.dataList.waitCompleteList.concat(r.data):5==e.selected?e.dataList.waitRefund=e.dataList.waitRefund.concat(r.data):6==e.selected&&(e.dataList.alreadyComplete=e.dataList.alreadyComplete.concat(r.data))}),(function(e){}))}},getCustomizeHotelHead:function(){var e=this;if("hotel"==this.$route.params.orderType){var t=localStorage.getItem("customizeHotelHead");if(this.fun.isTextEmpty(t))$http.get("plugin.hotel.frontend.hotel.get-hotel-info.get-custom-name",{},"加载中...").then((function(t){1==t.result&&(e.fun.setWXTitle(t.data.hotels+"订单"),localStorage.setItem("customizeHotelHead",JSON.stringify(t.data)))})).catch((function(e){}));else{var r=JSON.parse(localStorage.getItem("customizeHotelHead"));this.fun.setWXTitle(r.hotels+"订单")}}},getScrollTop:function(){var e=0;return d&&d.scrollTop?e=d.scrollTop:l&&(e=l.scrollTop),e},getClientHeight:function(){var e=0;return e=l.clientHeight&&d.clientHeight?Math.min(l.clientHeight,d.clientHeight):Math.max(l.clientHeight,d.clientHeight),e},getScrollHeight:function(){return Math.max(l.scrollHeight,d.scrollHeight)},handleScroll:function(){"shop"==this.orderType&&(this.getScrollTop()<80?this.amout=!1:this.amout=!0),this.getScrollTop()+this.getClientHeight()+105>this.getScrollHeight()&&this["isLoadMore".concat(this.selected)]&&this.getMoreData()}},computed:{setNavList:function(){return this.NavList}},created:function(){this.last_status=this.selected},mounted:function(){this.getCustomizeHotelHead()},beforeRouteLeave:function(e,t,r){e.name===this.detailUrl||"o2oStore_v2"===e.name||"SupplierShop"===e.name?window.order_keep=!0:window.order_keep=!1,r()},deactivated:function(){window.removeEventListener("scroll",this.handleScroll)},activated:function(){window.addEventListener("scroll",this.handleScroll),window.order_keep||(this.initData(),window.scrollTo(0,0),this.checkType(),this.getOrderList(this.selected))},components:{cTitle:s["a"],cOrderList:n["a"]}},c=p,h=c,u=(r("95ef"),r("2877")),g=Object(u["a"])(h,i,o,!1,null,"67e8b5d0",null);t["default"]=g.exports},b79e:function(e,t,r){var i=r("24fb");t=i(!1),t.push([e.i,".osll[data-v-67e8b5d0]{min-height:100vh}.contes[data-v-67e8b5d0]{z-index:98;position:fixed;bottom:0;width:100%;height:2.8125rem;background:#fff;line-height:2.8125rem;border-top:.0625rem solid #e2e2e2;text-align:right}.contes button[data-v-67e8b5d0]{height:2rem;line-height:2rem;border:.0625rem solid #f15353;background:#f15353;border-radius:25px;margin:.15rem .875rem auto 0;color:#fff;padding:0 .625rem}.pcStyle .contes[data-v-67e8b5d0]{width:375px!important}.loadNomore img[data-v-67e8b5d0]{width:20%}#payment .mint-navbar.is-fixed[data-v-67e8b5d0]{top:40px}.search[data-v-67e8b5d0]{position:fixed;top:40px;left:0;width:100%;z-index:98;padding:5px 0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;background:#fff;border-bottom:.0625rem solid #f5f5f5}.search[data-v-67e8b5d0],.search .search-box[data-v-67e8b5d0]{line-height:30px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.search .search-box[data-v-67e8b5d0]{position:relative;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;width:90%;margin:0 auto;padding:0;height:30px}.search .search-box[data-v-67e8b5d0] .left-select{max-width:4.3rem}.search .search-box[data-v-67e8b5d0] .left-select .el-input input{border:none;padding:0}.search .search-box[data-v-67e8b5d0] .left-select .el-select-dropdown{position:absolute!important;min-width:none;width:auto!important}.search .search-box[data-v-67e8b5d0] .left-select .el-select-dropdown__item{padding:0 1.5625rem;font-size:.75rem;color:#545454}.search .search-box .right-search[data-v-67e8b5d0]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;line-height:28px;margin-left:.8rem;background-color:#f2f2f2;border-radius:.875rem}.search .search-box .right-search form[data-v-67e8b5d0]{padding-right:1.4rem}.search .search-box .right-search .input[data-v-67e8b5d0]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:100%;line-height:28px;border:none;color:#333;text-align:left;padding-left:1rem;background-color:transparent}.search .search-box .right-search i[data-v-67e8b5d0]{position:absolute;right:1rem;-webkit-box-flex:0;-webkit-flex:0 0 1.5rem;-ms-flex:0 0 1.5rem;flex:0 0 1.5rem}.search.pcStyle[data-v-67e8b5d0]{width:375px;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}",""]),e.exports=t}}]);