canyin-project/ybcy/views/cashier/static/js/chunk-fa969d0c.0c64f9d3.js

1 line
12 KiB
JavaScript
Raw Normal View History

2024-11-01 16:07:54 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-fa969d0c"],{1158:function(e,t,n){"use strict";n("73ca0")},"3cc1":function(e,t,n){"use strict";n("7a72")},"73ca0":function(e,t,n){},"7a72":function(e,t,n){},"7ba3":function(e,t,n){"use strict";n("cc03")},ad8f:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"f",(function(){return i})),n.d(t,"a",(function(){return s})),n.d(t,"h",(function(){return o})),n.d(t,"d",(function(){return l})),n.d(t,"i",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"b",(function(){return d})),n.d(t,"e",(function(){return f}));var a=n("b775");function r(e){return Object(a["a"])({url:"channel/in-store/get-area",method:"get",params:e})}function i(e){return Object(a["a"])({url:"channel/in-store/table-order",method:"get",params:e})}function s(e){return Object(a["a"])({url:"channel/in-store/clean-table",method:"post",data:e})}function o(e){return Object(a["a"])({url:"channel/in-store/save-table-num",method:"post",data:e})}function l(e){return Object(a["a"])({url:"channel/in-store/save-table-num",method:"get",params:e})}function c(e){return Object(a["a"])({url:"channel/cashier-order/set-order",method:"post",data:e})}function u(e){return Object(a["a"])({url:"channel/cashier-order/put-money",method:"post",data:e})}function d(e){return Object(a["a"])({url:"channel/cashier-goods/del-goods",method:"post",data:e})}function f(e){return Object(a["a"])({url:"channel/config/store-config",method:"get",params:e})}},b3c3:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{},[n("el-dialog",{attrs:{title:e.title,visible:e.dialogFormVisible,width:"500px","close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t},close:e.close}},[n("div",{staticClass:"addTabel"},[n("div",{staticClass:"pad_20 t_l fon_20"},[e._v("桌台信息:"+e._s(e.tableNumber))]),n("div",{staticClass:"pad_lr_20"},[n("el-input",{attrs:{placeholder:"请输入就餐人数"},model:{value:e.people,callback:function(t){e.people=t},expression:"people"}},[n("template",{slot:"prepend"},[e._v("人数")])],2)],1),n("div",{staticClass:"pad_lr_20 mar_t20"},[n("el-input",{attrs:{placeholder:"请输入内容",disabled:""},model:{value:e.userData.trueName,callback:function(t){e.$set(e.userData,"trueName",t)},expression:"userData.trueName"}},[n("template",{slot:"prepend"},[e._v("服务员")])],2)],1),"1"==e.editType?n("div",[n("keyboard2",{on:{confirmEvent:e._confirmEvent,queding:e.kaitai}})],1):e._e(),"2"==e.editType?n("div",[n("keyboard",{on:{confirmEvent:e._confirmEvent,queding:e.xiugai}})],1):e._e()])])],1)},r=[],i=(n("b0c0"),n("96cf"),n("1da1")),s=n("5530"),o=n("ad8f"),l=n("a685"),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"key-container"},[n("el-input",{staticStyle:{display:"none"},attrs:{placeholder:"请输入收款金额"},model:{value:e.money,callback:function(t){e.money=t},expression:"money"}},[n("i",{staticClass:"el-input__icon el-icon-error curs",attrs:{slot:"suffix"},on:{click:e._handleClearKey},slot:"suffix"})]),n("div",{staticClass:"keyboard"},[n("div",{staticClass:"key-row"},[n("div",{staticClass:"key-cell",attrs:{"data-num":"1"},on:{click:[function(t){return t.stopPropagation(),e._handleKeyPress(t)},e.clickValue]}},[e._v("1")]),n("div",{staticClass:"key-cell",attrs:{"data-num":"2"},on:{click:[function(t){return t.stopPropagation(),e._handleKeyPress(t)},e.clickValue]}},[e._v("2")]),n("div",{staticClass:"key-cell",attrs:{"data-num":"3"},on:{click:[function(t){return t.stopPropagation(),e._handleKeyPress(t)},e.clickValue]}},[e._v("3")]),n("div",{staticClass:"key-cell",attrs:{"data-num":"C"},on:{click:[function(t){return t.stopPropagation(),e._handleKeyPress(t)},e.clickValue]}},[e._v("清空")])]),n("div",{staticClass:"key-row"},[n("div",{staticClass:"key-cell",attrs:{"data-num":"4"},on:{click:[function(t){return t.stopPropagation(),e._handleKeyPress(t)},e.clickValue]}},[e._v("4")]),n("div",{staticClass:"key-cell",attrs:{"data-num":"5"},on:{click:[function(t){return t.stopPropaga