1 line
17 KiB
JavaScript
1 line
17 KiB
JavaScript
![]() |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-650d2d4d"],{"3bbe":function(e,t,r){var n=r("861d");e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},7156:function(e,t,r){var n=r("861d"),a=r("d2bb");e.exports=function(e,t,r){var s,o;return a&&"function"==typeof(s=t.constructor)&&s!==r&&n(o=s.prototype)&&o!==r.prototype&&a(e,o),e}},"73d3":function(e,t,r){"use strict";var n=r("9d8c"),a=r.n(n);a.a},8388:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("div",{staticClass:"outmain ba_f tangshi"},[e._m(0),r("el-tabs",{staticClass:"mar_b20",on:{"tab-click":e.handleTabClick},model:{value:e.orderType,callback:function(t){e.orderType=t},expression:"orderType"}},[r("el-tab-pane",{attrs:{label:"订单管理",name:"1"}}),r("el-tab-pane",{attrs:{label:"待完成订单",name:"2"}}),r("el-tab-pane",{attrs:{label:"已完成订单",name:"3"}})],1),e._m(1),r("div",{staticClass:"mar_t20"},[r("div",{staticClass:"quyu flex flex-wrap"},e._l(e.areaList,(function(t,n){return r("div",{key:n,staticClass:"quyuli",class:{quyuHover:n==e.typeListHover},on:{click:function(r){return e.clickTypeList(t,n)}}},[e._v(" "+e._s(t.name)+" ")])})),0),r("div",{staticClass:"flex-bet mar_t20 flex-y-top"},[r("div",{directives:[{name:"show",rawName:"v-show",value:e.tablesList&&e.tablesList.length>0,expression:"tablesList && tablesList.length>0"}],staticClass:"leibie flex-g-0 heighthv"},e._l(e.tablesList,(function(t,n){return r("div",{key:n,staticClass:"leibieli",class:{leibieHover:n==e.jListHover},on:{click:function(r){return e.clickjList(t,n)}}},[r("span",{directives:[{name:"show",rawName:"v-show",value:t.name,expression:"J.name"}]},[e._v(e._s(t.name)+"("+e._s(t.num)+")")])])})),0),r("div",{staticClass:"zuozi flex-g-1"},[e.tablesList&&e.tablesList.length>0&&e.tablesList[0].tableInfo?r("div",{staticClass:"zuoziWrap flex-wrap flex flex-y-top"},e._l(e.tablesList[e.jListHover].tableInfo,(function(t,n){return r("div",{key:n,staticClass:"zuozili flex-colbt",class:{zuoziliHover:n==e.kListHover},on:{click:function(r){return e.orderDl(t)}}},[r("div",{directives:[{name:"show",rawName:"v-show",value:"1"==t.state,expression:"K.state=='1'"}],staticClass:"zuoziliT flex-bet"},[r("div",[e._v(e._s(t.name))])]),r("div",{directives:[{name:"show",rawName:"v-show",value:"2"==t.state,expression:"K.state=='2'"}],staticClass:"zuoziliT zuozili1 flex-bet"},[r("div",[e._v(e._s(t.name))]),r("div",{staticClass:"mar_r10",on:{click:function(r){return r.stopPropagation(),e.deletePreview(t)}}},[e._m(2,!0)])]),r("div",{directives:[{name:"show",rawName:"v-show",value:"3"==t.state,expression:"K.state=='3'"}],staticClass:"zuoziliT zuozili2 flex-bet"},[r("div",[e._v(e._s(t.name))]),r("div",{staticClass:"mar_r10",on:{click:function(r){return r.stopPropagation(),e.deletePreview(t)}}},[e._m(3,!0)])]),r("div",[r("span",{directives:[{name:"show",rawName:"v-show",value:"1"==t.state,expression:"K.state=='1'"}]},[e._v("未开台")]),r("span",{directives:[{name:"show",rawName:"v-show",value:"2"==t.state,expression:"K.state=='2'"}]},[e._v("已开台")]),r("span",{directives:[{name:"show",rawName:"v-show",value:"3"==t.state,expression:"K.state=='3'"}]},[e._v("就餐中")])]),r("div",{directives:[{name:"show",rawName:"v-show",value:"2"==t.state&&t.orderInfo&&!t.orderInfo.state,expression:"K.state=='2' && K.orderInfo && !K.orderInfo.state"}]},[r("span",{staticClass:"color_9"},[e._v("未下单")])]),r("div",{directives:[{name:"show",rawName:"v-show",value:"2"==t.state&&t.orderInfo&&"1"==t.orderInfo.state,expression:"K.state=='2' && K.orderInfo && K.orderInfo.state=='1'"}]},[r("span",{staticClass:"color_rb"},[e._v("未接单")])]),r("div",{directives:[{name:"show",rawName:"v-show",value:"1"==t.state,expression:"K.state=='1'"}],staticClass:"flex-bet pad_lr_10"},[r("div"),r("div",{staticClass:"color_9"},[e._v(e._s(t.maxNum)+"座")])]),r("div",{directives:[{name:"show",rawName:"v-show",value:"3"==t.state&&t.orderInfo.people,expression:"K.state=='3' && K.orderInfo.people"}],stat
|