canyin-project/ybcy/views/channel/index20240524/static/js/chunk-4fffa7ef.975c7267.js
2024-11-01 16:07:54 +08:00

1 line
43 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([["chunk-4fffa7ef"],{"07f4":function(t,e,a){},"199c":function(t,e,a){"use strict";var r=a("07f4"),s=a.n(r);s.a},"39af":function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"ba_f outmain"},[t._m(0),a("div",{staticClass:"main-icon flex t_l mar_t20"},[a("div",{staticClass:"flex-1 t_l pad_20 borderBG mar_r20"},[a("div",{staticClass:"flex-bet flex-y-top"},[a("div",[a("p",{staticClass:"color_9 fon_14"},[t._v("营业总额(元)")]),a("p",{staticClass:"fon_30 title35 lh16 pad_tb_20 wei"},[t._v(t._s(t.billinfoData.allMoney||0))])])])]),a("div",{staticClass:"flex-1 t_l pad_20 borderBG mar_r20"},[a("div",{staticClass:"flex-bet flex-y-top"},[a("div",[a("p",{staticClass:"color_9 fon_14"},[t._v("预计收入(元)")]),a("p",{staticClass:"fon_30 title35 lh16 pad_tb_20 wei"},[t._v(t._s(t.billinfoData.allEstimate||0))])])])]),a("div",{staticClass:"flex-1 t_l pad_20 borderBG mar_r20"},[a("div",{staticClass:"flex-bet flex-y-top"},[a("div",[a("p",{staticClass:"color_9 fon_14"},[t._v("有效订单(单)")]),a("p",{staticClass:"fon_30 title35 lh16 pad_tb_20 wei"},[t._v(t._s(t.billinfoData.allEffective||0))])])])]),a("div",{staticClass:"flex-1 t_l pad_20 borderBG"},[a("div",{staticClass:"flex-bet flex-y-top"},[a("div",[a("p",{staticClass:"color_9 fon_14"},[t._v("无效订单(单)")]),a("p",{staticClass:"fon_30 title35 lh16 pad_tb_20 wei"},[t._v(t._s(t.billinfoData.allInvalidCount||0))])])])])])]),a("div",{staticClass:"ba_f outmain mar_t20"},[a("div",{staticClass:"shuju_title"},[t._m(1),a("div",{staticClass:"fon_14 ab r0 mar_r10 color_9"},[t._v("查询日期:"+t._s(t.time))])]),a("div",{staticClass:"mar_t20"},[a("el-tabs",{attrs:{type:"card"},on:{"tab-click":t.handleTabClick},model:{value:t.activeName1,callback:function(e){t.activeName1=e},expression:"activeName1"}},[a("el-tab-pane",{attrs:{label:"外卖统计",name:"wmtj"}}),a("el-tab-pane",{attrs:{label:"店内统计",name:"dntj"}}),a("el-tab-pane",{attrs:{label:"当面付统计",name:"dmftj"}})],1)],1),a("div",{staticClass:"main-icon flex t_l mar_t20"},[a("div",{staticClass:"flex-1 t_l pad_20 borderBG mar_r20"},[a("div",{staticClass:"flex-bet flex-y-top"},[a("div",[a("p",{staticClass:"color_9 fon_14"},[t._v("营业总额")]),a("p",{staticClass:"fon_30 title35 lh16 pad_tb_20 wei"},[t._v(t._s(t.billinfoData.money||0))]),a("div",{staticClass:"flex"},[a("p",{staticClass:"fon_12 color_9"},[t._v("快餐:"+t._s(t.billinfoData.fastMoney||0)+" ")]),a("p",{staticClass:"fon_12 color_9 mar_l20"},[t._v("堂食:"+t._s(t.billinfoData.inStoreMoney||0)+" ")])])])])]),a("div",{staticClass:"flex-1 t_l pad_20 borderBG mar_r20"},[a("div",{staticClass:"flex-bet flex-y-top"},[a("div",[a("p",{staticClass:"color_9 fon_14"},[t._v("平台补贴金额")]),a("p",{staticClass:"fon_30 title35 lh16 pad_tb_20 wei"},[t._v(t._s(t.billinfoData.subsidy||0))]),a("div",{staticClass:"flex"},[a("p",{staticClass:"fon_12 color_9"},[t._v("快餐:"+t._s(t.billinfoData.fastSubsidy||0)+" ")]),a("p",{staticClass:"fon_12 color_9 mar_l20"},[t._v("堂食:"+t._s(t.billinfoData.inStoreSubsidy||0)+" ")])])])])]),a("div",{staticClass:"flex-1 t_l pad_20 borderBG mar_r20"},[a("div",{staticClass:"flex-bet flex-y-top"},[a("div",[a("p",{staticClass:"color_9 fon_14"},[t._v("平台服务费")]),a("p",{staticClass:"fon_30 title35 lh16 pad_tb_20 wei"},[t._v(t._s(t.billinfoData.service||0))]),a("div",{staticClass:"flex"},[a("p",{staticClass:"fon_12 color_9"},[t._v("快餐:"+t._s(t.billinfoData.fastService||0)+" ")]),a("p",{staticClass:"fon_12 color_9 mar_l20"},[t._v("堂食:"+t._s(t.billinfoData.inStoreService||0)+" ")])])])])]),a("div",{staticClass:"flex-1 t_l pad_20 borderBG"},[a("div",{staticClass:"flex-bet flex-y-top"},[a("div",[a("p",{staticClass:"color_9 fon_14"},[t._v("预计收入")]),a("p",{staticClass:"fon_30 title35 lh16 pad_tb_20 wei"},[t._v(t._s(t.billinfoData.income||0))]),a("div",{staticClass:"flex"},[a("p",{staticClass:"fon_12 color_9"},[t._v("快餐:"+t._s(t.billinfoData.fastIncome||0)+" ")]),a("p",{staticClass:"fon_12 color_9 mar_l20"},[t._v("堂食:"+t._s(t.billinfoData.inStoreIncome||0)+" ")])])])])])]),a("div",{staticClass:"main-icon flex t_l mar_t20"},[a("div",{staticClass:"flex-1 t_l pad_20 borderBG mar_r20"},[a("div",{staticClass:"flex-bet flex-y-top"},[a("div",[a("p",{staticClass:"color_9 fon_14"},[t._v("有效订单数")]),a("p",{staticClass:"fon_30 title35 lh16 pad_tb_20 wei"},[t._v(t._s(t.billinfoData.effective||0))]),a("div",{staticClass:"flex"},[a("p",{staticClass:"fon_12 color_9"},[t._v("快餐:"+t._s(t.billinfoData.fastEffective||0)+" ")]),a("p",{staticClass:"fon_12 color_9 mar_l20"},[t._v("堂食:"+t._s(t.billinfoData.inStoreEffective||0)+" ")])])])])]),a("div",{staticClass:"flex-1 t_l pad_20 borderBG mar_r20"},[a("div",{staticClass:"flex-bet flex-y-top"},[a("div",[a("p",{staticClass:"color_9 fon_14"},[t._v("取消/售后订单")]),a("p",{staticClass:"fon_30 title35 lh16 pad_tb_20 wei "},[t._v(t._s(t.billinfoData.refundNum||0))]),a("div",{staticClass:"flex"},[a("p",{staticClass:"fon_12 color_9"},[t._v("快餐:"+t._s(t.billinfoData.fastInvalidCount||0)+" ")]),a("p",{staticClass:"fon_12 color_9 mar_l20"},[t._v("堂食:"+t._s(t.billinfoData.inStoreInvalidCount||0)+" ")])])])])])]),a("div",{staticClass:"main-icon flex t_l mar_t20"}),a("div",{staticClass:"ba_f mar_t20"},[a("div",{staticClass:"flex-bet"},[t._m(2),a("div",["2"==t.inActiveName?a("a",{staticClass:"mar_l10",attrs:{href:t.handelExport()}},[a("el-button",{attrs:{size:"medium",type:"primary"}},[t._v("导出快餐")])],1):t._e(),"3"==t.inActiveName?a("a",{staticClass:"mar_l10",attrs:{href:t.handelExport2()}},[a("el-button",{attrs:{size:"medium",type:"primary"}},[t._v("导出堂食")])],1):t._e()])]),a("el-tabs",{on:{"tab-click":t.inHandleClick},model:{value:t.inActiveName,callback:function(e){t.inActiveName=e},expression:"inActiveName"}},[a("el-tab-pane",{attrs:{label:"快餐",name:"2"}}),a("el-tab-pane",{attrs:{label:"堂食",name:"3"}})],1),a("div",{directives:[{name:"show",rawName:"v-show",value:"2"==t.inActiveName,expression:"inActiveName=='2'"}]},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticClass:"mar_t20",staticStyle:{width:"100%"},attrs:{"element-loading-text":t.elementLoadingText,data:t.list2,stripe:""},on:{"selection-change":t.setSelectRows2}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),a("el-table-column",{attrs:{prop:"takeNo",label:"订单序号"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"fon_12 wei"},[a("span",[t._v("#"+t._s(e.row.takeNo))])])]}}])}),a("el-table-column",{attrs:{label:"订单来源"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex"},["1"==e.row.origin?a("span",[a("el-tag",{attrs:{effect:"dark",size:"mini",type:"success"}},[t._v("微信小程序")])],1):t._e(),"2"==e.row.origin?a("span",[a("el-tag",{attrs:{effect:"dark",size:"mini",type:"success"}},[t._v("微信公众号")])],1):t._e(),"3"==e.row.origin?a("span",[a("el-tag",{attrs:{effect:"dark",size:"mini",type:"info"}},[t._v("支付宝小程序")])],1):t._e(),"4"==e.row.origin?a("span",[a("el-tag",{attrs:{effect:"dark",size:"mini",type:"danger"}},[t._v("百度小程序")])],1):t._e(),"5"==e.row.origin?a("span",[a("el-tag",{attrs:{effect:"dark",size:"mini"}},[t._v("收银台下单")])],1):t._e()])]}}])}),a("el-table-column",{attrs:{prop:"originMoney",label:"应收金额"}}),a("el-table-column",{attrs:{prop:"discountMoney",label:"优惠金额"}}),a("el-table-column",{attrs:{prop:"money",label:"实付金额"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"color-green wei"},[t._v("+¥"+t._s(e.row.money))]),a("div",{staticClass:"fon_12"},[a("span",[t._v(t._s(e.row.payModeName))])])]}}])}),a("el-table-column",{attrs:{prop:"serviceMoney",label:"平台服务费"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"color-red wei"},[t._v("-¥"+t._s(e.row.serviceMoney))])]}}])}),a("el-table-column",{attrs:{prop:"payModeName",label:"预计收入"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"color-green wei"},[t._v("+¥"+t._s(e.row.storeActualMoney))])]}}])}),a("el-table-column",{attrs:{prop:"state",label:"订单状态"},scopedSlots:t._u([{key:"default",fn:function(e){return["2"==e.row.state?a("div",{staticClass:"color-red"},[a("el-tag",{attrs:{type:"dager",size:"mini"}},[t._v("待接单")])],1):t._e(),"3"==e.row.state?a("div",{staticClass:"color-orange"},[a("el-tag",{attrs:{type:"warning",size:"mini"}},[t._v("制作中")])],1):t._e(),"4"==e.row.state?a("div",{staticClass:"color-green"},[a("el-tag",{attrs:{type:"success",size:"mini"}},[t._v("已完成")])],1):t._e(),"5"==e.row.state?a("div",{staticClass:"color_9"},[a("el-tag",{attrs:{type:"info",size:"mini"}},[t._v("已取消")])],1):t._e(),"6"==e.row.state?a("div",{staticClass:"color-red"},[a("el-tag",{attrs:{type:"dager",size:"mini"}},[t._v("申请退款")])],1):t._e(),"7"==e.row.state&&"1"==e.row.refundType?a("div",{staticClass:"color-red"},[a("el-tag",{attrs:{type:"info",size:"mini"}},[t._v("用户申请退款通过")])],1):t._e(),"7"==e.row.state&&"2"==e.row.refundType?a("div",{staticClass:"color-red"},[a("el-tag",{attrs:{type:"info",size:"mini"}},[t._v("商家退款")])],1):t._e(),"8"==e.row.state?a("div",{staticClass:"color-red"},[a("el-tag",{attrs:{type:"info",size:"mini"}},[t._v("拒绝退款")])],1):t._e(),"9"==e.row.state?a("div",{staticClass:"color-red"},[a("el-tag",{attrs:{type:"info",size:"mini"}},[t._v("商户拒单并退款")])],1):t._e()]}}])}),a("el-table-column",{attrs:{prop:"zc",label:"分账操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex"},[a("span",{directives:[{name:"show",rawName:"v-show",value:"1"==e.row.profitSharingMsgState,expression:"scope.row.profitSharingMsgState == '1'"}],staticStyle:{color:"#489620"}},[t._v("已分账")]),a("span",{directives:[{name:"show",rawName:"v-show",value:"2"==e.row.profitSharingMsgState,expression:"scope.row.profitSharingMsgState == '2'"}],staticStyle:{color:"#489620"}},[t._v("已完结分账")]),a("span",{directives:[{name:"show",rawName:"v-show",value:"3"==e.row.profitSharingMsgState,expression:"scope.row.profitSharingMsgState == '3'"}],staticStyle:{color:"#489620"}},[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.handelfz(e.row.orderId)}}},[t._v("完结分账")])],1),a("span",{directives:[{name:"show",rawName:"v-show",value:"0"==e.row.profitSharingMsgState,expression:"scope.row.profitSharingMsgState == '0'"}]},[t._v("--")])])]}}])}),a("el-table-column",{attrs:{prop:"zc",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex"},[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.handelDetail(e.row.outTradeNo,3)}}},[t._v("查看详情")])],1)]}}])})],1),a("el-pagination",{attrs:{background:"",layout:"prev, pager, next",total:t.page2.total,"page-size":t.page2.pagesize,"current-page":t.page2.currentPage},on:{"update:currentPage":function(e){return t.$set(t.page2,"currentPage",e)},"update:current-page":function(e){return t.$set(t.page2,"currentPage",e)},"current-change":t.handleCurrentChange2}})],1),a("div",{directives:[{name:"show",rawName:"v-show",value:"3"==t.inActiveName,expression:"inActiveName=='3'"}]},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticClass:"mar_t20",staticStyle:{width:"100%"},attrs:{"element-loading-text":t.elementLoadingText,data:t.list3,stripe:""},on:{"selection-change":t.setSelectRows3}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),a("el-table-column",{attrs:{prop:"takeNo",label:"订单序号"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"fon_12"},[a("span",[t._v("#"+t._s(e.row.takeNo))])])]}}])}),a("el-table-column",{attrs:{label:"订单来源"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex"},["1"==e.row.origin?a("span",[a("el-tag",{attrs:{effect:"dark",size:"mini",type:"success"}},[t._v("微信小程序")])],1):t._e(),"2"==e.row.origin?a("span",[a("el-tag",{attrs:{effect:"dark",size:"mini",type:"success"}},[t._v("微信公众号")])],1):t._e(),"3"==e.row.origin?a("span",[a("el-tag",{attrs:{effect:"dark",size:"mini",type:"info"}},[t._v("支付宝小程序")])],1):t._e(),"4"==e.row.origin?a("span",[a("el-tag",{attrs:{effect:"dark",size:"mini",type:"danger"}},[t._v("百度小程序")])],1):t._e(),"5"==e.row.origin?a("span",[a("el-tag",{attrs:{effect:"dark",size:"mini"}},[t._v("收银台下单")])],1):t._e()])]}}])}),a("el-table-column",{attrs:{prop:"originMoney",label:"应收金额"}}),a("el-table-column",{attrs:{prop:"discountMoney",label:"优惠金额"}}),a("el-table-column",{attrs:{prop:"createdAt",label:"实付金额"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"color-green wei"},[t._v("+"+t._s(e.row.storeActualMoney))]),a("div",{staticClass:"fon_12"},[a("span",[t._v(t._s(e.row.payModeName))])])]}}])}),a("el-table-column",{attrs:{prop:"serviceMoney",label:"平台服务费"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"color-red wei"},[t._v("-¥"+t._s(e.row.serviceMoney))])]}}])}),a("el-table-column",{attrs:{prop:"payModeName",label:"预计收入"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"color-green wei"},[t._v("+¥"+t._s(e.row.storeActualMoney))])]}}])}),a("el-table-column",{attrs:{prop:"state",label:"订单状态"},scopedSlots:t._u([{key:"default",fn:function(e){return["3"==e.row.state&&"1"==e.row.eatType||"3"==e.row.state&&"2"==e.row.eatType?a("div",{staticClass:"color-green"},[a("el-tag",{attrs:{type:"success",size:"mini"}},[t._v("已完成")])],1):t._e(),"2"==e.row.state&&"1"==e.row.eatType||"2"==e.row.state&&"2"==e.row.eatType?a("div",{staticClass:"color-orange"},[a("el-tag",{attrs:{type:"warning",size:"mini"}},[t._v("就餐中")])],1):t._e(),"1"==e.row.state&&"1"==e.row.eatType?a("div",{staticClass:"color-red"},[a("el-tag",{attrs:{type:"dager",size:"mini"}},[t._v("待付款")])],1):t._e(),"1"==e.row.state&&"2"==e.row.eatType?a("div",{staticClass:"color-red"},[a("el-tag",{attrs:{type:"dager",size:"mini"}},[t._v("待接单")])],1):t._e(),"4"==e.row.state?a("div",{staticClass:"color_9"},[a("el-tag",{attrs:{type:"info",size:"mini"}},[t._v("已取消")])],1):t._e(),"5"==e.row.state?a("div",{staticClass:"color_9"},[a("el-tag",{attrs:{type:"info",size:"mini"}},[t._v("已退款")])],1):t._e()]}}])}),a("el-table-column",{attrs:{prop:"zc",label:"分账操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex"},[a("span",{directives:[{name:"show",rawName:"v-show",value:"1"==e.row.profitSharingMsgState,expression:"scope.row.profitSharingMsgState == '1'"}],staticStyle:{color:"#489620"}},[t._v("已分账")]),a("span",{directives:[{name:"show",rawName:"v-show",value:"2"==e.row.profitSharingMsgState,expression:"scope.row.profitSharingMsgState == '2'"}],staticStyle:{color:"#489620"}},[t._v("已完结分账")]),a("span",{directives:[{name:"show",rawName:"v-show",value:"3"==e.row.profitSharingMsgState,expression:"scope.row.profitSharingMsgState == '3'"}],staticStyle:{color:"#489620"}},[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.handelfz(e.row.orderId)}}},[t._v("完结分账")])],1),a("span",{directives:[{name:"show",rawName:"v-show",value:"0"==e.row.profitSharingMsgState,expression:"scope.row.profitSharingMsgState == '0'"}]},[t._v("--")])])]}}])}),a("el-table-column",{attrs:{prop:"zc",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex"},[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.handelDetail(e.row.outTradeNo,2)}}},[t._v("查看详情")])],1)]}}])})],1),a("el-pagination",{attrs:{background:"",layout:"prev, pager, next",total:t.page3.total,"page-size":t.page3.pagesize,"current-page":t.page3.currentPage},on:{"update:currentPage":function(e){return t.$set(t.page3,"currentPage",e)},"update:current-page":function(e){return t.$set(t.page3,"currentPage",e)},"current-change":t.handleCurrentChange3}})],1)],1)]),a("edit",{ref:"edit"})],1)},s=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"shuju_title mar_b20"},[a("div",{staticClass:"shuju_title_text"},[a("span",[t._v("账户概况")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"shuju_title_text"},[a("span",[t._v("交易概况")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"shuju_title mar_b20"},[a("div",{staticClass:"shuju_title_text"},[a("span",[t._v("订单概况")])])])}],i=(a("99af"),a("96cf"),a("1da1")),n=a("48fb"),o=a("9cde"),l=a("365c"),c=(a("ed08"),a("90ac")),d={components:{Edit:c["a"]},created:function(){this.$route.query.time&&(this.time=this.$route.query.time,this.storeId=this.$route.query.storeId,this.inStoreBillInfo(),this.billInStoreOrderInfo2())},data:function(){return{activeName1:"dntj",inActiveName:"2",time:"",storeId:"",billinfoData:{inStoreCashierData:{},inStoreFastData:{},inStoreData:{}},accountInfo:{},list:[],list2:[],list3:[],listLoading:!1,selectRows:"",selectRows2:"",selectRows3:"",elementLoadingText:"正在加载...",page:{total:0,size:10,currentPage:1},page2:{total:0,size:10,currentPage:1},page3:{total:0,size:10,currentPage:1}}},methods:{handleTabClick:function(){"wmtj"==this.activeName1?this.$router.push("/financerecordDetail?time=".concat(this.time,"&storeId=").concat(this.storeId)):"dntj"==this.activeName1?this.$router.push("/infinancerecordDetail?time=".concat(this.time,"&storeId=").concat(this.storeId)):"dmftj"==this.activeName1&&this.$router.push("/cashfinancerecordDetail?time=".concat(this.time,"&storeId=").concat(this.storeId))},inStoreBillInfo:function(){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function e(){var a,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t.time){e.next=6;break}return e.next=3,Object(n["e"])({time:t.time,storeId:t.storeId,type:"2"});case 3:a=e.sent,r=a.data,t.billinfoData=r;case 6:case"end":return e.stop()}}),e)})))()},inHandleClick:function(){"1"==this.inActiveName?this.billInStoreOrderInfo():"2"==this.inActiveName?this.billInStoreOrderInfo2():"3"==this.inActiveName&&this.billInStoreOrderInfo3()},billInStoreOrderInfo:function(){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function e(){var a,r,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(n["d"])({time:t.time,page:t.page.currentPage,storeId:t.storeId,type:"1"});case 2:a=e.sent,r=a.data,s=a.count,t.list=r,t.page.total=s;case 7:case"end":return e.stop()}}),e)})))()},billInStoreOrderInfo2:function(){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function e(){var a,r,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(n["d"])({time:t.time,page:t.page2.currentPage,storeId:t.storeId,type:"2"});case 2:a=e.sent,r=a.data,s=a.count,t.list2=r,t.page2.total=s;case 7:case"end":return e.stop()}}),e)})))()},billInStoreOrderInfo3:function(){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function e(){var a,r,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(n["d"])({time:t.time,page:t.page3.currentPage,storeId:t.storeId,type:"3"});case 2:a=e.sent,r=a.data,s=a.count,t.list3=r,t.page3.total=s;case 7:case"end":return e.stop()}}),e)})))()},handleCurrentChange:function(t){this.page.currentPage=t,this.billInStoreOrderInfo()},handleCurrentChange2:function(t){this.page2.currentPage=t,this.billInStoreOrderInfo2()},handleCurrentChange3:function(t){this.page3.currentPage=t,this.billInStoreOrderInfo3()},setSelectRows:function(t){this.selectRows=t},setSelectRows2:function(t){this.selectRows2=t},setSelectRows3:function(t){this.selectRows3=t},handelfz:function(t){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function a(){var r,s;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,Object(n["x"])({orderId:t,type:"2"});case 2:r=a.sent,s=r.msg,e.$baseMessage(s,"success"),e.getBillOrderInfo();case 6:case"end":return a.stop()}}),a)})))()},handleprint:function(t){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function a(){var r,s;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(!t.orderId){a.next=9;break}return a.next=3,Object(o["d"])({orderId:t.orderId});case 3:r=a.sent,s=r.msg,e.$baseMessage(s,"success"),e.billInStoreOrderInfo(),a.next=10;break;case 9:e.$baseMessage("订单错误","error");case 10:case"end":return a.stop()}}),a)})))()},handleprint2:function(t){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function a(){var r,s;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(!t.orderId){a.next=9;break}return a.next=3,Object(o["A"])({orderId:t.orderId,type:"print"});case 3:r=a.sent,s=r.msg,e.$baseMessage(s,"success"),e.billInStoreOrderInfo2(),a.next=10;break;case 9:e.$baseMessage("订单错误","error");case 10:case"end":return a.stop()}}),a)})))()},handleprint3:function(t){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function a(){var r,s;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(!t.orderId){a.next=9;break}return a.next=3,Object(o["B"])({orderId:t.orderId,type:"print"});case 3:r=a.sent,s=r.msg,e.$baseMessage(s,"success"),e.billInStoreOrderInfo3(),a.next=10;break;case 9:e.$baseMessage("订单错误","error");case 10:case"end":return a.stop()}}),a)})))()},handelExport:function(){var t=l["a"].backendPath;return t+"channel/store-bill/bill-in-store-order-info?action=export&page="+this.page2.currentPage+"&time"+this.time+"&storeId="+this.storeId+"&type=2"},handelExport2:function(){var t=l["a"].backendPath;return t+"channel/store-bill/bill-in-store-order-info?action=export&page="+this.page3.currentPage+"&time"+this.time+"&storeId="+this.storeId+"&type=3"},handelDetail:function(t,e){t&&this.$refs["edit"].showEdit(t,e)}}},u=d,_=a("2877"),f=Object(_["a"])(u,r,s,!1,null,null,null);e["default"]=f.exports},"3bbe":function(t,e,a){var r=a("861d");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},7156:function(t,e,a){var r=a("861d"),s=a("d2bb");t.exports=function(t,e,a){var i,n;return s&&"function"==typeof(i=e.constructor)&&i!==a&&r(n=i.prototype)&&n!==a.prototype&&s(t,n),t}},"90ac":function(t,e,a){"use strict";var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ddxq"},[a("el-dialog",{attrs:{title:"订单详情",visible:t.dialogFormVisible,width:"75%","close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogFormVisible=e}}},[a("div",[a("el-form",{ref:"form",attrs:{model:t.form,"label-width":"120px"}},[a("div",{staticClass:"flex-bet flex-y-top"},[a("div",{staticClass:"bflex-4"},[a("div",{staticClass:"shuju_title"},[a("div",{staticClass:"shuju_title_text"},[a("span",[t._v("订单信息")])])]),a("div",{staticClass:"formBox"},[a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[t._v("订单类型:")]),a("div",[a("span",[a("el-tag",{attrs:{size:"mini",type:"success"}},[t._v(t._s(t.orderDetail.originName))])],1)])]),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[t._v("下单渠道:")]),a("div",[a("span",[a("el-tag",{attrs:{size:"mini",type:"success"}},[t._v(t._s(t.orderDetail.platformName))])],1)])]),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[t._v("用户信息:")]),a("div",[t._v(t._s(t.orderDetail.userName)+"UID"+t._s(t.orderDetail.userId)+"")])]),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[t._v("下单时间:")]),a("div",[t._v(t._s(t.orderDetail.createdAt))])]),4!=t.type&&5!=t.type?a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[t._v("订单序号:")]),a("div",[t._v("#"+t._s(t.orderDetail.takeNo))])]):t._e(),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[t._v("订单编号:")]),a("div",[t._v(t._s(t.orderDetail.outTradeNo))])]),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[t._v("实付金额:")]),a("div",{staticClass:"wei color-red"},[t._v("+¥"+t._s(t.orderDetail.money))])]),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[t._v("支付状态:")]),a("div",{staticClass:"flex flex-center"},[a("div",{staticClass:"color-green"},[a("el-tag",{attrs:{type:"success",size:"mini"}},[t._v("已支付")])],1)])]),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[t._v("付款方式:")]),a("div",[a("span",[a("el-tag",{attrs:{size:"mini",type:"success"}},[t._v(t._s(t.orderDetail.payModeName))])],1)])]),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[t._v("订单状态:")]),a("div",{staticClass:"flex flex-center"},["1"==t.type?a("div",["5"==t.orderDetail.state||"6"==t.orderDetail.state?a("span",{staticStyle:{color:"#489620"}},[a("el-tag",{attrs:{type:"success",size:"mini"}},[t._v("已完成")])],1):t._e(),"2"==t.orderDetail.state||"3"==t.orderDetail.state||"4"==t.orderDetail.state?a("span",{staticStyle:{color:"#155BD4"}},[a("el-tag",{attrs:{size:"mini"}},[t._v("待完成")])],1):t._e(),"9"==t.orderDetail.state?a("span",{staticStyle:{color:"#df0029"}},[a("el-tag",{attrs:{type:"danger",size:"mini"}},[t._v("退款待处理")])],1):t._e(),"8"==t.orderDetail.state||"10"==t.orderDetail.state?a("span",{staticStyle:{color:"#df0029"}},[a("el-tag",{attrs:{type:"info",size:"mini"}},[t._v("已退款")])],1):t._e()]):t._e(),"3"==t.type?a("div",["2"==t.orderDetail.state?a("div",{staticClass:"color-red"},[a("el-tag",{attrs:{type:"dager",size:"mini"}},[t._v("待接单")])],1):t._e(),"3"==t.orderDetail.state?a("div",{staticClass:"color-orange"},[a("el-tag",{attrs:{type:"warning",size:"mini"}},[t._v("制作中")])],1):t._e(),"4"==t.orderDetail.state?a("div",{staticClass:"color-green"},[a("el-tag",{attrs:{type:"success",size:"mini"}},[t._v("已完成")])],1):t._e(),"5"==t.orderDetail.state?a("div",{staticClass:"color_9"},[a("el-tag",{attrs:{type:"info",size:"mini"}},[t._v("已取消")])],1):t._e(),"6"==t.orderDetail.state?a("div",{staticClass:"color-red"},[a("el-tag",{attrs:{type:"dager",size:"mini"}},[t._v("申请退款")])],1):t._e(),"7"==t.orderDetail.state&&"1"==t.orderDetail.refundType?a("div",{staticClass:"color-red"},[a("el-tag",{attrs:{type:"info",size:"mini"}},[t._v("用户申请退款通过")])],1):t._e(),"7"==t.orderDetail.state&&"2"==t.orderDetail.refundType?a("div",{staticClass:"color-red"},[a("el-tag",{attrs:{type:"info",size:"mini"}},[t._v("商家退款")])],1):t._e(),"8"==t.orderDetail.state?a("div",{staticClass:"color-red"},[a("el-tag",{attrs:{type:"info",size:"mini"}},[t._v("拒绝退款")])],1):t._e(),"9"==t.orderDetail.state?a("div",{staticClass:"color-red"},[a("el-tag",{attrs:{type:"info",size:"mini"}},[t._v("商户拒单并退款")])],1):t._e()]):t._e(),"2"==t.type?a("div",["3"==t.orderDetail.state&&"1"==t.orderDetail.eatType||"3"==t.orderDetail.state&&"2"==t.orderDetail.eatType?a("div",{staticClass:"color-green"},[a("el-tag",{attrs:{type:"success",size:"mini"}},[t._v("已完成")])],1):t._e(),"2"==t.orderDetail.state&&"1"==t.orderDetail.eatType||"2"==t.orderDetail.state&&"2"==t.orderDetail.eatType?a("div",{staticClass:"color-orange"},[a("el-tag",{attrs:{type:"warning",size:"mini"}},[t._v("就餐中")])],1):t._e(),"1"==t.orderDetail.state&&"1"==t.orderDetail.eatType?a("div",{staticClass:"color-red"},[a("el-tag",{attrs:{type:"dager",size:"mini"}},[t._v("待付款")])],1):t._e(),"1"==t.orderDetail.state&&"2"==t.orderDetail.eatType?a("div",{staticClass:"color-red"},[a("el-tag",{attrs:{type:"dager",size:"mini"}},[t._v("待接单")])],1):t._e(),"4"==t.orderDetail.state?a("div",{staticClass:"color_9"},[a("el-tag",{attrs:{type:"info",size:"mini"}},[t._v("已取消")])],1):t._e(),"5"==t.orderDetail.state?a("div",{staticClass:"color_9"},[a("el-tag",{attrs:{type:"info",size:"mini"}},[t._v("已退款")])],1):t._e()]):t._e(),"4"==t.type||"5"==t.type?a("div",[a("span",{staticStyle:{color:"#489620"}},[a("el-tag",{attrs:{type:"success",size:"mini"}},[t._v("已完成")])],1)]):t._e()])]),"2"==t.type?a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[t._v("就餐时间:")]),t.orderDetail.completeAt&&t.orderDetail.payAt?a("div",[t._v(" "+t._s(t.timeStamp(t.orderDetail.completeAt-t.orderDetail.receiptAt))+" ")]):t._e()]):t._e(),"2"==t.type||"3"==t.type?a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[t._v("就餐模式:")]),a("div",{staticClass:"flex"},["1"==t.orderDetail.eatType?a("div",[t._v("先结账后用餐")]):t._e(),"2"==t.orderDetail.eatType?a("div",[t._v("先用餐后结账")]):t._e()])]):t._e(),"3"==t.type?a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[t._v("消费方式:")]),a("div",["1"==t.orderDetail.isOut?a("div",{staticClass:"type2"},[t._v("店内就餐")]):t._e(),"2"==t.orderDetail.isOut?a("div",{staticClass:"type2"},[t._v("打包带走")]):t._e()])]):t._e(),"1"==t.type?a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[t._v("下单人信息:")]),a("div",[t._v(t._s(t.orderDetail.receivedName)+" "+t._s(t.orderDetail.receivedTel))])]):t._e(),"1"==t.type?a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft flex-g-0"},[t._v("配送地址:")]),a("div",{staticClass:"lh25 flex-g-1"},[t._v(t._s(t.orderDetail.receivedAddress))])]):t._e(),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[t._v("备注:")]),a("div",[t._v(t._s(t.orderDetail.userNote||"无"))])])]),1==t.type?a("div",{staticClass:"shuju_title mar_t10"},[a("div",{staticClass:"shuju_title_text"},[a("span",[t._v("配送信息")])])]):t._e(),1==t.type?a("div",{staticClass:"formBox"},[a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[t._v("配送方式:")]),a("div",{staticClass:"txsq flex"},["1"==t.orderDetail.deliveryMode?a("div",{staticClass:"pad_r_60"},[t._v("商户配送")]):t._e(),"2"==t.orderDetail.deliveryMode?a("div",{staticClass:"pad_r_60"},[t._v("达达配送")]):t._e(),"3"==t.orderDetail.deliveryMode?a("div",{staticClass:"pad_r_60"},[t._v("点我达配送")]):t._e(),"4"==t.orderDetail.deliveryMode?a("div",{staticClass:"pad_r_60"},[t._v("码科配送")]):t._e(),"5"==t.orderDetail.deliveryMode?a("div",{staticClass:"pad_r_60"},[t._v("顺丰配送")]):t._e(),"6"==t.orderDetail.deliveryMode?a("div",{staticClass:"pad_r_60"},[t._v("蜂鸟配送")]):t._e(),"7"==t.orderDetail.deliveryMode?a("div",{staticClass:"pad_r_60"},[t._v("闪送配送")]):t._e(),"10"==t.orderDetail.deliveryMode?a("div",{staticClass:"pad_r_60"},[t._v("自提")]):t._e()])]),t.orderDetail.deliveryInfo&&t.orderDetail.deliveryInfo.riderName?a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[t._v("配送员:")]),a("div",{},[t._v(t._s(t.orderDetail.deliveryInfo.riderName))])]):t._e(),t.orderDetail.deliveryInfo&&t.orderDetail.deliveryInfo.riderTel?a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[t._v("手机号:")]),a("div",{},[t._v(t._s(t.orderDetail.deliveryInfo.riderTel))])]):t._e()]):t._e()]),a("div",{staticClass:"bflex-6 mar_l20"},[a("div",{staticClass:"shuju_title"},[a("div",{staticClass:"shuju_title_text"},[a("span",[t._v("订单费用")])])]),a("div",{staticClass:"formBox"},["4"!=t.type&&"5"!=t.type?a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[t._v("商品价格:")]),a("div",{staticClass:"wei color-green"},[t._v("+¥"+t._s(t.orderDetail.originMoney)),"1"==t.type?a("span",{staticClass:"color_9"},[t._v("(注:商品折扣:¥"+t._s(t.orderDetail.vipDiscount)+"")]):t._e()])]):t._e(),"1"==t.type?a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[t._v("包装费:")]),a("div",{staticClass:"wei color-green"},[t._v("+¥"+t._s(t.orderDetail.boxMoney))])]):t._e(),"1"==t.type?a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[t._v("配送费:")]),a("div",{staticClass:"wei color-green"},[t._v("+¥"+t._s(t.orderDetail.deliveryMoney))])]):t._e(),"4"!=t.type&&"5"!=t.type?a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[t._v("优惠:")]),a("div",{staticClass:"wei color-red"},[t._v("-¥"+t._s(t.orderDetail.discountMoney)),a("span",{staticClass:"color_9"},[t._v("(注:满减:¥"+t._s(t.orderDetail.preferentialMoney)+",优惠券:¥"+t._s(t.orderDetail.couponPreferential)+"")])])]):t._e(),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[t._v("平台服务费:")]),a("div",{staticClass:"wei color-red"},[t._v("-¥"+t._s(t.orderDetail.serviceMoney)),"1"==t.type?a("span",{staticClass:"color_9"},[t._v("(注:商品:¥"+t._s(t.orderDetail.serviceGoodMoney)+",包装费:¥"+t._s(t.orderDetail.serviceBoxMoney)+",配送费:¥"+t._s(t.orderDetail.serviceDeliveryMoney)+"")]):t._e()])]),"4"!=t.type&&"5"!=t.type?a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[t._v("平台补贴:")]),a("div",{staticClass:"wei color-green"},[t._v("+¥"+t._s(t.orderDetail.subsidy))])]):t._e(),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[t._v("商户实际收入:")]),a("div",{staticClass:"wei color-green"},[t._v("+¥"+t._s(t.orderDetail.storeActualMoney)),a("span",{staticClass:"color-red"},[t._v("(本单顾客实际支付:¥"+t._s(t.orderDetail.money)+"")])])])]),"4"!=t.type&&"5"!=t.type?a("div",{staticClass:"shuju_title mar_t10"},[a("div",{staticClass:"shuju_title_text"},[a("span",[t._v("商品信息")])])]):t._e(),"4"!=t.type&&"5"!=t.type?a("div",{staticClass:"formBox"},[a("el-table",{staticClass:"tablecenter",staticStyle:{width:"100%"},attrs:{data:t.orderDetail.goodsArr,stripe:"",height:"300"}},[a("el-table-column",{attrs:{prop:"name",label:"商品名称"}}),a("el-table-column",{attrs:{prop:"goodsId",label:"商品ID"}}),a("el-table-column",{attrs:{prop:"num",label:"数量"}}),a("el-table-column",{attrs:{prop:"money",label:"小计(元)"}})],1)],1):t._e()])])])],1)])],1)},s=[],i=(a("96cf"),a("1da1")),n=a("48fb"),o={name:"labelSave",created:function(){},data:function(){return{form:{id:"",name:"",sort:"1",color:"#ed4014"},orderDetail:{},title:"",type:"",dialogFormVisible:!1,list:[]}},components:{},methods:{showEdit:function(t,e){var a=this;return Object(i["a"])(regeneratorRuntime.mark((function r(){var s,i;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(!t){r.next=8;break}return a.title="编辑",a.type=e,r.next=5,Object(n["k"])({outTradeNo:t,type:e});case 5:s=r.sent,i=s.data,a.orderDetail=i;case 8:a.dialogFormVisible=!0;case 9:case"end":return r.stop()}}),r)})))()},close:function(){this.$refs["form"].resetFields(),this.form=this.$options.data().form,this.dialogFormVisible=!1},timeStamp:function(t){var e=parseInt(t)+"秒";if(parseInt(t)>60){var a=parseInt(t)%60,r=parseInt(t/60);if(e=r+"分"+a+"秒",r>60){r=parseInt(t/60)%60;var s=parseInt(parseInt(t/60)/60);if(e=s+"小时"+r+"分"+a+"秒",s>24){s=parseInt(parseInt(t/60)/60)%24;var i=parseInt(parseInt(parseInt(t/60)/60)/24);e=i+"天"+s+"小时"+r+"分"+a+"秒"}}}return e},save:function(){var t=this;this.$refs["form"].validate(function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(a){var r,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){e.next=10;break}return e.next=3,labelSave(t.form);case 3:r=e.sent,s=r.msg,t.$baseMessage(s,"success"),t.$emit("fetchData"),t.close(),e.next=11;break;case 10:return e.abrupt("return",!1);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}}},l=o,c=(a("199c"),a("2877")),d=Object(c["a"])(l,r,s,!1,null,null,null);e["a"]=d.exports},"9cde":function(t,e,a){"use strict";a.d(e,"F",(function(){return s})),a.d(e,"n",(function(){return i})),a.d(e,"z",(function(){return n})),a.d(e,"a",(function(){return o})),a.d(e,"x",(function(){return l})),a.d(e,"J",(function(){return c})),a.d(e,"l",(function(){return d})),a.d(e,"H",(function(){return u})),a.d(e,"p",(function(){return _})),a.d(e,"C",(function(){return f})),a.d(e,"K",(function(){return p})),a.d(e,"I",(function(){return v})),a.d(e,"q",(function(){return m})),a.d(e,"v",(function(){return b})),a.d(e,"D",(function(){return g})),a.d(e,"b",(function(){return h})),a.d(e,"e",(function(){return y})),a.d(e,"c",(function(){return C})),a.d(e,"d",(function(){return w})),a.d(e,"G",(function(){return x})),a.d(e,"o",(function(){return D})),a.d(e,"t",(function(){return S})),a.d(e,"i",(function(){return I})),a.d(e,"g",(function(){return O})),a.d(e,"h",(function(){return j})),a.d(e,"j",(function(){return M})),a.d(e,"A",(function(){return N})),a.d(e,"k",(function(){return k})),a.d(e,"s",(function(){return z})),a.d(e,"u",(function(){return A})),a.d(e,"y",(function(){return L})),a.d(e,"B",(function(){return T})),a.d(e,"f",(function(){return R})),a.d(e,"r",(function(){return E})),a.d(e,"m",(function(){return $})),a.d(e,"w",(function(){return P})),a.d(e,"E",(function(){return B}));var r=a("b775");function s(t){return Object(r["a"])({url:"channel/in-store/save-area",method:"post",data:t})}function i(t){return Object(r["a"])({url:"channel/in-store/save-area",method:"get",params:t})}function n(t){return Object(r["a"])({url:"channel/in-store/modify-area",method:"post",data:t})}function o(t){return Object(r["a"])({url:"channel/in-store/area-list",method:"get",params:t})}function l(t){return Object(r["a"])({url:"channel/in-store/goods-type",method:"get",params:t})}function c(t){return Object(r["a"])({url:"channel/in-store/table-list",method:"get",params:t})}function d(t){return Object(r["a"])({url:"channel/in-store/get-area",method:"get",params:t})}function u(t){return Object(r["a"])({url:"channel/in-store/save-table",method:"post",data:t})}function _(t){return Object(r["a"])({url:"channel/in-store/save-table",method:"get",params:t})}function f(t){return Object(r["a"])({url:"channel/in-store/modify-table",method:"post",data:t})}function p(t){return Object(r["a"])({url:"channel/in-store/type-list",method:"get",params:t})}function v(t){return Object(r["a"])({url:"channel/in-store/save-type",method:"post",data:t})}function m(t){return Object(r["a"])({url:"channel/in-store/save-type",method:"get",params:t})}function b(t){return Object(r["a"])({url:"channel/in-store/get-type",method:"get",params:t})}function g(t){return Object(r["a"])({url:"channel/in-store/modify-type",method:"post",data:t})}function h(t){return Object(r["a"])({url:"channel/in-store/batch-table",method:"post",data:t})}function y(t){return Object(r["a"])({url:"channel/in-store/cashier-statistics",method:"get",params:t})}function C(t){return Object(r["a"])({url:"channel/in-store/cashier-order-list",method:"get",params:t})}function w(t){return Object(r["a"])({url:"channel/in-store/cashier-print",method:"post",data:t})}function x(t){return Object(r["a"])({url:"channel/in-store/save-code",method:"post",data:t})}function D(t){return Object(r["a"])({url:"channel/in-store/save-code",method:"get",params:t})}function S(t){return Object(r["a"])({url:"channel/in-store/get-table",method:"get",params:t})}function I(t){return Object(r["a"])({url:"channel/in-store/establish-code",method:"post",data:t})}function O(t){return Object(r["a"])({url:"channel/in-store/code-list",method:"get",params:t})}function j(t){return Object(r["a"])({url:"channel/in-store/del-code",method:"post",data:t})}function M(t){return Object(r["a"])({url:"channel/in-store/fast-order-list",method:"get",params:t})}function N(t){return Object(r["a"])({url:"channel/in-store/modify-fast-order",method:"post",data:t})}function k(t){return Object(r["a"])({url:"channel/screen/fast-screen",method:"post",data:t})}function z(t){return Object(r["a"])({url:"channel/in-store/get-store-code",method:"get",params:t})}function A(t){return Object(r["a"])({url:"channel/in-store/table-order",method:"get",params:t})}function L(t){return Object(r["a"])({url:"channel/in-store/in-store-order-list",method:"get",params:t})}function T(t){return Object(r["a"])({url:"channel/in-store/modify-in-store-order",method:"post",data:t})}function R(t){return Object(r["a"])({url:"channel/in-store/clean-table",method:"post",data:t})}function E(t){return Object(r["a"])({url:"channel/in-store/statistics",method:"get",params:t})}function $(t){return Object(r["a"])({url:"channel/pay-vip/order-statistics",method:"get",params:t})}function P(t){return Object(r["a"])({url:"channel/pay-vip/order-list",method:"get",params:t})}function B(t){return Object(r["a"])({url:"channel/in-store/out-order-list",method:"get",params:t})}},a9e3:function(t,e,a){"use strict";var r=a("83ab"),s=a("da84"),i=a("94ca"),n=a("6eeb"),o=a("5135"),l=a("c6b6"),c=a("7156"),d=a("c04e"),u=a("d039"),_=a("7c73"),f=a("241c").f,p=a("06cf").f,v=a("9bf2").f,m=a("58a8").trim,b="Number",g=s[b],h=g.prototype,y=l(_(h))==b,C=function(t){var e,a,r,s,i,n,o,l,c=d(t,!1);if("string"==typeof c&&c.length>2)if(c=m(c),e=c.charCodeAt(0),43===e||45===e){if(a=c.charCodeAt(2),88===a||120===a)return NaN}else if(48===e){switch(c.charCodeAt(1)){case 66:case 98:r=2,s=49;break;case 79:case 111:r=8,s=55;break;default:return+c}for(i=c.slice(2),n=i.length,o=0;o<n;o++)if(l=i.charCodeAt(o),l<48||l>s)return NaN;return parseInt(i,r)}return+c};if(i(b,!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var w,x=function(t){var e=arguments.length<1?0:t,a=this;return a instanceof x&&(y?u((function(){h.valueOf.call(a)})):l(a)!=b)?c(new g(C(e)),a,x):C(e)},D=r?f(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;D.length>S;S++)o(g,w=D[S])&&!o(x,w)&&v(x,w,p(g,w));x.prototype=h,h.constructor=x,n(s,b,x)}},bf19:function(t,e,a){"use strict";var r=a("23e7");r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},d2bb:function(t,e,a){var r=a("825a"),s=a("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,a={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(a,[]),e=a instanceof Array}catch(i){}return function(a,i){return r(a),s(i),e?t.call(a,i):a.__proto__=i,a}}():void 0)},ed08:function(t,e,a){"use strict";a.d(e,"a",(function(){return r})),a.d(e,"b",(function(){return s})),a.d(e,"c",(function(){return i}));a("a9e3"),a("ac1f"),a("5319"),a("bf19");function r(t){var e=new Date(t).toJSON(),a=new Date(+new Date(e)+288e5).toISOString().replace(/T/g," ").replace(/\.[\d]{3}Z/,"");return a}function s(t){var e=new Date(t),a=e.getFullYear(),r=e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1,s=e.getDate()<10?"0"+e.getDate():e.getDate(),i=e.getHours()<10?"0"+e.getHours():e.getHours(),n=e.getMinutes()<10?"0"+e.getMinutes():e.getMinutes(),o=e.getSeconds()<10?"0"+e.getSeconds():e.getSeconds();return a+"-"+r+"-"+s+" "+i+":"+n+":"+o}function i(t){var e=new Date(1e3*Number(t)),a=e.getFullYear()+"-",r=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",s=(e.getDate()<10?"0"+e.getDate():e.getDate())+" ",i=(e.getHours()<10?"0"+e.getHours():e.getHours())+":",n=(e.getMinutes()<10?"0"+e.getMinutes():e.getMinutes())+":",o=e.getSeconds()<10?"0"+e.getSeconds():e.getSeconds(),l=a+r+s+i+n+o;return l}}}]);