1 line
24 KiB
JavaScript
1 line
24 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2afab675"],{"3bbe":function(e,t,a){var r=a("861d");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"61b9":function(e,t,a){"use strict";var r=a("9e84"),n=a.n(r);n.a},6998:function(e,t,a){"use strict";var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{},[a("el-dialog",{attrs:{title:e.title,visible:e.dialogFormVisible,width:"55%","close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t},close:e.close}},[a("div",{},[a("el-form",{ref:"form",attrs:{model:e.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",[e._v("订单信息")])])]),a("div",{staticClass:"formBox"},[a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("订单类型:")]),a("div",[a("span",[a("el-tag",{attrs:{size:"mini",type:"success"}},[e._v("预约订单")])],1)])]),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("订单号:"+e._s(e.orderDetail.outTradeNo))]),a("div")]),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("提交时间:")]),a("div",[e._v(e._s(e.orderDetail.createdAt))])]),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("订单渠道:")]),a("div",["1"==e.orderDetail.origin?a("span",[a("el-tag",{attrs:{size:"mini",type:"success"}},[e._v("微信小程序")])],1):e._e(),"2"==e.orderDetail.origin?a("span",[a("el-tag",{attrs:{size:"mini",type:"success"}},[e._v("微信公众号")])],1):e._e(),"3"==e.orderDetail.origin?a("span",[a("el-tag",{attrs:{size:"mini",type:"success"}},[e._v("支付宝小程序")])],1):e._e(),"4"==e.orderDetail.origin?a("span",[a("el-tag",{attrs:{size:"mini",type:"success"}},[e._v("百度小程序")])],1):e._e(),"5"==e.orderDetail.origin?a("span",[a("el-tag",{attrs:{size:"mini",type:"success"}},[e._v("H5")])],1):e._e(),"6"==e.orderDetail.origin?a("span",[a("el-tag",{attrs:{size:"mini",type:"success"}},[e._v("PC")])],1):e._e(),"7"==e.orderDetail.origin?a("span",[a("el-tag",{attrs:{size:"mini",type:"success"}},[e._v("头条小程序")])],1):e._e()])]),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("用户信息:")]),a("div",[e._v(e._s(e.orderDetail.systemUserName)+"(UID:"+e._s(e.orderDetail.userId)+")")])]),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("订单状态:")]),a("div",{staticClass:"flex flex-center"},[a("div",["1"==e.orderDetail.state?a("div",[a("el-tag",{attrs:{size:"mini"}},[e._v("待确认")])],1):e._e(),"2"==e.orderDetail.state?a("div",[a("el-tag",{attrs:{size:"mini",type:"info"}},[e._v("待确认")])],1):e._e(),"3"==e.orderDetail.state?a("div",[a("el-tag",{attrs:{size:"mini",type:"success"}},[e._v("预约通过")])],1):e._e(),"4"==e.orderDetail.state?a("div",[a("el-tag",{attrs:{size:"mini",type:"danger"}},[e._v("已拒绝")])],1):e._e(),"5"==e.orderDetail.state?a("div",[a("el-tag",{attrs:{size:"mini",type:"info"}},[e._v("已核销")])],1):e._e(),"6"==e.orderDetail.state?a("div",[a("el-tag",{attrs:{size:"mini",type:"info"}},[e._v("已取消")])],1):e._e()])])])])]),a("div",{staticClass:"bflex-6 mar_l20"},[a("div",{staticClass:"shuju_title"},[a("div",{staticClass:"shuju_title_text"},[a("span",[e._v("预约详情")])])]),a("div",{staticClass:"formBox"},[a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("联系人:"+e._s(e.orderDetail.userName)+" / "+e._s(e.orderDetail.sex))]),a("div")]),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("预留电话:"+e._s(e.orderDetail.userTel))]),a("div")]),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("预约位置:")]),a("div",{},[e._v(e._s(e.orderDetail.regionName))])]),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("就餐人数:")]),a("div",{},[e._v(e._s(e.orderDetail.people))])]),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("到店时间:")]),a("div",{staticClass:"color-red"},[e._v(e._s(e.orderDetail.serviceDay)+" "+e._s(e.orderDetail.serviceTime))])]),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("预付定金:")]),a("div",{staticClass:"flex"},[e._v(e._s(e.orderDetail.money)+" ( "),"1"==e.orderDetail.payMode?a("div",[e._v("微信支付")]):e._e(),"2"==e.orderDetail.payMode?a("div",[e._v("支付宝支付")]):e._e(),"3"==e.orderDetail.payMode?a("div",[e._v("百度支付")]):e._e(),"4"==e.orderDetail.payMode?a("div",[e._v("微信支付")]):e._e(),"5"==e.orderDetail.payMode?a("div",[e._v("余额支付")]):e._e(),"0"==e.orderDetail.payMode?a("div",[e._v("--")]):e._e(),e._v(") ")])]),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("订单备注:"+e._s(e.orderDetail.note||"无"))]),a("div")])])])])])],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{size:"medium"},on:{click:e.close}},[e._v("取 消")]),a("el-button",{attrs:{size:"medium",type:"primary"},on:{click:e.save}},[e._v("确 定")])],1)])],1)},n=[],s=(a("96cf"),a("1da1")),i={name:"goodlistedit",created:function(){},data:function(){return{form:{id:"",sort:"1",name:"",min:"",max:"",minute:""},orderDetail:{},title:"",type:1,dialogFormVisible:!1,qjjl:[],qjjl2:[]}},components:{},methods:{showEdit:function(e){var t=this;return Object(s["a"])(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:e?(t.title="预约记录",t.orderDetail=Object.assign({},e)):t.title="添加",t.dialogFormVisible=!0;case 2:case"end":return a.stop()}}),a)})))()},close:function(){this.dialogFormVisible=!1},setStoreId:function(e){this.form.storeId=e},save:function(){this.dialogFormVisible=!1}}},o=i,c=a("2877"),l=Object(c["a"])(o,r,n,!1,null,null,null);t["a"]=l.exports},7156:function(e,t,a){var r=a("861d"),n=a("d2bb");e.exports=function(e,t,a){var s,i;return n&&"function"==typeof(s=t.constructor)&&s!==a&&r(i=s.prototype)&&i!==a.prototype&&n(e,i),e}},78941:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"outmain ba_f"},[a("div",{staticClass:"ba_f"},[a("el-tabs",{attrs:{type:"card"},on:{"tab-click":e.handleClick3},model:{value:e.activeName3,callback:function(t){e.activeName3=t},expression:"activeName3"}},[a("el-tab-pane",{attrs:{label:"预约订单",name:"storeappointmentlist"}}),a("el-tab-pane",{attrs:{label:"全部订单",name:"storeappointmentorder"}}),a("el-tab-pane",{attrs:{label:"预约设置",name:"storeappointmentstoreset"}})],1)],1),e._m(0),a("div",{},[a("el-form",{staticClass:"demo-form-inline",attrs:{inline:!1,model:e.form,"label-width":"130px"}},[a("div",[a("el-form-item",{attrs:{label:"关键字搜索"}},[a("el-input",{attrs:{size:"medium",placeholder:"请输入订单号/联系人/电话/核销码"},on:{input:e.selectType},model:{value:e.form.keyword,callback:function(t){e.$set(e.form,"keyword",t)},expression:"form.keyword"}})],1)],1),e.day?e._e():a("div",{staticClass:"flex ba_f"},[a("el-form-item",{attrs:{label:"查询日期:"}},[a("div",{staticClass:"flex-bet"},[a("div",[a("el-radio-group",{on:{change:e.selectType},model:{value:e.form.timeType,callback:function(t){e.$set(e.form,"timeType",t)},expression:"form.timeType"}},[a("el-radio-button",{attrs:{label:"1"}},[e._v("今天")]),a("el-radio-button",{attrs:{label:"2"}},[e._v("近七天")]),a("el-radio-button",{attrs:{label:"3"}},[e._v("近十五天")]),a("el-radio-button",{attrs:{label:"4"}},[e._v("自定义时间")])],1),"4"==e.form.timeType?a("span",{staticClass:"mar_l20"},[a("el-date-picker",{attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",format:"yyyy年MM月dd日"},on:{change:e.selectType},model:{value:e.form.time,callback:function(t){e.$set(e.form,"time",t)},expression:"form.time"}})],1):e._e()],1)])])],1),e.day?a("div",[a("el-tabs",{attrs:{type:"card"},on:{"tab-click":e.handleClick},model:{value:e.activeName2,callback:function(t){e.activeName2=t},expression:"activeName2"}},[e._l(e.areaList,(function(t){return[a("el-tab-pane",{attrs:{label:t.name,name:t.id}},[a("template",{slot:"label"},[e._v(e._s(t.name)),a("el-badge",{attrs:{value:t.orderNum}})],1)],2)]}))],2)],1):e._e()])],1),a("div",{staticClass:"mar_t20"},[a("el-tabs",{on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"全部",name:"0"}}),a("el-tab-pane",{attrs:{label:"待确认/已确认",name:"1"}}),a("el-tab-pane",{attrs:{label:"已取消/已拒绝",name:"2"}}),a("el-tab-pane",{attrs:{label:"已完成",name:"3"}})],1)],1),a("div",{staticClass:"tabledata tableys"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:e.list,"element-loading-text":e.elementLoadingText,stripe:""}},[a("el-table-column",{attrs:{type:"selection"}}),a("el-table-column",{attrs:{label:"用户信息",width:"300"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex"},[a("div",{staticClass:"flex-col t_l"},[a("div",[e._v("联系人:"+e._s(t.row.userName)+"("+e._s(t.row.sex)+")")]),a("div",[e._v("预留电话:"+e._s(t.row.userTel))])])])]}}])}),a("el-table-column",{attrs:{label:"预约信息",width:"280"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex"},[a("div",{staticClass:"flex-col t_l"},[a("div",[e._v("预约位置:"+e._s(t.row.regionName))]),a("div",[e._v("就餐人数:"+e._s(t.row.people)+"人")]),a("div",[e._v("到店时间:"),a("span",{staticClass:"color-red"},[e._v(e._s(t.row.serviceDay)+" "+e._s(t.row.serviceTime))])])])])]}}])}),a("el-table-column",{attrs:{prop:"payMode",label:"预付定金"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[t.row.money>0?a("span",{staticClass:"color-green"},[e._v(e._s(t.row.money))]):e._e()]),"1"==t.row.payMode?a("div",[e._v("微信支付")]):e._e(),"2"==t.row.payMode?a("div",[e._v("支付宝支付")]):e._e(),"3"==t.row.payMode?a("div",[e._v("百度支付")]):e._e(),"4"==t.row.payMode?a("div",[e._v("微信支付")]):e._e(),"5"==t.row.payMode?a("div",[e._v("余额支付")]):e._e(),"0"==t.row.payMode?a("div",[e._v("--")]):e._e()]}}])}),a("el-table-column",{attrs:{label:"订单信息",width:"240"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[a("span",[e._v(e._s(t.row.outTradeNo))])]),a("div",[e._v(e._s(t.row.createdAt))])]}}])}),a("el-table-column",{attrs:{prop:"note",label:"订单备注"}}),a("el-table-column",{attrs:{label:"操作",width:"300"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex"},["2"==t.row.state?a("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(a){return e.operat(t.row.id,"adopt")}}},[e._v("预约通过")]):e._e(),"2"==t.row.state?a("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(a){return e.operat(t.row.id,"reject")}}},[t.row.money>0?a("span",[e._v("预约拒绝并退款")]):a("span",[e._v("预约拒绝")])]):e._e(),"3"==t.row.state?a("el-button",{staticClass:"blue2",attrs:{type:"primary",size:"mini"},on:{click:function(a){return e.operat(t.row.id,"confirmArrival")}}},[e._v("确认到店")]):e._e()],1),a("span",{directives:[{name:"show",rawName:"v-show",value:"4"==t.row.state,expression:"scope.row.state=='4'"}],staticStyle:{color:"#F56C6C"}},[a("el-tag",{attrs:{type:"danger",size:"mini"}},[e._v("已拒绝")])],1),a("span",{directives:[{name:"show",rawName:"v-show",value:"6"==t.row.state,expression:"scope.row.state=='6'"}],staticStyle:{color:"#909399"}},[a("el-tag",{attrs:{type:"info",size:"mini"}},[e._v("已取消")])],1),a("span",{directives:[{name:"show",rawName:"v-show",value:"5"==t.row.state,expression:"scope.row.state=='5'"}],staticStyle:{color:"#67C23A"}},[a("el-tag",{attrs:{type:"success",size:"mini"}},[e._v("已核销")])],1)]}}])}),a("el-table-column",{attrs:{label:"查看详情",width:"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex"},[a("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(a){return e.handleEdit2(t.row)}}},[e._v("查看详情")])],1)]}}])})],1),a("el-pagination",{attrs:{background:"",layout:"prev, pager, next",total:e.page.total,"page-size":e.page.pagesize,"current-page":e.page.currentPage},on:{"update:currentPage":function(t){return e.$set(e.page,"currentPage",t)},"update:current-page":function(t){return e.$set(e.page,"currentPage",t)},"current-change":e.handleCurrentChange}}),a("edit",{ref:"edit",on:{fetchData:e.fetchData}})],1)])},n=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"shuju_title mar_b20 mar_t20"},[a("div",{staticClass:"shuju_title_text"},[a("span",[e._v("全部订单")])])])}],s=(a("96cf"),a("1da1")),i=a("5530"),o=a("7cb7"),c=a("9cde"),l=a("6998"),u=a("2f62"),d=a("ed08"),f={components:{Edit:l["a"]},created:function(){this.$route.query.day&&(this.day=this.$route.query.day,this.fetchData2()),this.fetchData()},computed:Object(i["a"])({},Object(u["d"])(["storeId"])),data:function(){return{activeName3:"storeappointmentorder",form:{keyword:"",timeType:"1",time:[new Date,new Date]},list:[],listLoading:!1,activeName:"0",selectRows:"",elementLoadingText:"正在加载...",page:{total:0,size:10,currentPage:1},areaList:[],day:"",activeName2:""}},methods:{handleClick3:function(){"storeappointmentlist"==this.activeName3?this.$router.push({path:"storeappointmentlist"}):"storeappointmentorder"==this.activeName3?this.$router.push({path:"storeappointmentorder"}):"storeappointmentstoreset"==this.activeName3&&this.$router.push({path:"storeappointmentstoreset"})},fetchData:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){var a,r,n,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.listLoading=!0,a={page:e.page.currentPage,keyword:e.form.keyword,timeType:e.form.timeType,startTime:"4"==e.form.timeType&&e.form.time?Object(d["a"])(e.form.time[0]).substr(0,10):"",endTime:"4"==e.form.timeType&&e.form.time?Object(d["a"])(e.form.time[1]).substr(0,10):"",storeId:e.storeId,state:e.activeName,day:e.day,region:e.activeName2},t.next=4,Object(o["Oc"])(a);case 4:r=t.sent,n=r.data,s=r.count,e.list=n,e.page.total=s,e.listLoading=!1;case 10:case"end":return t.stop()}}),t)})))()},fetchData2:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){var a,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(c["l"])({orderNum:1,day:e.day,storeId:e.storeId});case 2:a=t.sent,r=a.data,e.areaList=r||[],r&&r[0]&&(e.activeName2=r?r[0].id:""),e.fetchData();case 7:case"end":return t.stop()}}),t)})))()},handleCurrentChange:function(e){this.page.currentPage=e,this.fetchData()},selectType:function(){this.fetchData()},handleEdit2:function(e){e.outTradeNo&&this.$refs["edit"].showEdit(e)},operat:function(e,t){var a=this;return Object(s["a"])(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:"adopt"==t?a.$baseConfirm("您确定通过此预约吗?",null,Object(s["a"])(regeneratorRuntime.mark((function r(){var n,s;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,Object(o["Pb"])({id:e,type:t,storeId:a.storeId});case 2:n=r.sent,s=n.msg,a.$baseMessage(s,"success"),a.fetchData();case 6:case"end":return r.stop()}}),r)})))):"reject"==t?a.$baseConfirm("您确定拒绝此预约吗?",null,Object(s["a"])(regeneratorRuntime.mark((function r(){var n,s;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,Object(o["Pb"])({id:e,type:t,storeId:a.storeId});case 2:n=r.sent,s=n.msg,a.$baseMessage(s,"success"),a.fetchData();case 6:case"end":return r.stop()}}),r)})))):"confirmArrival"==t?a.$baseConfirm("您确定此人已到店了吗?",null,Object(s["a"])(regeneratorRuntime.mark((function r(){var n,s;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,Object(o["Pb"])({id:e,type:t,storeId:a.storeId});case 2:n=r.sent,s=n.msg,a.$baseMessage(s,"success"),a.fetchData();case 6:case"end":return r.stop()}}),r)})))):(a.$baseMessage("敬请期待","success"),a.fetchData());case 1:case"end":return r.stop()}}),r)})))()},handleClick:function(){this.fetchData()},record:function(e){this.$router.push("/storagerecord?id=".concat(e.id))}}},p=f,m=(a("61b9"),a("2877")),v=Object(m["a"])(p,r,n,!1,null,"4b3e1bc6",null);t["default"]=v.exports},"9cde":function(e,t,a){"use strict";a.d(t,"F",(function(){return n})),a.d(t,"n",(function(){return s})),a.d(t,"z",(function(){return i})),a.d(t,"a",(function(){return o})),a.d(t,"x",(function(){return c})),a.d(t,"J",(function(){return l})),a.d(t,"l",(function(){return u})),a.d(t,"H",(function(){return d})),a.d(t,"p",(function(){return f})),a.d(t,"C",(function(){return p})),a.d(t,"K",(function(){return m})),a.d(t,"I",(function(){return v})),a.d(t,"q",(function(){return _})),a.d(t,"v",(function(){return b})),a.d(t,"D",(function(){return h})),a.d(t,"b",(function(){return g})),a.d(t,"e",(function(){return y})),a.d(t,"c",(function(){return w})),a.d(t,"d",(function(){return C})),a.d(t,"G",(function(){return j})),a.d(t,"o",(function(){return x})),a.d(t,"t",(function(){return O})),a.d(t,"i",(function(){return D})),a.d(t,"g",(function(){return N})),a.d(t,"h",(function(){return k})),a.d(t,"j",(function(){return I})),a.d(t,"A",(function(){return M})),a.d(t,"k",(function(){return T})),a.d(t,"s",(function(){return z})),a.d(t,"u",(function(){return L})),a.d(t,"y",(function(){return S})),a.d(t,"B",(function(){return E})),a.d(t,"f",(function(){return $})),a.d(t,"r",(function(){return R})),a.d(t,"m",(function(){return A})),a.d(t,"w",(function(){return F})),a.d(t,"E",(function(){return P}));var r=a("b775");function n(e){return Object(r["a"])({url:"channel/in-store/save-area",method:"post",data:e})}function s(e){return Object(r["a"])({url:"channel/in-store/save-area",method:"get",params:e})}function i(e){return Object(r["a"])({url:"channel/in-store/modify-area",method:"post",data:e})}function o(e){return Object(r["a"])({url:"channel/in-store/area-list",method:"get",params:e})}function c(e){return Object(r["a"])({url:"channel/in-store/goods-type",method:"get",params:e})}function l(e){return Object(r["a"])({url:"channel/in-store/table-list",method:"get",params:e})}function u(e){return Object(r["a"])({url:"channel/in-store/get-area",method:"get",params:e})}function d(e){return Object(r["a"])({url:"channel/in-store/save-table",method:"post",data:e})}function f(e){return Object(r["a"])({url:"channel/in-store/save-table",method:"get",params:e})}function p(e){return Object(r["a"])({url:"channel/in-store/modify-table",method:"post",data:e})}function m(e){return Object(r["a"])({url:"channel/in-store/type-list",method:"get",params:e})}function v(e){return Object(r["a"])({url:"channel/in-store/save-type",method:"post",data:e})}function _(e){return Object(r["a"])({url:"channel/in-store/save-type",method:"get",params:e})}function b(e){return Object(r["a"])({url:"channel/in-store/get-type",method:"get",params:e})}function h(e){return Object(r["a"])({url:"channel/in-store/modify-type",method:"post",data:e})}function g(e){return Object(r["a"])({url:"channel/in-store/batch-table",method:"post",data:e})}function y(e){return Object(r["a"])({url:"channel/in-store/cashier-statistics",method:"get",params:e})}function w(e){return Object(r["a"])({url:"channel/in-store/cashier-order-list",method:"get",params:e})}function C(e){return Object(r["a"])({url:"channel/in-store/cashier-print",method:"post",data:e})}function j(e){return Object(r["a"])({url:"channel/in-store/save-code",method:"post",data:e})}function x(e){return Object(r["a"])({url:"channel/in-store/save-code",method:"get",params:e})}function O(e){return Object(r["a"])({url:"channel/in-store/get-table",method:"get",params:e})}function D(e){return Object(r["a"])({url:"channel/in-store/establish-code",method:"post",data:e})}function N(e){return Object(r["a"])({url:"channel/in-store/code-list",method:"get",params:e})}function k(e){return Object(r["a"])({url:"channel/in-store/del-code",method:"post",data:e})}function I(e){return Object(r["a"])({url:"channel/in-store/fast-order-list",method:"get",params:e})}function M(e){return Object(r["a"])({url:"channel/in-store/modify-fast-order",method:"post",data:e})}function T(e){return Object(r["a"])({url:"channel/screen/fast-screen",method:"post",data:e})}function z(e){return Object(r["a"])({url:"channel/in-store/get-store-code",method:"get",params:e})}function L(e){return Object(r["a"])({url:"channel/in-store/table-order",method:"get",params:e})}function S(e){return Object(r["a"])({url:"channel/in-store/in-store-order-list",method:"get",params:e})}function E(e){return Object(r["a"])({url:"channel/in-store/modify-in-store-order",method:"post",data:e})}function $(e){return Object(r["a"])({url:"channel/in-store/clean-table",method:"post",data:e})}function R(e){return Object(r["a"])({url:"channel/in-store/statistics",method:"get",params:e})}function A(e){return Object(r["a"])({url:"channel/pay-vip/order-statistics",method:"get",params:e})}function F(e){return Object(r["a"])({url:"channel/pay-vip/order-list",method:"get",params:e})}function P(e){return Object(r["a"])({url:"channel/in-store/out-order-list",method:"get",params:e})}},"9e84":function(e,t,a){},a9e3:function(e,t,a){"use strict";var r=a("83ab"),n=a("da84"),s=a("94ca"),i=a("6eeb"),o=a("5135"),c=a("c6b6"),l=a("7156"),u=a("c04e"),d=a("d039"),f=a("7c73"),p=a("241c").f,m=a("06cf").f,v=a("9bf2").f,_=a("58a8").trim,b="Number",h=n[b],g=h.prototype,y=c(f(g))==b,w=function(e){var t,a,r,n,s,i,o,c,l=u(e,!1);if("string"==typeof l&&l.length>2)if(l=_(l),t=l.charCodeAt(0),43===t||45===t){if(a=l.charCodeAt(2),88===a||120===a)return NaN}else if(48===t){switch(l.charCodeAt(1)){case 66:case 98:r=2,n=49;break;case 79:case 111:r=8,n=55;break;default:return+l}for(s=l.slice(2),i=s.length,o=0;o<i;o++)if(c=s.charCodeAt(o),c<48||c>n)return NaN;return parseInt(s,r)}return+l};if(s(b,!h(" 0o1")||!h("0b1")||h("+0x1"))){for(var C,j=function(e){var t=arguments.length<1?0:e,a=this;return a instanceof j&&(y?d((function(){g.valueOf.call(a)})):c(a)!=b)?l(new h(w(t)),a,j):w(t)},x=r?p(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),O=0;x.length>O;O++)o(h,C=x[O])&&!o(j,C)&&v(j,C,m(h,C));j.prototype=g,g.constructor=j,i(n,b,j)}},bf19:function(e,t,a){"use strict";var r=a("23e7");r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},d2bb:function(e,t,a){var r=a("825a"),n=a("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,a={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(a,[]),t=a instanceof Array}catch(s){}return function(a,s){return r(a),n(s),t?e.call(a,s):a.__proto__=s,a}}():void 0)},ed08:function(e,t,a){"use strict";a.d(t,"a",(function(){return r})),a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return s}));a("a9e3"),a("ac1f"),a("5319"),a("bf19");function r(e){var t=new Date(e).toJSON(),a=new Date(+new Date(t)+288e5).toISOString().replace(/T/g," ").replace(/\.[\d]{3}Z/,"");return a}function n(e){var t=new Date(e),a=t.getFullYear(),r=t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1,n=t.getDate()<10?"0"+t.getDate():t.getDate(),s=t.getHours()<10?"0"+t.getHours():t.getHours(),i=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),o=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return a+"-"+r+"-"+n+" "+s+":"+i+":"+o}function s(e){var t=new Date(1e3*Number(e)),a=t.getFullYear()+"-",r=(t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1)+"-",n=(t.getDate()<10?"0"+t.getDate():t.getDate())+" ",s=(t.getHours()<10?"0"+t.getHours():t.getHours())+":",i=(t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes())+":",o=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds(),c=a+r+n+s+i+o;return c}}}]); |