(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b5fc87d4"],{1206:function(t,e,r){"use strict";var a=r("7406"),s=r.n(a);s.a},"16f5":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAAH4YWdbAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAbKADAAQAAAABAAAAbAAAAADaE/gkAAAL1UlEQVR4Ae1deZAdRRn/Zua9nX27C1ilnIFNOCoKIRQoQYpEKuagYghRSIwIxlLZPxKhhCiGgBBigiBoQdAg11KKihI5LDBcuSpQgSpBjUnMRlNGYIGUGlE0+3b3XTP2N5seZubNPT3Tsy89VbvTx3f/uvv1zOvuJwG5yuWyjvewV2dnpyRFZaLCZZqIeo/NWHDTNHD+Gbbirg2vAaiqrczVR/2/79mIMCMd8QFbWZNGpzZkQEFdL+2wMTb5iASlux40iDCtDw81MWFlEyNqVD728felVyrgtMKVEQuHV15nMLoxGBXkn2twaKXfvclUP2JrXWxGCaXEaa9SpVKZUK/X/2Q1wy8tSdJArMDE8i0WU1PbrKz5HtR+9TObW8522eRTrF5Qvuh8QwtKLy+YBfrf95l5qr7JJ2XimUbd0JVfBPnIo5oYsKDJPLeGK33wSOj89SZDAP5r0mTWWBL6u/stORdNtlqPTChNTt7smCK3cqepUfJNUEVhjkobK4ZRlVD6TJU19WJqhfXu1gus9TTt7O20nN4DPaOKggShQEpLhTvvgcq61r86wlOtmrzyqROh68XtTR+NQQYFKoP2dkPJwIyzTWUd9z9CBgLjQwWMaQOp6bjv52a9VyKw6QeFxinYz7tAZU5hSfLBYUwi3cGbrTL8RHcYkFqWzlN2EQ2npaWFOLS6o6NjSWYNhCjUMsNM13U5M2UIkVDGpKFmGkYmH57O6aRXGAI90/b0efGa5c5pqFnhSAR3ak0D/cD/HGzNWecTbTMFgG8Yy3Ongv7evw2+jt5HYbDnUjcZZpnfZxkS+Y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use strict";r.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"order-wrapper"},[a("div",{directives:[{name:"show",rawName:"v-show",value:1==t.active,expression:"active == 1"}],staticClass:"order"},[a("div",{staticClass:"left"},[a("div",{staticClass:"left-top"},[a("div",{staticClass:"title"},[a("div",{staticClass:"item",class:{active:1==t.active},on:{click:function(e){t.active=1}}},[t._v("\n 订单列表\n ")]),a("div",{staticClass:"item",class:{active:2==t.active},on:{click:function(e){t.active=2}}},[t._v("\n 桌码管理\n ")])]),1==t.active?a("div",{staticClass:"sx",on:{click:function(e){t.filterModal=!t.filterModal}}},[t._v("\n "+t._s(t.filterModal?"关闭":"筛选")+"\n "),t.filterModal?t._e():a("Icon",{staticClass:"ios-funnel-outline",attrs:{color:"#666",type:"ios-funnel-outline"}})],1):t._e()]),a("div",{staticClass:"order-box"},[t.filterModal?t._e():a("div",{staticClass:"search"},[a("Input",{attrs:{search:"","enter-button":"搜索",size:"large",placeholder:"搜索订单流水号、订单编号"},on:{"on-search":t.search},model:{value:t.orderData.keyword,callback:function(e){t.$set(t.orderData,"keyword",e)},expression:"orderData.keyword"}})],1),t.orderListData.length?a("orderList",{directives:[{name:"show",rawName:"v-show",value:!t.filterModal,expression:"!filterModal"}],attrs:{orderType:"table",total:t.count,orderData:t.orderListData},on:{addPage:t.addPage,selectOrder:t.selectOrder}}):t.orderListData.length||t.filterModal?t._e():a("div",{staticClass:"no-order"},[a("img",{attrs:{src:r("66c9"),alt:""}}),a("span",{staticClass:"trip"},[t._v("噢~目前暂无订单")])]),a("filter-modal",{directives:[{name:"show",rawName:"v-show",value:t.filterModal,expression:"filterModal"}],attrs:{"order-type":"table"},on:{search:t.searchList}})],1)]),a("div",{staticClass:"order-data"},[a("div",{staticClass:"header"},[t._l(t.tabs,(function(e,r){return a("div",{directives:[{name:"show",rawName:"v-show",value:t.selectOrderData.oid||!r,expression:"selectOrderData.oid || !index"}],key:r,staticClass:"item",class:t.sle===r?"sel":r===t.sle-1?"neighbor-left":r===t.sle+1?"neighbor-right":"def",on:{click:function(e){return t.tabClick(r)}}},[a("div",{staticClass:"item-wrap"},[t._v("\n "+t._s(e)+"\n ")])])})),a("div",{staticClass:"box",class:2===t.sle?"neighbor-right":""})],2),a("div",{staticClass:"content",class:{"border-radius":t.sle}},[0===t.sle&&t.selectOrderData.id?a("userOrder",{staticClass:"orders",attrs:{canSend:t.canSend,selectData:t.selectOrderData},on:{remarks:t.remarks,rechargeBnt:t.rechargeBnt,userChange:t.userChange,calculate:t.calculate,discountCon:t.discountCon}}):t._e(),1===t.sle&&t.selectOrderData.oid&&t.selectOrderData.orderId.id?a("orderDetails",{staticClass:"orders",attrs:{orderDatalist:t.orderInfoData}}):t._e(),2===t.sle&&t.selectOrderData.oid&&t.selectOrderData.orderId.id?a("orderRecord",{attrs:{id:t.selectOrderData.oid}}):t.selectOrderData.id?t._e():a("div",{staticClass:"no-order"},[a("img",{attrs:{src:r("0493"),alt:""}}),a("span",{staticClass:"trip"},[t._v("噢~目前暂无挂单记录")])])],1),t.selectOrderData.id&&(2!=t.selectOrderData.status||t.selectOrderData.orderId&&!t.selectOrderData.orderId.is_del)?a("div",{staticClass:"footer"},[t.staff_id?a("Button",{on:{click:t.storeTap}},[t._v(t._s(t.storeInfos.staff_name))]):t._e(),t.selectOrderData.orderId&&t.selectOrderData.orderId.paid?a("div",[a("Button",{staticClass:"btn grey",on:{click:t.remarks}},[t._v("订单备注")]),a("Button",{staticClass:"btn grey",on:{click:t.point}},[t._v("小票打印")]),!t.selectOrderData.orderId.refund_status&&t.selectOrderData.orderId.paid&&t.selectOrderData.orderId.pay_price>0?a("Button",{staticClass:"btn blue",on:{click:t.getRefundData}},[t._v("立即退款")]):t._e()],1):3==t.selectOrderData.status||t.selectOrderData.orderId&&t.selectOrderData.orderId.paid?t._e():a("div",[a("Button",{staticClass:"btn red",on:{click:t.cancelTable}},[t._v("取消")]),t.selectOrderData.orderId&&"offline"==t.selectOrderData.orderId.pay_type?a("Button",{staticClass:"btn blue",on:{click:t.payOffline}},[t._v("立即支付")]):t.selectOrderData.orderId&&!t.selectOrderData.orderId.paid?[t.selectOrderData.orderId.pay_type?t._e():a("Button",{class:["btn",t.integral?"light":"grey"],on:{click:t.integralTap}},[t._v("积分")]),t.selectOrderData.orderId.pay_type?t._e():a("Button",{staticClass:"btn grey",on:{click:t.changePrice}},[t._v("改价")]),a("Button",{staticClass:"btn grey",on:{click:t.staffPlace}},[t._v("打单")]),a("Button",{staticClass:"btn",on:{click:function(e){return t.payPrice("cash")}}},[t._v("现金收款")]),a("Button",{staticClass:"btn",on:{click:function(e){return t.payPrice("")}}},[t._v("微信/支付宝")]),a("Button",{staticClass:"btn blue",on:{click:function(e){return t.payPrice("yue")}}},[t._v("余额收款")])]:t._e()],2)],1):t._e()]),a("order-remark",{ref:"remarks",attrs:{orderId:t.selectOrderData.orderId?t.selectOrderData.orderId.id:0},on:{submitFail:t.submitFail}}),a("orderSend",{ref:"send",attrs:{orderId:t.orderId,status:t.status,pay_type:t.pay_type},on:{submitFail:t.send}})],1),a("div",{directives:[{name:"show",rawName:"v-show",value:2==t.active,expression:"active == 2"}],staticClass:"table-code"},[a("div",{staticClass:"left-top"},[a("div",{staticClass:"title"},[a("div",{staticClass:"item",class:{active:1==t.active},on:{click:function(e){t.active=1}}},[t._v("\n 订单列表\n ")]),a("div",{staticClass:"item",class:{active:2==t.active},on:{click:function(e){t.active=2}}},[t._v("\n 桌码管理\n ")])]),1==t.active?a("div",{staticClass:"sx",on:{click:function(e){t.filterModal=!t.filterModal}}},[t._v("\n "+t._s(t.filterModal?"关闭":"筛选")+"\n "),t.filterModal?t._e():a("Icon",{staticClass:"ios-funnel-outline",attrs:{color:"#666",type:"ios-funnel-outline"}})],1):t._e()]),a("div",{staticClass:"section-wrapper"},t._l(t.codeList,(function(e){return a("div",{key:e.id,staticClass:"section"},[a("div",{staticClass:"head"},[t._v(t._s(e.name)+"(桌码分类)")]),a("div",{staticClass:"body"},[a("ul",{staticClass:"list"},t._l(e.tableQrcode,(function(e){return a("li",{key:e.id,staticClass:"item",class:{active:e.is_use}},[a("div",{staticClass:"code"},[t._v(t._s(e.table_number))]),e.is_use?[a("div",[t._v("\n "+t._s(e.eat_number)+"人就餐("+t._s(e.seat_num)+"人桌)\n ")]),a("div",{staticClass:"time"},[t._v(t._s(e.order_time)+" 下单")])]:a("div",[t._v("空桌("+t._s(e.seat_num)+"人桌)")])],2)})),0)])])})),0)]),a("Modal",{attrs:{"footer-hide":"",title:"订单改价"},on:{"on-cancel":t.cancelPrice},model:{value:t.modal2,callback:function(e){t.modal2=e},expression:"modal2"}},[a("Form",{attrs:{"label-width":100,model:t.formItem}},[a("FormItem",{attrs:{label:"订单改价:"}},[a("div",{staticClass:"acea-row"},[a("div",{staticClass:"inputNum"},[a("InputNumber",{attrs:{max:9999999,min:0},on:{"on-change":t.tapPrice},model:{value:t.formItem.price,callback:function(e){t.$set(t.formItem,"price",e)},expression:"formItem.price"}}),t._v("\n 元\n ")],1),a("div",{staticClass:"inputNum discount"},[a("InputNumber",{attrs:{max:100,min:0},on:{"on-change":t.tapDiscount},model:{value:t.discountPrice,callback:function(e){t.discountPrice=e},expression:"discountPrice"}}),t._v("\n %\n ")],1)])]),a("FormItem",{attrs:{label:"改价后金额:"}},[a("div",{staticClass:"changePrice"},[t._v("\n ¥"),a("span",{staticClass:"price"},[t._v(t._s(t.formItem.price||0))])])]),a("div",{staticClass:"acea-row row-center-wrapper"},[a("Button",{staticClass:"buttonPrice",attrs:{type:"primary"},on:{click:t.onSubmit2}},[t._v("确认改价")])],1)],1)],1),a("Modal",{attrs:{"footer-hide":"",title:"备注"},model:{value:t.modal,callback:function(e){t.modal=e},expression:"modal"}},[a("Input",{staticStyle:{width:"100%"},attrs:{rows:5,maxlength:"200",placeholder:"订单备注","show-word-limit":"",type:"textarea"}}),a("Button",{staticClass:"mt20",attrs:{long:"",type:"primary"}},[t._v("提交")])],1),a("storeList",{ref:"store",attrs:{storeInfo:t.storeInfos},on:{getStoreId:t.getStoreId,getUserInfo:t.getUserInfo}}),a("recharge",{ref:"recharge",attrs:{userInfo:t.userInfo},on:{getSuccess:t.getSuccess}}),a("Modal",{staticClass:"modalPay",attrs:{"footer-hide":"",width:"430px"},on:{"on-cancel":t.modalPayCancel},model:{value:t.modalPay,callback:function(e){t.modalPay=e},expression:"modalPay"}},[a("div",{staticClass:"payPage"},[a("div",{staticClass:"header acea-row row-center-wrapper"},[a("div",{staticClass:"picture"},[a("img",{attrs:{src:r("ad18")}})]),a("div",{staticClass:"text"},[t._v("应收金额(元)")])]),a("div",{staticClass:"money"},[t._v("\n ¥"),a("span",{staticClass:"num"},[t._v(t._s(t.selectOrderData.payPrice?t.selectOrderData.payPrice:0))])]),a("Input",{ref:"focusNum",staticStyle:{"margin-top":"16px"},attrs:{placeholder:"请点击输入框聚焦扫码或输入编码号",size:"large",type:"url"},on:{input:t.inputSaoMa},model:{value:t.payNum,callback:function(e){t.payNum=e},expression:"payNum"}}),a("div",{staticClass:"process"},[a("div",{staticClass:"picture"},[a("img",{attrs:{src:r("fbde")}})]),a("div",{staticClass:"list acea-row row-between-wrapper"},[a("div",{staticClass:"item one"},[a("div",{staticClass:"name"},[t._v("\n "+t._s("yue"==t.createOrder.pay_type?"出示付款码":"打开付款码")+"\n ")]),a("div",[t._v("\n "+t._s("yue"==t.createOrder.pay_type?"用户打开个人中心":"微信/支付宝付款码")+"\n ")])]),a("div",{staticClass:"item two"},[a("div",{staticClass:"name"},[t._v("\n "+t._s("yue"==t.createOrder.pay_type?"扫描付款码":"贴合付款盒子")+"\n ")]),a("div",[t._v("\n "+t._s("yue"==t.createOrder.pay_type?"扫码枪":"等待完成支付")+"\n ")])]),a("div",{staticClass:"item three"},[a("div",{staticClass:"name"},[t._v("确认收款")]),a("div",[t._v("收银台确认")])])])])],1)]),a("Modal",{staticClass:"cash",attrs:{"footer-hide":"",width:"770px"},on:{"on-cancel":t.cancel},model:{value:t.modalCash,callback:function(e){t.modalCash=e},expression:"modalCash"}},[a("div",{staticClass:"cashPage acea-row"},[a("div",{staticClass:"left"},[a("div",{staticClass:"picture"},[a("img",{attrs:{src:r("ad18")}})]),a("div",{staticClass:"text"},[t._v("应收金额(元)")]),a("div",{staticClass:"money"},[t._v("\n ¥"),a("span",{staticClass:"num"},[t._v(t._s(t.selectOrderData.payPrice||0))])])]),a("div",{staticClass:"right"},[a("div",{staticClass:"rightCon"},[a("div",{staticClass:"top acea-row row-between-wrapper"},[a("div",[t._v("实际收款(元)")]),a("div",{staticClass:"num"},[t._v(t._s(t.collection))])]),a("div",{staticClass:"center acea-row row-between-wrapper"},[a("div",[t._v("需找零(元)")]),this.$computes.Sub(t.collection,t.selectOrderData.payPrice?t.selectOrderData.payPrice:0)>0?a("div",{staticClass:"num"},[t._v("\n "+t._s(this.$computes.Sub(t.collection,t.selectOrderData.payPrice?t.selectOrderData.payPrice:0))+"\n ")]):a("div",{staticClass:"num"},[t._v("0")])]),a("div",{staticClass:"bottom acea-row"},[t._l(t.numList,(function(e,r){return a("div",{key:r,staticClass:"item acea-row row-center-wrapper",class:"."==e?"spot":"",on:{click:function(r){return t.numTap(e)}}},[t._v("\n "+t._s(e)+"\n ")])})),a("div",{staticClass:"item acea-row row-center-wrapper",on:{click:t.delNum}},[a("Icon",{attrs:{type:"ios-backspace"}})],1)],2)]),a("Button",{attrs:{type:"primary"},on:{click:t.cashBnt}},[t._v("确认")])],1)])]),a("Modal",{attrs:{"class-name":"vertical-center-modal","footer-hide":"",title:"优惠明细",width:"400"},model:{value:t.discount,callback:function(e){t.discount=e},expression:"discount"}},[a("div",{staticClass:"discountCon"},[a("div",{staticClass:"item acea-row row-between-wrapper"},[a("div",[t._v("订单原价")]),a("div",[t._v("¥"+t._s(t.selectOrderData.sumPrice||t.selectOrderData.orderId&&t.selectOrderData.orderId.total_price||0))])]),a("div",{staticClass:"item acea-row row-between-wrapper"},[a("div",[t._v("会员优惠金额:")]),a("div",[t._v("¥"+t._s(t.selectOrderData.vipPrice||t.selectOrderData.orderId&&t.selectOrderData.orderId.vip_true_price||0))])]),a("div",{staticClass:"item acea-row row-between-wrapper"},[a("div",[t._v("积分抵扣:")]),a("div",[t._v("¥"+t._s(t.selectOrderData.usedIntegral||t.selectOrderData.orderId&&t.selectOrderData.orderId.deduction_price||0))])]),t._l(t.selectOrderData.promotionsDetail,(function(e,r){return a("div",{key:r,staticClass:"item acea-row row-between-wrapper"},[a("div",[t._v(t._s(e.title)+":")]),a("div",[t._v("¥"+t._s(e.promotions_price||0))])])}))],2)]),a("Modal",{attrs:{title:"退款处理","class-name":"refund-modal"},model:{value:t.refundVisible,callback:function(e){t.refundVisible=e},expression:"refundVisible"}},[a("Form",{attrs:{model:t.refundData,"label-width":90}},[a("FormItem",{attrs:{label:"退款单号:"}},[a("Input",{attrs:{disabled:""},model:{value:t.refundData.order_id,callback:function(e){t.$set(t.refundData,"order_id",e)},expression:"refundData.order_id"}})],1),a("FormItem",{attrs:{label:"退款金额:",required:""}},[a("InputNumber",{attrs:{max:9999999999},on:{"on-change":t.numberChange},model:{value:t.refundData.refund_price,callback:function(e){t.$set(t.refundData,"refund_price",e)},expression:"refundData.refund_price"}})],1)],1),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{type:"primary",size:"large",long:""},on:{click:t.orderRefund}},[t._v("提交")])],1)],1)],1)},s=[],i=r("b89c"),o=r("5671"),n=r("d487"),c=r("9568"),d=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"order-user"},[r("div",{staticClass:"sel-user-group"},[t._l(t.selectData.userList,(function(e){return[!t.selectData.oid||t.selectData.orderId&&t.selectData.orderId.uid==e.uid?r("div",{key:e.id,staticClass:"sel-user",on:{click:function(r){return t.userChange(e)}}},[!t.selectData.oid&&t.selectData.userList.length>1?r("i",{class:["iconfont",e.uid==t.selectData.uid?"iconxuanzhong6":"icondayuanjiao"]}):t._e(),r("div",{staticClass:"avatar"},[r("img",{attrs:{src:e.userInfo.avatar||t.defaultAvatar,alt:"头像"}})]),r("div",{staticClass:"item-right"},[r("div",{staticClass:"user"},[r("div",[t._v(t._s(e.userInfo.nickname||"-"))])]),r("div",{staticClass:"money"},[r("div",[e.userInfo.phone?r("span",{staticClass:"pr20"},[t._v(t._s(e.userInfo.phone))]):t._e(),t._v("余额\n "),r("span",{staticClass:"num"},[t._v(t._s(e.userInfo.now_money||0)),r("a",{staticClass:"btn",on:{click:function(r){return t.rechargeBnt(e.userInfo)}}},[t._v("充值")])])]),r("div",[t._v("\n 积分 "),r("span",{staticClass:"num"},[t._v(t._s(e.userInfo.integral||0))])])])])]):t._e()]}))],2),r("div",{staticClass:"cart-num"},[r("div",{staticClass:"cart-num-left"},[r("span",[t._v("共")]),r("span",{staticClass:"num"},[t._v(t._s(t.total_num))]),r("span",[t._v("件商品")])]),r("div",{staticClass:"reduce"},[t._v("\n 优惠:"+t._s(t.$computes.Sub(t.selectData.sumPrice||t.selectData.orderId&&t.selectData.orderId.total_price||0,t.selectData.payPrice||t.selectData.orderId&&t.selectData.orderId.pay_price||0)||0)),r("a",{staticClass:"btn",on:{click:t.discountCon}},[t._v("明细")])]),r("div",{staticClass:"actual"},[t._v("\n 实付:"),r("span",{staticClass:"money"},[t._v("¥"+t._s(t.selectData.payPrice||t.selectData.orderId&&t.selectData.orderId.pay_price||0))])])]),r("div",{staticClass:"goods-list"},[r("Table",{attrs:{columns:t.columns,data:t.tableList,loading:t.loading,"no-data-text":"暂无数据","highlight-row":"","no-filtered-data-text":"暂无筛选结果"},scopedSlots:t._u([{key:"info",fn:function(e){var a=e.row;return[r("div",{staticClass:"tabBox"},[r("div",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"tabBox_img"},[r("img",{directives:[{name:"lazy",rawName:"v-lazy",value:a.productInfo.attrInfo?a.productInfo.attrInfo.image:a.productInfo.image,expression:"\n row.productInfo.attrInfo\n ? row.productInfo.attrInfo.image\n : row.productInfo.image\n "}]})]),r("span",{staticClass:"tabBox_tit line2"},[a.is_gift?r("span",{staticClass:"is-gift"},[t._v("赠品")]):t._e(),t._v("\n "+t._s(a.productInfo.store_name)+"\n "),a.productInfo.attrInfo?r("span",[t._v("\n |\n "+t._s(a.productInfo.attrInfo?a.productInfo.attrInfo.suk:"")+"\n ")]):t._e()])])]}},{key:"sum_true_price",fn:function(e){var a=e.row;return[r("div",{staticClass:"tabBox"},[t._v(t._s(a.sum_price*a.cart_num||0))])]}},{key:"action",fn:function(e){var a=e.row;return[r("Button",{staticClass:"sub",attrs:{disabled:1==a.cart_num,shape:"circle"},on:{click:function(e){return t.calculate(a,0)}}},[r("Icon",{attrs:{custom:"iconfont iconjian",size:"12"}})],1),r("InputNumber",{attrs:{min:1},model:{value:a.cart_num,callback:function(e){t.$set(a,"cart_num",e)},expression:"row.cart_num"}}),r("Button",{staticClass:"add",attrs:{disabled:a.cart_num==a.trueStock,shape:"circle"},on:{click:function(e){return t.calculate(a,1)}}},[r("Icon",{attrs:{custom:"iconfont iconjia",size:"12"}})],1)]}}])})],1)])},l=[];function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,a)}return r}function f(t){for(var e=1;e=r.length-a-1?e.refundData.refund_price=Number(r):e.refundData.refund_price=Number(Number(r).toFixed(2))}))},jsToJava:function(){try{window.Jsbridge.invoke("openCacheBox",JSON.stringify({"p1-key":"p1-value"}),this.myFunction())}catch(t){}},myFunction:function(){},payOffline:function(){var t=this;Object(S["Q"])(this.selectOrderData.oid).then((function(){t.$Message.success("支付成功"),t.selectOrderData.orderId.paid=1;var e=!0,r=!1,a=void 0;try{for(var s,i=t.orderListData[Symbol.iterator]();!(e=(s=i.next()).done);e=!0){var o=s.value;if(o.id==t.selectOrderData.id){o.orderId.paid=1;break}}}catch(n){r=!0,a=n}finally{try{e||null==i.return||i.return()}finally{if(r)throw a}}})).catch((function(e){t.$Message.error(e.msg)}))},getTableOrderInfo:function(){var t=this;Object(S["H"])(this.selectOrderData.oid).then((function(e){t.selectOrderData=F({},t.selectOrderData,{orderId:e.data,is_cashier_yue_pay_verify:e.data.is_cashier_yue_pay_verify}),t.refundData.order_id=e.data.order_id,t.refundData.refund_price=+e.data.pay_price}))},confirm:function(){if("yue"==this.payType){if(!this.createOrder.userCode&&this.selectOrderData.is_cashier_yue_pay_verify)return this.$Message.error("请扫描个人中心二维码");this.isOrderCreate?this.getCashierPay("yue"):this.orderCreate()}else if(""==this.payType){if(!this.createOrder.auth_code)return this.$Message.error("请扫描您的付款码");this.isOrderCreate?this.getCashierPay(""):this.orderCreate()}},getCashierPay:function(t){var e=this,r={payType:t,userCode:this.payNum,auth_code:this.payNum};if("cash"==t&&parseFloat(this.selectOrderData.payPrice)>parseFloat(this.collection))return this.$Message.error("您付款金额不足");Object(S["o"])(this.selectOrderData.orderId.order_id,r).then((function(r){if(e.payNum="","SUCCESS"==r.data.status){e.isOrderCreate=0,e.$Message.success("支付成功"),e.modalCash=!1,e.modalPay=!1,e.selectOrderData.orderId.paid=1;var a=!0,s=!1,i=void 0;try{for(var o,n=e.orderListData[Symbol.iterator]();!(a=(o=n.next()).done);a=!0){var c=o.value;if(c.id==e.selectOrderData.id){c.orderId.paid=1;break}}}catch(l){s=!0,i=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}"cash"==t&&e.jsToJava()}else if("PAY_ING"==r.data.status){var d=e.$Message.loading({content:"等待支付中...",duration:0});e.orderSystem.loadingMsg=d,e.orderId=r.data.order_id,e.checkOrderTime(d)}else e.isOrderCreate=1,e.orderId=r.data.order_id,e.$Message.error(r.data.message)})).catch((function(t){e.payNum="",e.$Message.error(t.msg)}))},orderCreate:function(){var t=this;if("cash"==this.payType&&parseFloat(this.selectOrderData.payPrice)>parseFloat(this.collection))return this.$Message.error("您付款金额不足");this.createOrder.new=1,this.createOrder.collate_code_id=this.table_id,this.createOrder.cart_id=this.cart_ids.split(","),Object(S["k"])(this.uid,this.createOrder).then((function(e){window.localStorage;if(t.payNum="","yue"==t.payType)if(t.modalPay=!1,t.payNum="",t.createOrder.userCode="","ORDER_CREATE"==e.data.status)t.isOrderCreate=1,t.orderId=e.data.order_id,t.$Message.success(e.data.message);else if("SUCCESS"==e.data.status){t.isOrderCreate=0,t.$Message.success("支付成功"),t.payTypeModal=!1,t.modalPay=!1,t.selectOrderData=F({},t.selectOrderData,{oid:e.data.oid});var r=!0,a=!1,s=void 0;try{for(var i,o=t.orderListData[Symbol.iterator]();!(r=(i=o.next()).done);r=!0){var n=i.value;if(n.id==t.selectOrderData.id){n.status=2,n.oid=e.data.oid,"[object Object]"!=Object.prototype.toString.call(n.orderId)&&(n.orderId={}),n.orderId=F({},n.orderId,{paid:1});break}}}catch(b){a=!0,s=b}finally{try{r||null==o.return||o.return()}finally{if(a)throw s}}}else t.isOrderCreate=1,t.orderId=e.data.order_id,t.$Message.error(e.data.message);if("cash"==t.payType&&"SUCCESS"==e.data.status){t.$Message.success("支付成功"),t.selectOrderData=F({},t.selectOrderData,{oid:e.data.oid});var c=!0,d=!1,l=void 0;try{for(var u,f=t.orderListData[Symbol.iterator]();!(c=(u=f.next()).done);c=!0){var m=u.value;if(m.id==t.selectOrderData.id){m.status=2,m.oid=e.data.oid,"[object Object]"!=Object.prototype.toString.call(m.orderId)&&(m.orderId={}),m.orderId=F({},m.orderId,{paid:1});break}}}catch(b){d=!0,l=b}finally{try{c||null==f.return||f.return()}finally{if(d)throw l}}t.modalCash=!1,t.payTypeModal=!1,t.jsToJava()}if(""==t.payType)if(t.payNum="",t.createOrder.auth_code="","ORDER_CREATE"==e.data.status)t.isOrderCreate=1,t.orderId=e.data.order_id,t.$Message.success(e.data.message);else if("PAY_ING"==e.data.status){var h=t.$Message.loading({content:"等待支付中...",duration:0});t.orderId=e.data.order_id,t.checkOrderTime(h)}else if("SUCCESS"==e.data.status){t.$Message.success("支付成功"),t.selectOrderData=F({},t.selectOrderData,{oid:e.data.oid});var p=!0,v=!1,_=void 0;try{for(var g,y=t.orderListData[Symbol.iterator]();!(p=(g=y.next()).done);p=!0){var I=g.value;if(I.id==t.selectOrderData.id){I.status=2,I.oid=e.data.oid,"[object Object]"!=Object.prototype.toString.call(I.orderId)&&(I.orderId={}),I.orderId=F({},I.orderId,{paid:1});break}}}catch(b){v=!0,_=b}finally{try{p||null==y.return||y.return()}finally{if(v)throw _}}t.modalPay=!1,t.clear()}else t.isOrderCreate=1,t.orderId=e.data.order_id,t.$Message.error(e.data.message)})).catch((function(e){t.payNum="",t.$Message.error(e.msg)}))},numTap:function(t){!1===this.defaultcalc&&(this.collection="",this.defaultcalc=!0);var e=String(this.collection).indexOf(".")+1,r=String(this.collection).length-e;(0===e||r<2)&&(this.collectionArray.join("")<=9999999&&this.collectionArray.push(t),this.collection=this.collectionArray.join("")>99999999?99999999:this.collectionArray.join(""))},getSwithUser:function(t){var e=this;Object(S["eb"])(t).then((function(t){})).catch((function(t){e.$Message.error(t.msg)}))},discountCon:function(){this.discount=!0},staffPlace:function(){var t=this;Object(S["db"])({tableId:this.table_id}).then((function(t){})).catch((function(e){t.$Message.error(e.msg)}))},calculate:function(t){var e=this;Object(S["t"])({productId:t.product_id,cartNum:1,uniqueId:t.product_attr_unique||0,tableId:this.table_id,isAdd:t.isAdd}).then((function(t){e.getCartList()})).catch((function(t){e.$Message.error(t.msg)}))},cancelTable:function(){var t=this;this.$Modal.confirm({title:"取消该桌码订单",content:"

确定要取消该桌码订单吗?

取消该桌码订单后将无法恢复,请谨慎操作!

",onOk:function(){Object(S["b"])({tableId:t.selectOrderData.id,qrcode_id:t.selectOrderData.qrcode_id}).then((function(e){t.$Message.success("取消该桌码订单成功");for(var r=0;r=0&&null!=this.formItem.price))return this.$Message.error("价格不能为空");this.selectOrderData.payPrice=this.formItem.price,this.$Message.success("改价成功"),this.createOrder.is_price=1,this.createOrder.change_price=this.formItem.price,this.getSwithUser({change_price:this.formItem.price}),this.cancelPrice(),this.modal2=!1},tapDiscount:function(){this.formItem.price=this.$computes.Mul(this.unchangedPrice||0,this.discountPrice/100||0).toFixed(2)||0},tapPrice:function(){this.formItem.price=Number(this.formItem.price.toFixed(2));var t=this.$computes.Div(this.formItem.price||0,this.unchangedPrice||0);this.discountPrice=Number((100*t).toFixed(2))||0},cancelPrice:function(){this.formItem.price=this.priceInfo.payPrice||0,this.tapPrice()},changePrice:function(){this.modal2=!0,this.formItem.price=this.selectOrderData.payPrice||0},cartCompute:function(){var t=this;if(this.cartList.length){var e=[];this.cartList.forEach((function(t){t.cart.forEach((function(t){e.push(t.id)}))})),this.createOrder.cart_id=e;var r={integral:this.integral,coupon:this.coupon,coupon_id:this.couponId,cart_id:e};Object(S["i"])(this.userInfo.uid,r).then((function(e){t.priceInfo=e.data,t.unchangedPrice=t.priceInfo.payPrice||0,t.formItem.price=t.priceInfo.payPrice||0,t.tapPrice()})).catch((function(e){t.$Message.error(e.msg),t.coupon=!1}))}else this.priceInfo={}},integralTap:function(){this.selectOrderData.uid?(this.integral=!this.integral,this.integral&&(this.createOrder.is_price=0)):this.$Message.warning("请先选择用户再使用积分")},delNum:function(){this.collectionArray.pop(),this.collection=this.collectionArray.length?this.collectionArray.join(""):0},cashBnt:function(){var t=this;this.cashBntLoading||(this.cashBntLoading=!0,this.isOrderCreate?this.getCashierPay("cash"):this.orderCreate(),setTimeout((function(){t.cashBntLoading=!1}),1e3))},cancel:function(){this.collection=0,this.collectionArray=[]},keyboard:function(){var t=this;function e(e){t.collectionArray.pop(),t.collection=t.collectionArray.length?t.collectionArray.join(""):0}function r(e){!1===t.defaultcalc&&(t.collection="",t.defaultcalc=!0);var r=String(t.collection).indexOf(".")+1,a=String(t.collection).length-r;(0===r||a<2)&&(t.collectionArray.join("")<=9999999&&t.collectionArray.push(e),t.collection=t.collectionArray.join("")>99999999?99999999:t.collectionArray.join(""))}document.onkeydown=function(a){var s=a||window.event,i=s.keyCode;switch(t.modalCash&&(a.stopPropagation(),a.preventDefault()),i){case 96:case 48:r(0);break;case 97:case 49:r(1);break;case 98:case 50:r(2);break;case 99:case 51:r(3);break;case 100:case 52:r(4);break;case 101:case 53:r(5);break;case 102:case 54:r(6);break;case 103:case 55:r(7);break;case 104:case 56:r(8);break;case 105:case 57:r(9);break;case 110:r(".");break;case 190:r(".");break;case 8:e();break}}},inputSaoMa:function(t){var e=this,r=t;if(""===r)return!1;clearTimeout(this.endTimeout),this.endTimeout=null,this.endTimeout=setTimeout((function(){e.codeNum===r&&(clearTimeout(e.endTimeout),r&&e.codeInfo({bar_code:r}))}),500)},modalPayCancel:function(){this.$Message.destroy(),this.orderSystem.timer&&(clearInterval(this.orderSystem.timer),this.orderSystem.timer=null)},codeInfo:function(t){var e=this;t.uid=this.uid,t.staff_id=this.storeInfos.id,Object(S["h"])(t).then((function(t){e.codeNum="";var r=t.data;if(r.hasOwnProperty("userInfo"))if(e.userInfo)e.$Modal.confirm({title:"切换用户",content:"

确定要切换用户吗?

",onOk:function(){e.userInfo=t.data.userInfo;var r=window.localStorage;r.setItem("cashierUser",JSON.stringify(t.data.userInfo)),e.getCartList()},onCancel:function(){}});else{e.userInfo=t.data.userInfo;var a=window.localStorage;a.setItem("cashierUser",JSON.stringify(t.data.userInfo))}e.goodList(),e.getCartList()})).catch((function(t){e.codeNum="",e.$Message.error(t.msg)}))},payPrice:function(t){var e=this;if(this.payType=t,this.selectOrderData.oid&&(this.isOrderCreate=!0,this.selectOrderData.payPrice=Number(this.selectOrderData.pay_price)||0),""==t||"yue"==t)if(this.createOrder.userCode="",this.createOrder.auth_code="",this.payNum="",""==t||this.selectOrderData.is_cashier_yue_pay_verify){this.modalPay=!0;var r=this;this.$nextTick((function(){e.$refs.focusNum.focus(),document.onkeydown=function(t){13==t.which&&(r.payNum&&(r.createOrder.userCode=r.payNum,r.createOrder.auth_code=r.payNum,r.confirm()),r.codeNum&&r.codeInfo({bar_code:r.codeNum}))}}))}else this.confirm();else"cash"==t&&(this.modalCash=!0,this.selectOrderData.oid&&(this.isOrderCreate=!0,this.selectOrderData.payPrice=Number(this.selectOrderData.pay_price)||0),this.collection=this.selectOrderData.payPrice||0,this.keyboard());if(this.createOrder.integral=this.integral,this.createOrder.coupon=this.coupon,this.createOrder.coupon_id=this.couponId,this.coupon&&!this.couponId)return this.$Message.error("请选择有效优惠券");this.createOrder.pay_type=t,this.createOrder.staff_id=this.storeInfos.id},userChange:function(t){this.uid=t,this.selectOrderData=F({},this.selectOrderData,{uid:t})},cashierCompute:function(){var t=this;Object(S["i"])(this.uid,{new:1,coupon_id:0,coupon:!1,integral:this.integral,cart_id:this.cart_ids.split(",")}).then((function(e){t.selectOrderData=F({},t.selectOrderData,{},e.data),t.formItem.price=t.unchangedPrice=t.selectOrderData.payPrice}))},cashierCartList:function(){var t=this;Object(S["e"])(this.uid,this.staff_id,{new:1,cart_ids:this.cart_ids}).then((function(e){var r=e.data.valid,a=[];r.length&&(a=r),t.selectOrderData=F({},t.selectOrderData,{orderId:{_info:a}})}))},getCartList:function(){var t=this;Object(S["v"])({table_id:this.table_id,uid:this.uid}).then((function(e){t.cart_ids=e.msg}))},getTableUidAll:function(){var t=this;Object(S["I"])({table_id:this.table_id}).then((function(e){var r=e.data;r.length&&(t.uid=r[0].uid),t.selectOrderData=F({},t.selectOrderData,{userList:r,uid:t.uid})}))},getCodeList:function(){var t=this;Object(S["w"])().then((function(e){t.codeList=e.data.filter((function(t){return t.tableQrcode.length})),t.timer=setTimeout(t.getCodeList,6e4)}))},rechargeBnt:function(t){this.userInfo=t,this.$refs.recharge.modal=!0},getSuccess:function(t){var e=this.$computes.Add(this.userInfo.now_money,t);this.userInfo.now_money=e;var r=window.localStorage;r.setItem("cashierUser",JSON.stringify(this.userInfo))},storeTap:function(){this.$refs.store.modals=!0,this.$refs.store.cancel()},getUserInfo:function(t){this.staff_id=t.users.id,this.storeInfos=t.users,this.storeList=t.storeList,this.goodFrom.staff_id=t.users.id,sessionStorage.setItem("staffInfo",JSON.stringify(t.users)),this.userInfo},getStoreId:function(t){var e=this;this.storeList.forEach((function(r){r.id==t.id&&(e.storeInfos=r,e.staff_id=r.id)}))},orderSend:function(){var t=this;this.$store.commit("store/order/setSplitOrder",this.selectOrderData.total_num),this.$refs.send.modals=!0,this.orderId=this.selectOrderData.id,this.status=this.selectOrderData._status,this.pay_type=this.selectOrderData.pay_type,this.$refs.send.getList(),this.$refs.send.getDeliveryList(),this.$nextTick((function(e){t.$refs.send.getCartInfo(t.selectOrderData._status,t.selectOrderData.id)}))},addPage:function(){this.orderListData.length1&&"3"!==t.formItem.type?r("div",[r("FormItem",{attrs:{label:"分单发货:"}},[r("i-switch",{attrs:{size:"large",disabled:8===t.orderStatus},on:{"on-change":t.changeSplitStatus},model:{value:t.splitSwitch,callback:function(e){t.splitSwitch=e},expression:"splitSwitch"}},[r("span",{attrs:{slot:"open"},slot:"open"},[t._v("开启")]),r("span",{attrs:{slot:"close"},slot:"close"},[t._v("关闭")])]),r("div",{staticClass:"trips"},[r("p",[t._v("\n 可选择表格中的商品单独发货,发货后会生成新的订单且不能撤回,请谨慎操作!\n ")])]),t.splitSwitch&&t.manyFormValidate.length?r("Table",{attrs:{data:t.manyFormValidate,columns:t.header},on:{"on-selection-change":t.selectOne},scopedSlots:t._u([{key:"image",fn:function(e){var a=e.row;e.index;return[r("div",{staticClass:"product-data"},[r("img",{staticClass:"image",attrs:{src:a.cart_info.productInfo.image}}),r("div",{staticClass:"name line2"},[t._v("\n "+t._s(a.cart_info.productInfo.store_name)+"\n ")])])]}},{key:"value",fn:function(e){var a=e.row;e.index;return[r("div",[t._v(t._s(a.cart_info.productInfo.attrInfo.suk))])]}},{key:"sellPrice",fn:function(e){var a=e.row;e.index;return[r("div",[t._v(t._s(a.cart_info.productInfo.attrInfo?a.cart_info.productInfo.attrInfo.price:a.cart_info.productInfo.price)+"\n ")])]}},{key:"price",fn:function(e){var a=e.row;e.index;return[r("div",[t._v(t._s(a.cart_info.truePrice))])]}}],null,!1,409803649)}):t._e()],1)],1):t._e()],1):t._e(),r("div",{attrs:{slot:"footer"},slot:"footer"},[r("Button",{on:{click:t.cancel}},[t._v("取消")]),r("Button",{attrs:{type:"primary"},on:{click:t.putSend}},[t._v("提交")])],1),r("div",{directives:[{name:"viewer",rawName:"v-viewer"},{name:"show",rawName:"v-show",value:t.temp,expression:"temp"}],ref:"viewer"},[r("img",{staticStyle:{display:"none"},attrs:{src:t.temp.pic}})])],1)},s=[],i=r("a34a"),o=r.n(i),n=r("2f62"),c=r("f8b7");function d(t,e,r,a,s,i,o){try{var n=t[i](o),c=n.value}catch(d){return void r(d)}n.done?e(c):Promise.resolve(c).then(a,s)}function l(t){return function(){var e=this,r=arguments;return new Promise((function(a,s){var i=t.apply(e,r);function o(t){d(i,a,s,o,n,"next",t)}function n(t){d(i,a,s,o,n,"throw",t)}o(void 0)}))}}function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,a)}return r}function f(t){for(var e=1;e