| 1 |
- (function(e){function n(n){for(var o,r,s=n[0],c=n[1],d=n[2],u=0,g=[];u<s.length;u++)r=s[u],Object.prototype.hasOwnProperty.call(i,r)&&i[r]&&g.push(i[r][0]),i[r]=0;for(o in c)Object.prototype.hasOwnProperty.call(c,o)&&(e[o]=c[o]);l&&l(n);while(g.length)g.shift()();return a.push.apply(a,d||[]),t()}function t(){for(var e,n=0;n<a.length;n++){for(var t=a[n],o=!0,r=1;r<t.length;r++){var c=t[r];0!==i[c]&&(o=!1)}o&&(a.splice(n--,1),e=s(s.s=t[0]))}return e}var o={},i={index:0},a=[];function r(e){return s.p+"static/js/"+({"pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~6e3b87fb":"pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~6e3b87fb","pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~0544f8f5":"pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~0544f8f5","pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shifts~pages-index-~f295c115":"pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shifts~pages-index-~f295c115","pages-billing-index~pages-buycard-index~pages-member-list~pages-printer-add~pages-recharge-index~pag~986c8b27":"pages-billing-index~pages-buycard-index~pages-member-list~pages-printer-add~pages-recharge-index~pag~986c8b27","pages-billing-index":"pages-billing-index","pages-buycard-index":"pages-buycard-index","pages-member-list":"pages-member-list","pages-recharge-index":"pages-recharge-index","pages-goods-goodslist":"pages-goods-goodslist","pages-index-change_shiftsrecord":"pages-index-change_shiftsrecord","pages-store-settlement_record":"pages-store-settlement_record","pages-stat-index":"pages-stat-index","pages-stock-manage~pages-stock-records":"pages-stock-manage~pages-stock-records","pages-stock-manage":"pages-stock-manage","pages-reserve-index":"pages-reserve-index","pages-stock-add_allocate":"pages-stock-add_allocate","pages-stock-records":"pages-stock-records","pages-printer-add":"pages-printer-add","pages-index-change_shifts":"pages-index-change_shifts","pages-index-loading":"pages-index-loading","pages-index-no_permission":"pages-index-no_permission","pages-login-login":"pages-login-login","pages-order-orderlist~pages-order-rechargeorder":"pages-order-orderlist~pages-order-rechargeorder","pages-order-orderlist":"pages-order-orderlist","pages-order-rechargeorder":"pages-order-rechargeorder","pages-order-orderrefund":"pages-order-orderrefund","pages-printer-list":"pages-printer-list","pages-refund-list":"pages-refund-list","pages-reserve-config":"pages-reserve-config","pages-stock-add_check":"pages-stock-add_check","pages-stock-allocate":"pages-stock-allocate","pages-stock-check":"pages-stock-check","pages-stock-stockin":"pages-stock-stockin","pages-stock-stockout":"pages-stock-stockout","pages-stock-storage":"pages-stock-storage","pages-stock-wastage":"pages-stock-wastage","pages-store-close":"pages-store-close","pages-store-config":"pages-store-config","pages-store-deliver":"pages-store-deliver","pages-store-index":"pages-store-index","pages-store-operate":"pages-store-operate","pages-user-list":"pages-user-list","pages-verify-index":"pages-verify-index","pages-verify-list":"pages-verify-list"}[e]||e)+"."+{"pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~6e3b87fb":"c3df8f58","pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~0544f8f5":"3e0fd388","pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shifts~pages-index-~f295c115":"2dfb6358","pages-billing-index~pages-buycard-index~pages-member-list~pages-printer-add~pages-recharge-index~pag~986c8b27":"e030c63c","pages-billing-index":"bc62479d","pages-buycard-index":"695002f5","pages-member-list":"cb1a3df4","pages-recharge-index":"80e61780","pages-goods-goodslist":"c1e3a322","pages-index-change_shiftsrecord":"816048a8","pages-store-settlement_record":"07e58081","pages-stat-index":"f585ccd0","pages-stock-manage~pages-stock-records":"fe206ae6","pages-stock-manage":"619c9c26","pages-reserve-index":"30f70da0","pages-stock-add_allocate":"971ee765","pages-stock-records":"a658b0e0","pages-printer-add":"175619d6","pages-index-change_shifts":"397dae1f","pages-index-loading":"7bfed257","pages-index-no_permission":"19751260","pages-login-login":"c6b9ad7f","pages-order-orderlist~pages-order-rechargeorder":"f72fd123","pages-order-orderlist":"d02b0ad8","pages-order-rechargeorder":"7942c68a","pages-order-orderrefund":"d3f6473c","pages-printer-list":"15f87157","pages-refund-list":"b6a8b84e","pages-reserve-config":"82147b93","pages-stock-add_check":"2faebaac","pages-stock-allocate":"a36ae605","pages-stock-check":"764d8b48","pages-stock-stockin":"df2beeed","pages-stock-stockout":"9086ddd7","pages-stock-storage":"7801b05b","pages-stock-wastage":"05ef5391","pages-store-close":"6fbb1ea6","pages-store-config":"9ab9e858","pages-store-deliver":"0711b04d","pages-store-index":"68a985fb","pages-store-operate":"ae3f0caa","pages-user-list":"063431ea","pages-verify-index":"d2d209c1","pages-verify-list":"4bd289ae"}[e]+".js"}function s(n){if(o[n])return o[n].exports;var t=o[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,s),t.l=!0,t.exports}s.e=function(e){var n=[],t=i[e];if(0!==t)if(t)n.push(t[2]);else{var o=new Promise((function(n,o){t=i[e]=[n,o]}));n.push(t[2]=o);var a,c=document.createElement("script");c.charset="utf-8",c.timeout=120,s.nc&&c.setAttribute("nonce",s.nc),c.src=r(e);var d=new Error;a=function(n){c.onerror=c.onload=null,clearTimeout(u);var t=i[e];if(0!==t){if(t){var o=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;d.message="Loading chunk "+e+" failed.\n("+o+": "+a+")",d.name="ChunkLoadError",d.type=o,d.request=a,t[1](d)}i[e]=void 0}};var u=setTimeout((function(){a({type:"timeout",target:c})}),12e4);c.onerror=c.onload=a,document.head.appendChild(c)}return Promise.all(n)},s.m=e,s.c=o,s.d=function(e,n,t){s.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},s.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,n){if(1&n&&(e=s(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(s.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)s.d(t,o,function(n){return e[n]}.bind(null,o));return t},s.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return s.d(n,"a",n),n},s.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},s.p="/cashregister/",s.oe=function(e){throw console.error(e),e};var c=window["webpackJsonp"]=window["webpackJsonp"]||[],d=c.push.bind(c);c.push=n,c=c.slice();for(var u=0;u<c.length;u++)n(c[u]);var l=d;a.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("d5b9")},"02f5":function(e,n,t){var o=t("9494");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var i=t("4f06").default;i("fa96e6e2",o,!0,{sourceMap:!1,shadowMode:!1})},"184e":function(e,n,t){var o=t("d01a");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var i=t("4f06").default;i("c90d9fbe",o,!0,{sourceMap:!1,shadowMode:!1})},"1c91":function(e,n,t){"use strict";t.d(n,"b",(function(){return i})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var o={uniTransition:t("e67c").default},i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return e.showPopup?t("v-uni-view",{staticClass:"uni-popup",class:[e.popupstyle,e.isDesktop?"fixforpc-z-index":""],on:{touchmove:function(n){n.stopPropagation(),n.preventDefault(),arguments[0]=n=e.$handleEvent(n),e.clear.apply(void 0,arguments)}}},[t("v-uni-view",{on:{touchstart:function(n){arguments[0]=n=e.$handleEvent(n),e.touchstart.apply(void 0,arguments)}}},[e.maskShow?t("uni-transition",{key:"1",attrs:{name:"mask","mode-class":"fade",styles:e.maskClass,duration:e.duration,show:e.showTrans},on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.onTap.apply(void 0,arguments)}}}):e._e(),t("uni-transition",{key:"2",attrs:{"mode-class":e.ani,name:"content",styles:e.transClass,duration:e.duration,show:e.showTrans},on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.onTap.apply(void 0,arguments)}}},[t("v-uni-view",{staticClass:"uni-popup__wrapper",class:[e.popupstyle],style:{backgroundColor:e.bg},on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.clear.apply(void 0,arguments)}}},[e._t("default")],2)],1)],1),e.maskShow?t("keypress",{on:{esc:function(n){arguments[0]=n=e.$handleEvent(n),e.onTap.apply(void 0,arguments)}}}):e._e()],1):e._e()},a=[]},"1fbb":function(e,n,t){"use strict";t("ac1f"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={name:"uniDropdown",data:function(){return{showTrans:!1,maskClass:{position:"fixed",zIndex:1,bottom:0,top:0,left:0,right:0,backgroundColor:"rgba(0, 0, 0, 0)"},dropdownClass:{}}},methods:{open:function(){var e=this;this.showTrans=!0;var n=uni.createSelectorQuery().in(this);n.select(".dropdown-link").boundingClientRect((function(n){e.dropdownClass={position:"absolute",zIndex:1,top:"100%",right:"0px"}})).exec()},close:function(){this.showTrans=!1}}};n.default=o},2240:function(e,n,t){"use strict";var o=t("ef4c"),i=t.n(o);i.a},"23f9":function(e,n,t){"use strict";t.r(n);var o=t("599e"),i=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=i.a},"26b6":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={siteId:0,baseUrl:"{{$baseUrl}}",imgDomain:"{{$imgDomain}}",app:{appkey:"cashier",version:"1.0.1",version_no:"20220301001"}},i=o;n.default=i},3385:function(e,n,t){"use strict";t("7db0"),t("caad"),t("b64b"),t("2532"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={name:"Keypress",props:{disable:{type:Boolean,default:!1}},mounted:function(){var e=this,n={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},t=function(t){if(!e.disable){var o=Object.keys(n).find((function(e){var o=t.key,i=n[e];return i===o||Array.isArray(i)&&i.includes(o)}));o&&setTimeout((function(){e.$emit(o,{})}),0)}};document.addEventListener("keyup",t)},render:function(){}};n.default=o},"41d8":function(e,n,t){var o=t("24fb");n=o(!1),n.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */@font-face{font-family:iconfont; /* Project id 3668609 */src:url(//at.alicdn.com/t/c/font_3668609_pmap0ux9kkj.woff2?t=1667461226120) format("woff2"),url(//at.alicdn.com/t/c/font_3668609_pmap0ux9kkj.woff?t=1667461226120) format("woff"),url(//at.alicdn.com/t/c/font_3668609_pmap0ux9kkj.ttf?t=1667461226120) format("truetype")}.iconfont{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.iconshourujiesuan:before{content:"\\e655"}.iconqingchushujuku:before{content:"\\e632"}.iconpeisong:before{content:"\\e626"}.iconyunshangchuan:before{content:"\\e604"}.iconnavicon-chps:before{content:"\\e64d"}.iconyuyue:before{content:"\\e65f"}.icontianmaopeisonganzhuang:before{content:"\\e603"}.iconyunshupeisong:before{content:"\\e621"}.icontiaobodan:before{content:"\\e670"}.iconchukudan:before{content:"\\e671"}.iconrukudan:before{content:"\\e674"}.iconyuyuedingdan:before{content:"\\e8a2"}.iconkucunguanli:before{content:"\\e613"}.iconkucunpandian:before{content:"\\e675"}.icondayin:before{content:"\\e61d"}.icongongyingshang:before{content:"\\e61f"}.icondingdandingdanchaxun:before{content:"\\e791"}.icondingdan:before{content:"\\e62f"}.icon12jiaobanbiao:before{content:"\\e6b1"}.iconhexiao:before{content:"\\e606"}.iconqia:before{content:"\\e782"}.iconicon_yingyongguanli:before{content:"\\eb8f"}.iconyuyueguanli:before{content:"\\e62c"}.iconkaidan:before{content:"\\e61b"}.iconinvisible:before{content:"\\e9af"}.iconyanjing5:before{content:"\\e728"}.icondianpu:before{content:"\\e66e"}.iconxiala:before{content:"\\e6b9"}.iconfanhui:before{content:"\\e64a"}.iconfuxuankuang1:before{content:"\\e68e"}.iconfuxuankuang2:before{content:"\\e68f"}.iconcheckbox_weiquanxuan:before{content:"\\e650"}.iconwushuju:before{content:"\\e642"}.iconqianhou1:before{content:"\\e640"}.iconqianhou2:before{content:"\\e641"}.iconguanbi:before{content:"\\e600"}.iconright-s:before{content:"\\e627"}.iconleft-s:before{content:"\\e628"}.icongengduo:before{content:"\\e63c"}.icon31sousuo:before{content:"\\e601"}.iconguanbi1:before{content:"\\e723"}.iconsanjiao_xia:before{content:"\\e63d"}.iconjifen:before{content:"\\e659"}.iconxianjin:before{content:"\\e637"}.iconhongbao:before{content:"\\e672"}.iconchengchangzhi:before{content:"\\e633"}.iconyouhuiquan1:before{content:"\\e6f1"}.iconyinhangqia:before{content:"\\e936"}.iconwxpay:before{content:"\\e611"}.icontubiao_zhifu_zhifubaozhifu:before{content:"\\e690"}.iconduigou1:before{content:"\\e64f"}.iconchenggong:before{content:"\\e644"}.iconfuwuguanli:before{content:"\\e625"}.iconliuliangshuju:before{content:"\\e62d"}.iconkehuguanli:before{content:"\\e697"}.iconqitajilu:before{content:"\\e622"}.icondingdanguanli:before{content:"\\e634"}.iconcaiwubaobiao:before{content:"\\e6e7"}.iconyingyeshujuguanliputong:before{content:"\\e62e"}.iconjichuban-sanjidaohang-kehushuju:before{content:"\\e649"}.icontubiaozhizuomoban-:before{content:"\\e60c"}.iconbangzhu:before{content:"\\e61c"}.iconweb-icon-:before{content:"\\e6d6"}.icon065chakandingdan:before{content:"\\e643"}.icongengduo1:before{content:"\\e73a"}.iconsaoyisaosaoma:before{content:"\\e751"}.iconjia:before{content:"\\e8e1"}.iconfuwudingdan:before{content:"\\e616"}.iconchongzhidingdan:before{content:"\\e64b"}.iconhuiyuandingdan:before{content:"\\e602"}.iconshangpinguanli:before{content:"\\e619"}.iconshoukadingdan:before{content:"\\e623"}.iconshouyindingdanjine:before{content:"\\e739"}.iconyundanguanli:before{content:"\\e6cc"}.icongoumaicika:before{content:"\\e673"}.iconjishi:before{content:"\\e935"}.icontuichu:before{content:"\\e66f"}.icondizhi:before{content:"\\e614"}.iconshijian:before{content:"\\e629"}.iconjian:before{content:"\\e620"}.iconweixinzhifu:before{content:"\\e635"}.iconjifen1:before{content:"\\e65e"}.iconzhifubaozhifu:before{content:"\\e651"}.iconyouhui-:before{content:"\\e607"}.iconyouhuiquan:before{content:"\\e7d8"}.iconhongbao1:before{content:"\\e662"}.iconyue:before{content:"\\e6b7"}.iconduihao:before{content:"\\e654"}.iconsaomaqiang:before{content:"\\e631"}.iconjianmianjine:before{content:"\\e6ab"}.iconxuanzhong:before{content:"\\e7df"}.iconxianjin1:before{content:"\\e62a"}.iconyuan_checkbox:before{content:"\\e72f"}.iconyuan_checked:before{content:"\\e733"}.iconzengpin:before{content:"\\e693"}.icontuikuanjilu:before{content:"\\e73b"}.uni-app--showleftwindow + .uni-tabbar-bottom{display:none}\r\n/* 收银台相关 */uni-text,\r\nuni-view{font-size:.14rem}body{min-width:1200px;overflow-x:unset!important;overflow-y:hidden;background:#eff0f4}body::-webkit-scrollbar{width:.06rem;height:.06rem}body::-webkit-scrollbar-button{display:none}body::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}body::-webkit-scrollbar-track{background-color:initial}uni-radio{-webkit-transform:scale(.8);transform:scale(.8)}uni-checkbox{-webkit-transform:scale(.8);transform:scale(.8)}\r\n/*每个页面公共css */.uni-flex{display:flex;flex-direction:row}.uni-flex-item{flex:1}.uni-row{flex-direction:row}.uni-column{flex-direction:column}.height-all{min-height:100%}.common-wrap{box-sizing:border-box;background:#fff}.common-scrollbar::-webkit-scrollbar, .common-scrollbar .uni-scroll-view::-webkit-scrollbar{width:.06rem;height:.06rem;background-color:transparent}.common-scrollbar::-webkit-scrollbar-button, .common-scrollbar .uni-scroll-view::-webkit-scrollbar-button{display:none}.common-scrollbar::-webkit-scrollbar-thumb, .common-scrollbar .uni-scroll-view::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}.common-scrollbar::-webkit-scrollbar-track, .common-scrollbar .uni-scroll-view::-webkit-scrollbar-track{background-color:initial}.common-headimg{overflow:hidden;border-radius:50%}.common-headimg uni-image{width:100%}.common-tab-wrap{height:.53rem;border-bottom:.01rem solid #e6e6e6;display:flex;padding:0 .2rem;position:relative}.common-tab-wrap .tab-item{height:.53rem;line-height:.53rem;padding:0 .2rem;cursor:pointer}.common-tab-wrap .tab-item:first-child{padding-left:0}.common-tab-wrap .tab-item.active-bar{color:#8558fa}.common-tab-wrap .active{position:absolute;width:0;height:.03rem;border-radius:.03rem;background:#8558fa;bottom:-.01rem;left:0;transition:-webkit-transform .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1)}.common-table-action uni-text{margin-left:.1rem;color:#8558fa;cursor:pointer;transition:all .3s}.common-table-action uni-text:hover{color:rgba(133,88,250,.6)}.common-table-batch{display:flex}.common-table-batch uni-button{width:auto!important;margin:.1rem 0 .1rem .1rem!important;font-size:.12rem}.primary-btn{font-size:.14rem;transition:.1s;border-radius:.02rem;border-width:.01rem!important;background:#8558fa!important;color:#fff!important}.primary-btn:after{border-radius:.02rem!important}.primary-btn:hover{background-color:rgba(133,88,250,.6)!important}.primary-btn[disabled]{background:rgba(133,88,250,.6)!important;border-color:rgba(133,88,250,.6)!important;color:#fff!important}.primary-btn[disabled]:hover{background:rgba(133,88,250,.6)!important;border-color:rgba(133,88,250,.6)!important;color:#fff!important}.default-btn{font-size:.14rem;transition:.1s;border-radius:.02rem;border-width:.01rem!important;background:#fff!important;color:#606266!important;border-color:#606266!important}.default-btn:after{border-radius:.02rem!important}.default-btn:hover{color:#8558fa!important;border-color:#8558fa!important}.default-btn:hover:after{border-color:#8558fa!important}.default-btn[plain]{color:#8558fa!important;border-color:#8558fa!important;background-color:rgba(133,88,250,.1)!important}.default-btn[plain]:after{border-color:#8558fa!important}.default-btn[plain]:hover{background:#8558fa!important;color:#fff!important}.default-btn[plain][disabled]{color:#ddd!important;border-color:#e6e6e6!important;background:#f5f5f5!important}.default-btn[plain][disabled]:after{border-color:#e6e6e6!important}.default-btn[plain][disabled]:hover{color:#ddd!important;border-color:#e6e6e6!important}.default-btn[disabled]{color:#ddd!important;border-color:#e6e6e6!important;background:#f5f5f5!important}.default-btn[disabled]:after{border-color:#e6e6e6!important}.default-btn[disabled]:hover{color:#ddd!important;border-color:#e6e6e6!important}\r\n/* 公共数字键盘 */.keyboard-wrap{width:5rem;margin-top:.2rem;display:flex}.keyboard-wrap .num-wrap{flex:1;width:0;display:flex;flex-wrap:wrap;justify-content:center}.keyboard-wrap .num-wrap .key-item{margin:.1rem .1rem 0 0;background:#f5f5f5;min-width:calc((100% - .3rem) / 3);text-align:center;padding:.15rem 0;border-radius:.05rem;font-size:.16rem;font-weight:700;transtion:all .3s;cursor:pointer}.keyboard-wrap .num-wrap .key-item:hover{background:#ddd}.keyboard-wrap .num-wrap .key-item.empty:hover{background:#f5f5f5}.keyboard-wrap .operation-wrap{display:flex;flex-direction:column;width:1rem}.keyboard-wrap .operation-wrap .delete,\r\n.keyboard-wrap .operation-wrap .confirm{background:#f5f5f5;min-width:calc((100% - .3rem) / 3);text-align:center;padding:.15rem 0;margin-top:.1rem;border-radius:.05rem;font-size:.16rem;cursor:pointer;transtion:all .3s}.keyboard-wrap .operation-wrap .delete:hover,\r\n.keyboard-wrap .operation-wrap .confirm:hover{background:#ddd}.keyboard-wrap .operation-wrap .confirm{flex:1;background:#8558fa;display:flex;justify-content:center;align-items:center;color:#fff}.keyboard-wrap .operation-wrap .confirm:hover{background:rgba(133,88,250,.9)}\r\n/* 单行超出隐藏 */.using-hidden{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}\r\n/* 多行超出隐藏 */.multi-hidden{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.common-form.fixd{padding-bottom:.7rem!important}.common-form.fixd .common-btn-wrap{position:fixed;z-index:2;background-color:#fff;bottom:0;left:.9rem;right:.07rem;height:.6rem;padding-bottom:.05rem;display:flex;align-items:center;margin-left:0}.common-form.fixd .common-btn-wrap uni-button{flex:1;height:.4rem;line-height:.4rem}.common-form .common-form-item{display:flex;flex-wrap:wrap;align-items:center;margin-bottom:.15rem}.common-form .common-form-item .form-label{padding:.09rem .15rem;text-align:right;width:1.1rem;box-sizing:border-box}.common-form .common-form-item .form-label .required{color:red;margin-right:.03rem}.common-form .common-form-item .form-input{height:.35rem;line-height:.35rem;width:100%;padding-left:.1rem;box-sizing:border-box;font-size:.14rem}.common-form .common-form-item .form-inline{display:flex;align-items:center;flex-wrap:wrap}.common-form .common-form-item .form-input-inline{width:1.9rem;border:.01rem solid #e6e6e6;margin-right:10px;background-color:#fff;font-size:.14rem}.common-form .common-form-item .form-input-inline.short{width:.5rem}.common-form .common-form-item .form-input-inline.long{width:4rem}.common-form .common-form-item .form-input-block{flex:1;border:.01rem solid #e6e6e6;background-color:#fff}.common-form .common-form-item .form-mid{margin-right:.1rem}.common-form .common-form-item .form-word-aux{margin-right:.1rem;color:#999;font-size:.14rem}.common-form .common-form-item .form-word-aux-line{flex-basis:100%;color:#999;margin-left:1.1rem;margin-top:.1rem}.common-form .common-form-item .input-placeholder{font-size:.14rem}.common-form .common-form-item .form-checkbox-group, .common-form .common-form-item .form-radio-group{display:flex;align-items:center}.common-form .common-form-item .form-checkbox-item, .common-form .common-form-item .form-radio-item{margin-right:%?26?%;display:flex;align-items:center}.common-form .common-form-item .uni-radio-input, .common-form .common-form-item .uni-checkbox-input{width:%?36?%;height:%?36?%}.common-form .common-btn-wrap{margin-left:1.1rem}.common-form .common-btn-wrap uni-button{display:inline-block;padding:0 .2rem;margin-right:.1rem;height:.36rem;line-height:.36rem;font-size:.14rem;border-radius:%?6?%}.common-form .common-btn-wrap .screen-btn{background-color:#8558fa;color:#fff}.uni-radio-wrapper .uni-radio-input-checked{background-color:#8558fa!important;border-color:#8558fa!important}.uni-radio-wrapper .uni-radio-input:hover{border-color:#8558fa!important}.uni-checkbox-wrapper .uni-checkbox-input-checked{color:#8558fa!important}uni-toast .uni-toast__content{font-size:.16rem!important}',""]),e.exports=n},4736:function(e,n,t){"use strict";var o=t("9a58"),i=t.n(o);i.a},"52cf":function(e,n,t){"use strict";var o=t("184e"),i=t.n(o);i.a},"53ed":function(e,n,t){"use strict";t.d(n,"b",(function(){return i})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var o={uniDropdown:t("5ce4").default,uniPopup:t("ffaf").default},i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("v-uni-view",[t("v-uni-view",{staticClass:"aside-container"},[t("v-uni-view",{staticClass:"aside-headimg"},[t("uni-dropdown",[t("v-uni-view",{staticClass:"head-box",attrs:{slot:"dropdown-link"},on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.$refs.moreMenu.close()}},slot:"dropdown-link"},[e.storeInfo&&e.storeInfo.store_image&&!e.logoError?t("v-uni-image",{attrs:{src:e.$util.img(e.storeInfo.store_image),mode:"aspectFit"},on:{error:function(n){arguments[0]=n=e.$handleEvent(n),e.logoError=!0}}}):t("v-uni-image",{attrs:{src:e.$util.img("public/uniapp/default_img/goods.png"),mode:"aspectFit"}})],1),t("v-uni-view",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("v-uni-view",{staticClass:"dropdown-menu"},[e.userInfo?t("v-uni-view",{staticClass:"menu-item",on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.changePassword.apply(void 0,arguments)}}},[e._v(e._s(e.userInfo?e.userInfo.username:"")),t("i",{staticClass:"iconfont iconqianhou2"})]):e._e(),t("v-uni-view",{staticClass:"menu-item"},[e._v("门店名称:"+e._s(e.storeInfo?e.storeInfo.store_name:""))]),e.storeList.length>1?t("v-uni-view",{staticClass:"menu-item",on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.switchStore()}}},[e._v("切换门店")]):e._e(),t("v-uni-view",{staticClass:"menu-item logout",on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.$refs.logout.open()}}},[e._v("退出登录"),t("i",{staticClass:"iconfont icontuichu"})]),t("v-uni-view",{staticClass:"arrow"})],1)],1)],1)],1),t("v-uni-view",{staticClass:"menu-wrap"},[e._l(e.menu,(function(n,o){return[t("v-uni-view",{key:o+"_0",staticClass:"menu-item",class:{active:o==e.first},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.firstMenu(n,o)}}},[t("v-uni-view",{staticClass:"iconfont",class:n.icon}),t("v-uni-view",[e._v(e._s(n.title))])],1)]}))],2)],1),t("uni-popup",{ref:"passwordPopup"},[t("v-uni-view",{staticClass:"password-popup"},[t("v-uni-view",{staticClass:"head"},[e._v("修改密码")]),t("v-uni-view",{staticClass:"common-form body"},[t("v-uni-view",{staticClass:"common-form-item"},[t("v-uni-view",{staticClass:"form-label"},[t("v-uni-text",{staticClass:"required"},[e._v("*")]),e._v("原密码")],1),t("v-uni-view",{staticClass:"form-input-inline"},[t("v-uni-input",{staticClass:"form-input",attrs:{type:"text",password:!0,placeholder:"请输入原密码"},model:{value:e.codeData.old_pass,callback:function(n){e.$set(e.codeData,"old_pass",n)},expression:"codeData.old_pass"}})],1)],1),t("v-uni-view",{staticClass:"common-form-item"},[t("v-uni-view",{staticClass:"form-label"},[t("v-uni-text",{staticClass:"required"},[e._v("*")]),e._v("新密码")],1),t("v-uni-view",{staticClass:"form-input-inline"},[t("v-uni-input",{staticClass:"form-input",attrs:{type:"text",password:!0,placeholder:"请输入新密码"},model:{value:e.codeData.new_pass,callback:function(n){e.$set(e.codeData,"new_pass",n)},expression:"codeData.new_pass"}})],1)],1),t("v-uni-view",{staticClass:"common-form-item"},[t("v-uni-view",{staticClass:"form-label"},[t("v-uni-text",{staticClass:"required"},[e._v("*")]),e._v("确认新密码")],1),t("v-uni-view",{staticClass:"form-input-inline"},[t("v-uni-input",{staticClass:"form-input",attrs:{type:"text",password:!0,placeholder:"请输入新密码"},model:{value:e.codeData.confirm_new_pass,callback:function(n){e.$set(e.codeData,"confirm_new_pass",n)},expression:"codeData.confirm_new_pass"}})],1)],1),t("v-uni-view",{staticClass:"common-btn-wrap"},[t("v-uni-button",{staticClass:"primary-btn screen-btn",attrs:{type:"default"},on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.modifyPasswordFn.apply(void 0,arguments)}}},[e._v("确定")]),t("v-uni-button",{staticClass:"default-btn",attrs:{type:"default"},on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.$refs.passwordPopup.close()}}},[e._v("取消")])],1)],1)],1)],1),t("uni-popup",{ref:"moreMenu"},[t("v-uni-scroll-view",{staticClass:"more-menu-scroll common-scrollbar",attrs:{"scroll-y":"true"}},[t("v-uni-view",{staticClass:"more-menu"},[e._l(e.moreMenu,(function(n,o){return[n.children&&n.children.length?[t("v-uni-view",{staticClass:"title"},[e._v(e._s(n.title))]),t("v-uni-view",{staticClass:"child-menu-wrap"},[e._l(n.children,(function(n,i){return[t("v-uni-view",{key:i+"_0",staticClass:"menu-item",class:{active:o==e.second&&i==e.third},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.thirdMenu(n,o,i)}}},[t("v-uni-view",{staticClass:"iconfont",class:n.icon}),t("v-uni-view",[e._v(e._s(n.title))])],1)]}))],2)]:e._e()]}))],2)],1)],1),t("uni-popup",{ref:"storePop"},[t("v-uni-view",{staticClass:"pop-box store-select"},[t("v-uni-view",{staticClass:"pop-header"},[t("v-uni-view",{staticClass:"pop-header-text"},[e._v("选择门店")]),t("v-uni-view",{staticClass:"pop-header-close",on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.$refs.storePop.close()}}},[t("i",{staticClass:"iconguanbi1 iconfont"})])],1),t("v-uni-scroll-view",{staticClass:"common-scrollbar pop-content",attrs:{"scroll-y":"true"}},[t("v-uni-view",{staticClass:"content-lists"},e._l(e.storeList,(function(n,o){return t("v-uni-view",{key:o,staticClass:"content-items",class:{active:e.storeInfo&&e.storeInfo.store_id==n.store_id},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.selectStore(n)}}},[t("v-uni-view",{staticClass:"item-img"},[n.store_image?t("v-uni-image",{attrs:{src:e.$util.img(n.store_image,{size:"small"}),mode:"aspectFit"}}):t("v-uni-image",{attrs:{src:e.$util.img("public/uniapp/cashier/store_default.png"),mode:"aspectFit"}})],1),t("v-uni-view",{staticClass:"item-info"},[t("v-uni-view",{staticClass:"item-name"},[e._v(e._s(n.store_name))]),t("v-uni-view",{staticClass:"item-phone"},[t("i",{staticClass:"iconfont iconshijian"}),e._v(e._s(n.open_date?n.open_date:"营业时间请联系管理员"))]),t("v-uni-view",{staticClass:"item-addr"},[t("i",{staticClass:"iconfont icondizhi"}),e._v(e._s(n.full_address))])],1)],1)})),1)],1),t("v-uni-view",{staticClass:"pop-bottom"},[t("v-uni-button",{staticClass:"primary-btn",on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.$refs.storePop.close()}}},[e._v("确定")])],1)],1)],1),t("uni-popup",{ref:"logout",attrs:{type:"center"}},[t("v-uni-view",{staticClass:"logout-popup"},[t("v-uni-view",{staticClass:"title"},[e._v("确定退出系统?系统将自动交班")]),t("v-uni-view",{staticClass:"btn"},[t("v-uni-button",{staticClass:"default-btn btn save",attrs:{type:"primary"},on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.$refs.logout.close()}}},[e._v("取消")]),t("v-uni-button",{staticClass:"primary-btn btn",attrs:{type:"primary"},on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.logout.apply(void 0,arguments)}}},[e._v("确定")])],1)],1)],1)],1)},a=[]},5438:function(e,n,t){var o=t("24fb");n=o(!1),n.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-app--showleftwindow + .uni-tabbar-bottom[data-v-cec6a118]{display:none}\r\n/* 收银台相关 */uni-text[data-v-cec6a118],\r\nuni-view[data-v-cec6a118]{font-size:.14rem}body[data-v-cec6a118]{min-width:1200px;overflow-x:unset!important;overflow-y:hidden;background:#eff0f4}body[data-v-cec6a118]::-webkit-scrollbar{width:.06rem;height:.06rem}body[data-v-cec6a118]::-webkit-scrollbar-button{display:none}body[data-v-cec6a118]::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}body[data-v-cec6a118]::-webkit-scrollbar-track{background-color:initial}uni-radio[data-v-cec6a118]{-webkit-transform:scale(.8);transform:scale(.8)}uni-checkbox[data-v-cec6a118]{-webkit-transform:scale(.8);transform:scale(.8)}[data-v-cec6a118] .aside-headimg .dropdown-box{left:0!important;right:unset!important}.aside-container[data-v-cec6a118]{position:fixed;top:0;width:.8rem;height:100vh;background-color:#272738;font-size:.12rem;color:#fff;z-index:1000}.aside-headimg[data-v-cec6a118]{width:100%;height:.8rem;display:flex;align-items:center;justify-content:center;cursor:pointer}.aside-headimg .head-box uni-image[data-v-cec6a118]{border-radius:50%;width:.4rem;height:.4rem}.menu-wrap[data-v-cec6a118]{height:calc(100vh - .56rem - 0rem);overflow-y:scroll}.menu-wrap[data-v-cec6a118]::-webkit-scrollbar{display:none}.menu-wrap .menu-item[data-v-cec6a118]{text-align:center;color:#ccc;font-size:.14rem;line-height:1;padding:.15rem 0;cursor:pointer}.menu-wrap .menu-item .iconfont[data-v-cec6a118]{font-size:.2rem;margin-bottom:.1rem}.menu-wrap .menu-item.active[data-v-cec6a118]{background:#8558fa;color:#fff}.more-menu-scroll[data-v-cec6a118]{height:calc(100vh - 0rem);margin-top:0;background-color:#fff}.more-menu[data-v-cec6a118]{width:3rem;background:#fff;box-sizing:initial;padding-left:.8rem;height:100%}.more-menu .title[data-v-cec6a118]{font-size:.2rem;font-weight:400;color:#303133;line-height:.36rem;padding:.2rem}.child-menu-wrap[data-v-cec6a118]{padding:0 .2rem;display:flex;flex-wrap:wrap}.child-menu-wrap .menu-item[data-v-cec6a118]{width:.8rem;height:.8rem;display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:.14rem;color:#303133;background:#f5f5f5;cursor:pointer;margin:0 .1rem .1rem 0}.child-menu-wrap .menu-item[data-v-cec6a118]:nth-child(3n + 3){margin-right:0}.child-menu-wrap .menu-item uni-view[data-v-cec6a118]{line-height:1}.child-menu-wrap .menu-item .iconfont[data-v-cec6a118]{font-size:.23rem;margin-bottom:.1rem}.child-menu-wrap .menu-item.active[data-v-cec6a118]{background-color:rgba(133,88,250,.2);color:#8558fa}[data-v-cec6a118] .uni-popup{z-index:999}.dropdown-menu[data-v-cec6a118]{padding:0 0;margin-top:.15rem;background-color:#fff;border:.01rem solid #ebeef5;border-radius:.04rem;box-shadow:0 .01rem .12rem 0 rgba(0,0,0,.1);position:relative;width:3rem}.dropdown-menu .arrow[data-v-cec6a118]{position:absolute;top:-.1rem;left:.08rem;width:0;height:0;border-left:.1rem solid transparent;border-right:.1rem solid transparent;border-bottom:.1rem solid #fff}.dropdown-menu .menu-item[data-v-cec6a118]{width:calc(100% - .2rem);height:.57rem;display:flex;align-items:center;justify-content:space-between;margin:0 .1rem;padding:.05rem .05rem;text-align:center;cursor:pointer;color:#303133;box-sizing:border-box;border-bottom:.01rem solid #e6e6e6}.dropdown-menu .menu-item[data-v-cec6a118]:hover{color:#8558fa}.dropdown-menu .menu-item .iconfont[data-v-cec6a118]{color:#999}.dropdown-menu .menu-item[data-v-cec6a118]:nth-child(3){border:0}.dropdown-menu .menu-item.logout[data-v-cec6a118]{margin:0;background-color:#eff0f4;padding:.05rem .15rem;width:100%}.pop-box[data-v-cec6a118]{background:#fff;width:6rem;height:4rem}.pop-box .pop-header[data-v-cec6a118]{padding:0 .15rem 0 .2rem;height:.5rem;line-height:.5rem;border-bottom:.01rem solid #f0f0f0;font-size:.14rem;color:#333;overflow:hidden;border-radius:.02rem .2rem 0 0;box-sizing:border-box;display:flex;justify-content:space-between}.pop-box .pop-header .pop-header-close[data-v-cec6a118]{cursor:pointer}.pop-box .pop-header .pop-header-close i[data-v-cec6a118]{font-size:.18rem}.pop-box .pop-content[data-v-cec6a118]{height:calc(100% - 1.05rem);overflow-y:scroll;padding:.2rem;box-sizing:border-box}.pop-box .pop-bottom[data-v-cec6a118]{padding:.1rem;height:.65rem;border-top:.01rem solid #eee}.pop-box .pop-bottom uni-button[data-v-cec6a118]{width:1rem}.store-select .content-lists[data-v-cec6a118]{width:calc(100% - .2rem);padding-bottom:.2rem}.store-select .content-lists .content-items[data-v-cec6a118]{cursor:pointer;border-width:.01rem;border-color:#ccc;border-style:solid;padding:.15rem;border-radius:.03rem;margin-bottom:.1rem;display:flex}.store-select .content-lists .content-items .item-info[data-v-cec6a118]{margin-left:.1rem}.store-select .content-lists .content-items .item-info .item-name[data-v-cec6a118]{font-size:.16rem;font-weight:600}.store-select .content-lists .content-items .item-info .item-phone[data-v-cec6a118]{margin-top:.08rem;color:#999}.store-select .content-lists .content-items .item-info .item-phone i[data-v-cec6a118]{margin-right:.05rem;font-size:.14rem}.store-select .content-lists .content-items .item-info .item-addr[data-v-cec6a118]{margin-top:.03rem;color:#999}.store-select .content-lists .content-items .item-info .item-addr i[data-v-cec6a118]{font-size:.14rem;margin-right:.05rem}.store-select .content-lists .content-items .item-img[data-v-cec6a118]{width:.7rem;height:.7rem}.store-select .content-lists .content-items .item-img uni-image[data-v-cec6a118]{width:100%;height:100%}.store-select .content-lists .content-items.active[data-v-cec6a118]{border-color:#8558fa}.password-popup[data-v-cec6a118]{background-color:#fff;width:4.5rem}.password-popup .head[data-v-cec6a118]{padding:0 .2rem;height:.5rem;line-height:.5rem;margin-bottom:.1rem}.password-popup .body[data-v-cec6a118]{padding:0 .1rem .2rem .3rem}.logout-popup[data-v-cec6a118]{width:3rem;min-height:1.5rem;border-radius:.06rem;background:#fff;padding:.4rem .15rem 0;box-sizing:border-box}.logout-popup .title[data-v-cec6a118]{font-size:.16rem;text-align:center}.logout-popup .btn[data-v-cec6a118]{width:100%;display:flex;align-items:center;justify-content:center;margin-top:.3rem}.logout-popup .btn .btn[data-v-cec6a118]{width:36%;height:auto;padding:0 .15rem;margin:0;height:.35rem}.logout-popup .btn .btn[data-v-cec6a118]:last-child{margin-left:.25rem}',""]),e.exports=n},"599e":function(e,n,t){"use strict";var o=t("4ea4");t("c975"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=o(t("3385")),a={name:"uniPopup",components:{keypress:i.default},emits:["change","maskClick"],props:{animation:{type:Boolean,default:!0},type:{type:String,default:"center"},maskClick:{type:Boolean,default:!0},backgroundColor:{type:String,default:"none"},safeArea:{type:Boolean,default:!0},customPosition:{type:Object,default:function(){return{}}}},watch:{type:{handler:function(e){this.config[e]&&this[this.config[e]](!0)},immediate:!0},isDesktop:{handler:function(e){this.config[e]&&this[this.config[this.type]](!0)},immediate:!0},maskClick:{handler:function(e){this.mkclick=e},immediate:!0}},data:function(){return{duration:300,ani:[],showPopup:!1,showTrans:!1,popupWidth:0,popupHeight:0,config:{top:"top",bottom:"bottom",center:"center",left:"left",right:"right",message:"top",dialog:"center",share:"bottom",custom:"custom"},maskClass:{position:"fixed",bottom:0,top:0,left:0,right:0,backgroundColor:"rgba(0, 0, 0, 0.4)"},transClass:{position:"fixed",left:0,right:0},maskShow:!0,mkclick:!0,popupstyle:this.isDesktop?"fixforpc-top":"top"}},computed:{isDesktop:function(){return this.popupWidth>=500&&this.popupHeight>=500},bg:function(){return""===this.backgroundColor||"none"===this.backgroundColor?"transparent":this.backgroundColor}},mounted:function(){var e=this,n=function(){var n=uni.getSystemInfoSync(),t=n.windowWidth,o=n.windowHeight,i=n.windowTop,a=n.safeAreaInsets;e.popupWidth=t,e.popupHeight=o+i,e.safeArea?e.safeAreaInsets=a:e.safeAreaInsets=0};n()},created:function(){this.mkclick=this.maskClick,this.animation?this.duration=300:this.duration=0,this.messageChild=null,this.clearPropagation=!1},methods:{closeMask:function(){this.maskShow=!1},disableMask:function(){this.mkclick=!1},clear:function(e){e.stopPropagation(),this.clearPropagation=!0},open:function(e){var n=["top","center","bottom","left","right","message","dialog","custom","share"];e&&-1!==n.indexOf(e)||(e=this.type),this.config[e]?(this[this.config[e]](),this.$emit("change",{show:!0,type:e})):console.error("缺少类型:",e)},close:function(e){var n=this;this.showTrans=!1,this.$emit("change",{show:!1,type:this.type}),clearTimeout(this.timer),this.timer=setTimeout((function(){n.showPopup=!1}),300)},touchstart:function(){this.clearPropagation=!1},onTap:function(){this.clearPropagation?this.clearPropagation=!1:(this.$emit("maskClick"),this.mkclick&&this.close())},custom:function(e){console.log(e),this.popupstyle="center",this.ani=["zoom-out","fade"],this.transClass=this.customPosition,e||(this.showPopup=!0,this.showTrans=!0)},top:function(e){var n=this;this.popupstyle=this.isDesktop?"fixforpc-top":"top",this.ani=["slide-top"],this.transClass={position:"fixed",left:0,right:0,backgroundColor:this.bg},e||(this.showPopup=!0,this.showTrans=!0,this.$nextTick((function(){n.messageChild&&"message"===n.type&&n.messageChild.timerClose()})))},bottom:function(e){this.popupstyle="bottom",this.ani=["slide-bottom"],this.transClass={position:"fixed",left:0,right:0,bottom:0,paddingBottom:this.safeAreaInsets&&this.safeAreaInsets.bottom||0,backgroundColor:this.bg},e||(this.showPopup=!0,this.showTrans=!0)},center:function(e){this.popupstyle="center",this.ani=["zoom-out","fade"],this.transClass={position:"fixed",display:"flex",flexDirection:"column",bottom:0,left:0,right:0,top:0,justifyContent:"center",alignItems:"center"},e||(this.showPopup=!0,this.showTrans=!0)},left:function(e){this.popupstyle="left",this.ani=["slide-left"],this.transClass={position:"fixed",left:0,bottom:0,top:0,backgroundColor:this.bg,display:"flex",flexDirection:"column"},e||(this.showPopup=!0,this.showTrans=!0)},right:function(e){this.popupstyle="right",this.ani=["slide-right"],this.transClass={position:"fixed",bottom:0,right:0,top:0,backgroundColor:this.bg,display:"flex",flexDirection:"column"},e||(this.showPopup=!0,this.showTrans=!0)}}};n.default=a},"5b7d":function(e,n,t){"use strict";var o=t("4ea4");t("99af"),t("4160"),t("a9e3"),t("ac1f"),t("5319"),t("159b"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=o(t("2909")),a=o(t("5530")),r=t("5f46"),s={name:"uniTransition",emits:["click","change"],props:{show:{type:Boolean,default:!1},modeClass:{type:[Array,String],default:function(){return"fade"}},duration:{type:Number,default:300},styles:{type:Object,default:function(){return{}}},customClass:{type:String,default:""}},data:function(){return{isShow:!1,transform:"",opacity:1,animationData:{},durationTime:300,config:{}}},watch:{show:{handler:function(e){e?this.open():this.isShow&&this.close()},immediate:!0}},computed:{stylesObject:function(){var e=(0,a.default)((0,a.default)({},this.styles),{},{"transition-duration":this.duration/1e3+"s"}),n="";for(var t in e){var o=this.toLine(t);n+=o+":"+e[t]+";"}return n},transformStyles:function(){return"transform:"+this.transform+";opacity:"+this.opacity+";"+this.stylesObject}},created:function(){this.config={duration:this.duration,timingFunction:"ease",transformOrigin:"50% 50%",delay:0},this.durationTime=this.duration},methods:{init:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.duration&&(this.durationTime=e.duration),this.animation=(0,r.createAnimation)(Object.assign(this.config,e))},onClick:function(){this.$emit("click",{detail:this.isShow})},step:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.animation){for(var t in e)try{var o;if("object"===typeof e[t])(o=this.animation)[t].apply(o,(0,i.default)(e[t]));else this.animation[t](e[t])}catch(a){console.error("方法 ".concat(t," 不存在"))}return this.animation.step(n),this}},run:function(e){this.animation&&this.animation.run(e)},open:function(){var e=this;clearTimeout(this.timer),this.transform="",this.isShow=!0;var n=this.styleInit(!1),t=n.opacity,o=n.transform;"undefined"!==typeof t&&(this.opacity=t),this.transform=o,this.$nextTick((function(){e.timer=setTimeout((function(){e.animation=(0,r.createAnimation)(e.config,e),e.tranfromInit(!1).step(),e.animation.run(),e.$emit("change",{detail:e.isShow})}),20)}))},close:function(e){var n=this;this.animation&&this.tranfromInit(!0).step().run((function(){n.isShow=!1,n.animationData=null,n.animation=null;var e=n.styleInit(!1),t=e.opacity,o=e.transform;n.opacity=t||1,n.transform=o,n.$emit("change",{detail:n.isShow})}))},styleInit:function(e){var n=this,t={transform:""},o=function(e,o){"fade"===o?t.opacity=n.animationType(e)[o]:t.transform+=n.animationType(e)[o]+" "};return"string"===typeof this.modeClass?o(e,this.modeClass):this.modeClass.forEach((function(n){o(e,n)})),t},tranfromInit:function(e){var n=this,t=function(e,t){var o=null;"fade"===t?o=e?0:1:(o=e?"-100%":"0","zoom-in"===t&&(o=e?.8:1),"zoom-out"===t&&(o=e?1.2:1),"slide-right"===t&&(o=e?"100%":"0"),"slide-bottom"===t&&(o=e?"100%":"0")),n.animation[n.animationMode()[t]](o)};return"string"===typeof this.modeClass?t(e,this.modeClass):this.modeClass.forEach((function(n){t(e,n)})),this.animation},animationType:function(e){return{fade:e?1:0,"slide-top":"translateY(".concat(e?"0":"-100%",")"),"slide-right":"translateX(".concat(e?"0":"100%",")"),"slide-bottom":"translateY(".concat(e?"0":"100%",")"),"slide-left":"translateX(".concat(e?"0":"-100%",")"),"zoom-in":"scaleX(".concat(e?1:.8,") scaleY(").concat(e?1:.8,")"),"zoom-out":"scaleX(".concat(e?1:1.2,") scaleY(").concat(e?1:1.2,")")}},animationMode:function(){return{fade:"opacity","slide-top":"translateY","slide-right":"translateX","slide-bottom":"translateY","slide-left":"translateX","zoom-in":"scale","zoom-out":"scale"}},toLine:function(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}}};n.default=s},"5ce4":function(e,n,t){"use strict";t.r(n);var o=t("f834"),i=t("c988");for(var a in i)"default"!==a&&function(e){t.d(n,e,(function(){return i[e]}))}(a);t("4736");var r,s=t("f0c5"),c=Object(s["a"])(i["default"],o["b"],o["c"],!1,null,"0a9aaafb",null,!1,o["a"],r);n["default"]=c.exports},"5f46":function(e,n,t){"use strict";var o=t("4ea4");t("99af"),t("4160"),t("caad"),t("d3b7"),t("2532"),t("159b"),Object.defineProperty(n,"__esModule",{value:!0}),n.createAnimation=l;var i=o(t("5530")),a=o(t("d4ec")),r=o(t("bee2")),s=function(){function e(n,t){(0,a.default)(this,e),this.options=n,this.animation=uni.createAnimation(n),this.currentStepAnimates={},this.next=0,this.$=t}return(0,r.default)(e,[{key:"_nvuePushAnimates",value:function(e,n){var t=this.currentStepAnimates[this.next],o={};if(o=t||{styles:{},config:{}},c.includes(e)){o.styles.transform||(o.styles.transform="");var i="";"rotate"===e&&(i="deg"),o.styles.transform+="".concat(e,"(").concat(n+i,") ")}else o.styles[e]="".concat(n);this.currentStepAnimates[this.next]=o}},{key:"_animateRun",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=this.$.$refs["ani"].ref;if(t)return new Promise((function(o,a){nvueAnimation.transition(t,(0,i.default)({styles:e},n),(function(e){o()}))}))}},{key:"_nvueNextAnimate",value:function(e){var n=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2?arguments[2]:void 0,i=e[t];if(i){var a=i.styles,r=i.config;this._animateRun(a,r).then((function(){t+=1,n._nvueNextAnimate(e,t,o)}))}else this.currentStepAnimates={},"function"===typeof o&&o(),this.isEnd=!0}},{key:"step",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.animation.step(e),this}},{key:"run",value:function(e){this.$.animationData=this.animation.export(),this.$.timer=setTimeout((function(){"function"===typeof e&&e()}),this.$.durationTime)}}]),e}(),c=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"],d=["opacity","backgroundColor"],u=["width","height","left","right","top","bottom"];function l(e,n){if(n)return clearTimeout(n.timer),new s(e,n)}c.concat(d,u).forEach((function(e){s.prototype[e]=function(){var n;return(n=this.animation)[e].apply(n,arguments),this}}))},"5f4b":function(e,n,t){var o=t("24fb");n=o(!1),n.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-app--showleftwindow + .uni-tabbar-bottom[data-v-0a9aaafb]{display:none}\r\n/* 收银台相关 */uni-text[data-v-0a9aaafb],\r\nuni-view[data-v-0a9aaafb]{font-size:.14rem}body[data-v-0a9aaafb]{min-width:1200px;overflow-x:unset!important;overflow-y:hidden;background:#eff0f4}body[data-v-0a9aaafb]::-webkit-scrollbar{width:.06rem;height:.06rem}body[data-v-0a9aaafb]::-webkit-scrollbar-button{display:none}body[data-v-0a9aaafb]::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}body[data-v-0a9aaafb]::-webkit-scrollbar-track{background-color:initial}uni-radio[data-v-0a9aaafb]{-webkit-transform:scale(.8);transform:scale(.8)}uni-checkbox[data-v-0a9aaafb]{-webkit-transform:scale(.8);transform:scale(.8)}.dropdown-mask[data-v-0a9aaafb]{position:fixed;top:0;left:0;width:100vw;height:100vh;background:none;z-index:9999}.dropdown[data-v-0a9aaafb]{position:relative}',""]),e.exports=n},"61ef":function(e,n,t){"use strict";t.r(n);var o=t("f2a4"),i=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=i.a},6333:function(e,n,t){"use strict";var o=t("4ea4");t("c975"),t("d81d"),t("ac1f"),t("1276"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=o(t("e143")),a=o(t("26cb")),r=o(t("b50a"));i.default.use(a.default);var s=new a.default.Store({state:{rootSize:"100px",first:0,second:-1,third:-1,currRoute:"",siteInfo:null,memberInfo:null,pendOrderNum:0,storeInfo:null,userInfo:null,addon:[],menu:[]},mutations:{setRootSize:function(e,n){e.rootSize=n},setMemuIndex:function(e,n){e[n.level]=n.index},setCurrRoute:function(e,n){e.currRoute=n},setSiteInfo:function(e,n){e.siteInfo=n},setMemberInfo:function(e,n){e.memberInfo=n},setPendOrderNum:function(e,n){e.pendOrderNum=n},setStoreInfo:function(e,n){e.storeInfo=n,uni.setStorageSync("store_info",n)},setAddon:function(e,n){e.addon=n},setUserInfo:function(e,n){e.userInfo=n},setMenu:function(e,n){e.menu=n}},actions:{getSiteInfo:function(){var e=this;r.default.sendRequest({url:"/siteapi/site/info",success:function(n){0==n.code&&e.commit("setSiteInfo",n.data)}})},getStoreInfo:function(e,n){var t=this;r.default.sendRequest({url:"/cashier/storeapi/store/info",success:function(e){if(0==e.code){if(e.data&&0==e.data.status)return void uni.navigateTo({url:"/pages/store/close"});t.commit("setStoreInfo",e.data),n&&n.callback&&n.callback()}}})},getAddonIsExit:function(){var e=this;r.default.sendRequest({url:"/storeapi/addon/addonisexit",success:function(n){0==n.code&&e.commit("setAddon",n.data)}})},getUserInfo:function(){var e=this;r.default.sendRequest({url:"/cashier/storeapi/user/userinfo",success:function(n){0==n.code&&e.commit("setUserInfo",n.data)}})},getUserGroup:function(){var e=this;r.default.sendRequest({url:"/cashier/storeapi/user/usergroupauth",success:function(n){if(0==n.code&&0==n.code&&n.data){var o,i=null!==(o=t("c6b1").default)&&void 0!==o?o:[],a=e.state.addon,r=function e(t,o){var i=[];return t.map((function(t){t.children&&(t.children=e(t.children,o)),t.addon&&-1==a.indexOf(t.addon)||t.name&&!n.data.is_admin&&o.length&&-1==o.indexOf(t.name)||i.push(t)})),i};i=r(JSON.parse(JSON.stringify(i)),n.data.menu_array?n.data.menu_array.split(","):[]),e.commit("setMenu",i)}}})}}}),c=s;n.default=c},"66d7":function(e,n,t){var o=t("41d8");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var i=t("4f06").default;i("43342b0b",o,!0,{sourceMap:!1,shadowMode:!1})},6760:function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return i})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return e.isShow?t("v-uni-view",{ref:"ani",class:e.customClass,style:e.transformStyles,attrs:{animation:e.animationData},on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.onClick.apply(void 0,arguments)}}},[e._t("default")],2):e._e()},a=[]},"7f33":function(e,n,t){"use strict";t.r(n);var o=t("fc5e"),i=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=i.a},"7fe3":function(e,n,t){"use strict";t("acd8"),t("ac1f"),t("5319"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={onShow:function(){this.setNavigationBarTitleText()},methods:{setNavigationBarTitleText:function(){var e=getCurrentPages(),n=e[e.length-1];if(n&&n.$holder&&n.$holder.navigationBarTitleText){var t=n.$holder.navigationBarTitleText;this.storeInfo&&(t+="-"+this.storeInfo.store_name),t!=n.$holder.navigationBarTitleText&&uni.setNavigationBarTitle({title:t})}}},filters:{moneyFormat:function(e){return isNaN(e)?e:parseFloat(e).toFixed(2)},timeFormat:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y-m-d h:i:s",t=new Date;t.setTime(1e3*e);var o=t.getFullYear(),i=t.getMonth()+1,a=t.getDate(),r=t.getHours(),s=t.getMinutes(),c=t.getSeconds();return n=n.replace("y",o),n=n.replace("m",i<10?"0"+i:i),n=n.replace("d",a<10?"0"+a:a),n=n.replace("h",r<10?"0"+r:r),n=n.replace("i",s<10?"0"+s:s),n=n.replace("s",c<10?"0"+c:c),n},refreshMemberInfo:function(){var e=this;this.memberInfo&&this.$api.sendRequest({url:"/cashier/storeapi/member/info",data:{member_id:this.memberInfo.member_id},success:function(n){0==n.code&&n.data&&e.$store.commit("setMemberInfo",n.data)}})}},computed:{getRootFontSize:function(){return this.$store.state.rootSize},siteInfo:function(){return this.$store.state.siteInfo},storeInfo:function(){return this.$store.state.storeInfo},memberInfo:function(){return this.$store.state.memberInfo}},watch:{"storeInfo.store_id":{handler:function(e,n){n&&"function"==typeof this.switchStoreAfter&&(this.switchStoreAfter(),this.setNavigationBarTitleText())},deep:!0}}};n.default=o},"8d69":function(e,n,t){"use strict";t.r(n);var o=t("5b7d"),i=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=i.a},9494:function(e,n,t){var o=t("24fb");n=o(!1),n.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-app--showleftwindow + .uni-tabbar-bottom[data-v-314bac5c]{display:none}\r\n/* 收银台相关 */uni-text[data-v-314bac5c],\r\nuni-view[data-v-314bac5c]{font-size:.14rem}body[data-v-314bac5c]{min-width:1200px;overflow-x:unset!important;overflow-y:hidden;background:#eff0f4}body[data-v-314bac5c]::-webkit-scrollbar{width:.06rem;height:.06rem}body[data-v-314bac5c]::-webkit-scrollbar-button{display:none}body[data-v-314bac5c]::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}body[data-v-314bac5c]::-webkit-scrollbar-track{background-color:initial}uni-radio[data-v-314bac5c]{-webkit-transform:scale(.8);transform:scale(.8)}uni-checkbox[data-v-314bac5c]{-webkit-transform:scale(.8);transform:scale(.8)}.uni-popup[data-v-314bac5c]{position:fixed;z-index:99}.uni-popup.top[data-v-314bac5c], .uni-popup.left[data-v-314bac5c], .uni-popup.right[data-v-314bac5c]{top:var(--window-top)}.uni-popup .uni-popup__wrapper[data-v-314bac5c]{display:block;position:relative\r\n /* iphonex 等安全区设置,底部安全区适配 */}.uni-popup .uni-popup__wrapper.left[data-v-314bac5c], .uni-popup .uni-popup__wrapper.right[data-v-314bac5c]{padding-top:var(--window-top);flex:1}.fixforpc-z-index[data-v-314bac5c]{z-index:999}.fixforpc-top[data-v-314bac5c]{top:0}',""]),e.exports=n},9751:function(e,n,t){"use strict";(function(e){var n=t("4ea4");t("13d5"),t("d3b7"),t("ac1f"),t("5319"),t("ddb0");var o=n(t("e143")),i=n(t("b185"));o.default.component("VUniLeftWindow",i.default);var a={keys:function(){return[]}};e["____403F1B1____"]=!0,delete e["____403F1B1____"],e.__uniConfig={globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#EFF0F4",backgroundColor:"#EFF0F4",background:"#22243a",pageOrientation:"landscape",animationType:"none",style:{"app-plus":{background:"#EFF0F4",bounceBackground:"#EFF0F4"}}},tabBar:{custom:!0,color:"#303133",selectedColor:"#fa5d14",backgroundColor:"#fff",borderStyle:"white",list:[{pagePath:"pages/billing/index",text:"开单",iconPath:"",selectedIconPath:"",redDot:!1,badge:""},{pagePath:"pages/reserve/index",text:"预约",iconPath:"",selectedIconPath:"",redDot:!1,badge:""},{pagePath:"pages/buycard/index",text:"售卡",iconPath:"",selectedIconPath:"",redDot:!1,badge:""},{pagePath:"pages/verify/index",text:"核销",iconPath:"",selectedIconPath:"",redDot:!1,badge:""},{pagePath:"pages/recharge/index",text:"充值",iconPath:"",selectedIconPath:"",redDot:!1,badge:""}]},easycom:{"layout-(.*)":"@/layout/components/layout-$1.vue","uni-(.*)":"@/components/uni-$1/uni-$1.vue","nc-(.*)":"@/components/nc-$1/nc-$1.vue","^unicloud-db$":"@dcloudio/uni-cli-shared/components/unicloud-db.vue","^uniad$":"@dcloudio/uni-cli-shared/components/uniad.vue","^ad-rewarded-video$":"@dcloudio/uni-cli-shared/components/ad-rewarded-video.vue","^ad-fullscreen-video$":"@dcloudio/uni-cli-shared/components/ad-fullscreen-video.vue","^ad-interstitial$":"@dcloudio/uni-cli-shared/components/ad-interstitial.vue","^ad-interactive$":"@dcloudio/uni-cli-shared/components/ad-interactive.vue","^page-meta$":"@dcloudio/uni-cli-shared/components/page-meta.vue","^navigation-bar$":"@dcloudio/uni-cli-shared/components/navigation-bar.vue","^uni-match-media$":"@dcloudio/uni-cli-shared/components/uni-match-media.vue"},leftWindow:{path:"layout/components/layout-aside.vue"}},e.__uniConfig.compilerVersion="3.6.4",e.__uniConfig.uniPlatform="h5",e.__uniConfig.appId="__UNI__403F1B1",e.__uniConfig.appName="收银台",e.__uniConfig.appVersion="1.0.0",e.__uniConfig.appVersionCode="101",e.__uniConfig.router={mode:"history",base:"/cashregister/"},e.__uniConfig.publicPath="/cashregister/",e.__uniConfig["async"]={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4},e.__uniConfig.debug=!1,e.__uniConfig.networkTimeout={request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},e.__uniConfig.sdkConfigs={maps:{qqmap:{key:"IZQBZ-3UHEU-WTCVD-2464U-I5N4V-ZFFU3"}}},e.__uniConfig.qqMapKey="IZQBZ-3UHEU-WTCVD-2464U-I5N4V-ZFFU3",e.__uniConfig.googleMapKey=void 0,e.__uniConfig.aMapKey=void 0,e.__uniConfig.aMapSecurityJsCode=void 0,e.__uniConfig.aMapServiceHost=void 0,e.__uniConfig.locale="",e.__uniConfig.fallbackLocale=void 0,e.__uniConfig.locales=a.keys().reduce((function(e,n){var t=n.replace(/\.\/(uni-app.)?(.*).json/,"$2"),o=a(n);return Object.assign(e[t]||(e[t]={}),o.common||o),e}),{}),e.__uniConfig.nvue={"flex-direction":"column"},e.__uniConfig.__webpack_chunk_load__=t.e,o.default.component("pages-billing-index",(function(e){var n={component:Promise.all([t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~6e3b87fb"),t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~0544f8f5"),t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shifts~pages-index-~f295c115"),t.e("pages-billing-index~pages-buycard-index~pages-member-list~pages-printer-add~pages-recharge-index~pag~986c8b27"),t.e("pages-billing-index")]).then(function(){return e(t("d96a"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-reserve-index",(function(e){var n={component:Promise.all([t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~6e3b87fb"),t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~0544f8f5"),t.e("pages-reserve-index")]).then(function(){return e(t("ffd6"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-buycard-index",(function(e){var n={component:Promise.all([t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~6e3b87fb"),t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~0544f8f5"),t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shifts~pages-index-~f295c115"),t.e("pages-billing-index~pages-buycard-index~pages-member-list~pages-printer-add~pages-recharge-index~pag~986c8b27"),t.e("pages-buycard-index")]).then(function(){return e(t("a1d7"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-recharge-index",(function(e){var n={component:Promise.all([t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~6e3b87fb"),t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~0544f8f5"),t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shifts~pages-index-~f295c115"),t.e("pages-billing-index~pages-buycard-index~pages-member-list~pages-printer-add~pages-recharge-index~pag~986c8b27"),t.e("pages-recharge-index")]).then(function(){return e(t("c583"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-verify-index",(function(e){var n={component:t.e("pages-verify-index").then(function(){return e(t("22f4"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-verify-list",(function(e){var n={component:t.e("pages-verify-list").then(function(){return e(t("530b"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-index-loading",(function(e){var n={component:t.e("pages-index-loading").then(function(){return e(t("c7fb"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-index-no_permission",(function(e){var n={component:t.e("pages-index-no_permission").then(function(){return e(t("9d36"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-index-change_shifts",(function(e){var n={component:Promise.all([t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shifts~pages-index-~f295c115"),t.e("pages-index-change_shifts")]).then(function(){return e(t("b533"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-index-change_shiftsrecord",(function(e){var n={component:Promise.all([t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~6e3b87fb"),t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~0544f8f5"),t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shifts~pages-index-~f295c115"),t.e("pages-index-change_shiftsrecord")]).then(function(){return e(t("62b0"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-login-login",(function(e){var n={component:t.e("pages-login-login").then(function(){return e(t("866a"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-member-list",(function(e){var n={component:Promise.all([t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~6e3b87fb"),t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~0544f8f5"),t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shifts~pages-index-~f295c115"),t.e("pages-billing-index~pages-buycard-index~pages-member-list~pages-printer-add~pages-recharge-index~pag~986c8b27"),t.e("pages-member-list")]).then(function(){return e(t("fa63"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-order-orderrefund",(function(e){var n={component:t.e("pages-order-orderrefund").then(function(){return e(t("5406"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-order-rechargeorder",(function(e){var n={component:Promise.all([t.e("pages-order-orderlist~pages-order-rechargeorder"),t.e("pages-order-rechargeorder")]).then(function(){return e(t("acc3"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-stat-index",(function(e){var n={component:Promise.all([t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~6e3b87fb"),t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~0544f8f5"),t.e("pages-billing-index~pages-buycard-index~pages-member-list~pages-printer-add~pages-recharge-index~pag~986c8b27"),t.e("pages-stat-index")]).then(function(){return e(t("4976"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-order-orderlist",(function(e){var n={component:Promise.all([t.e("pages-order-orderlist~pages-order-rechargeorder"),t.e("pages-order-orderlist")]).then(function(){return e(t("43a1"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-goods-goodslist",(function(e){var n={component:Promise.all([t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~6e3b87fb"),t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~0544f8f5"),t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shifts~pages-index-~f295c115"),t.e("pages-goods-goodslist")]).then(function(){return e(t("8f92"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-refund-list",(function(e){var n={component:t.e("pages-refund-list").then(function(){return e(t("a19d"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-user-list",(function(e){var n={component:t.e("pages-user-list").then(function(){return e(t("84c2"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-stock-wastage",(function(e){var n={component:t.e("pages-stock-wastage").then(function(){return e(t("4941"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-stock-stockout",(function(e){var n={component:t.e("pages-stock-stockout").then(function(){return e(t("5216"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-stock-storage",(function(e){var n={component:t.e("pages-stock-storage").then(function(){return e(t("555e"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-stock-stockin",(function(e){var n={component:t.e("pages-stock-stockin").then(function(){return e(t("ddad"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-stock-allocate",(function(e){var n={component:t.e("pages-stock-allocate").then(function(){return e(t("0da0"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-stock-add_allocate",(function(e){var n={component:Promise.all([t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~6e3b87fb"),t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~0544f8f5"),t.e("pages-stock-add_allocate")]).then(function(){return e(t("d374"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-stock-check",(function(e){var n={component:t.e("pages-stock-check").then(function(){return e(t("dcc0"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-stock-add_check",(function(e){var n={component:t.e("pages-stock-add_check").then(function(){return e(t("f4fc"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-stock-manage",(function(e){var n={component:Promise.all([t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~6e3b87fb"),t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~0544f8f5"),t.e("pages-billing-index~pages-buycard-index~pages-member-list~pages-printer-add~pages-recharge-index~pag~986c8b27"),t.e("pages-stock-manage~pages-stock-records"),t.e("pages-stock-manage")]).then(function(){return e(t("05fc"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-stock-records",(function(e){var n={component:Promise.all([t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~6e3b87fb"),t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~0544f8f5"),t.e("pages-stock-manage~pages-stock-records"),t.e("pages-stock-records")]).then(function(){return e(t("755a"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-reserve-config",(function(e){var n={component:t.e("pages-reserve-config").then(function(){return e(t("832d"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-store-config",(function(e){var n={component:t.e("pages-store-config").then(function(){return e(t("65ec"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-store-index",(function(e){var n={component:t.e("pages-store-index").then(function(){return e(t("fb52"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-store-operate",(function(e){var n={component:t.e("pages-store-operate").then(function(){return e(t("2579"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-store-close",(function(e){var n={component:t.e("pages-store-close").then(function(){return e(t("6ba3"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-store-settlement_record",(function(e){var n={component:Promise.all([t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~6e3b87fb"),t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~0544f8f5"),t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shifts~pages-index-~f295c115"),t.e("pages-store-settlement_record")]).then(function(){return e(t("2b31"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-printer-list",(function(e){var n={component:t.e("pages-printer-list").then(function(){return e(t("18d0"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-printer-add",(function(e){var n={component:Promise.all([t.e("pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shiftsrecord~pages-~6e3b87fb"),t.e("pages-billing-index~pages-buycard-index~pages-member-list~pages-printer-add~pages-recharge-index~pag~986c8b27"),t.e("pages-printer-add")]).then(function(){return e(t("d77f"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-store-deliver",(function(e){var n={component:t.e("pages-store-deliver").then(function(){return e(t("2fdc"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),e.__uniRoutes=[{path:"/",alias:"/pages/billing/index",component:{render:function(e){return e("Page",{props:Object.assign({isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"开单"})},[e("pages-billing-index",{slot:"page"})])}},meta:{id:1,name:"pages-billing-index",isNVue:!1,maxWidth:0,pagePath:"pages/billing/index",isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0,windowTop:0}},{path:"/pages/reserve/index",component:{render:function(e){return e("Page",{props:Object.assign({isQuit:!0,isTabBar:!0,tabBarIndex:1},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"预约"})},[e("pages-reserve-index",{slot:"page"})])}},meta:{id:2,name:"pages-reserve-index",isNVue:!1,maxWidth:0,pagePath:"pages/reserve/index",isQuit:!0,isTabBar:!0,tabBarIndex:1,windowTop:0}},{path:"/pages/buycard/index",component:{render:function(e){return e("Page",{props:Object.assign({isQuit:!0,isTabBar:!0,tabBarIndex:2},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"售卡"})},[e("pages-buycard-index",{slot:"page"})])}},meta:{id:3,name:"pages-buycard-index",isNVue:!1,maxWidth:0,pagePath:"pages/buycard/index",isQuit:!0,isTabBar:!0,tabBarIndex:2,windowTop:0}},{path:"/pages/recharge/index",component:{render:function(e){return e("Page",{props:Object.assign({isQuit:!0,isTabBar:!0,tabBarIndex:4},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"充值"})},[e("pages-recharge-index",{slot:"page"})])}},meta:{id:4,name:"pages-recharge-index",isNVue:!1,maxWidth:0,pagePath:"pages/recharge/index",isQuit:!0,isTabBar:!0,tabBarIndex:4,windowTop:0}},{path:"/pages/verify/index",component:{render:function(e){return e("Page",{props:Object.assign({isQuit:!0,isTabBar:!0,tabBarIndex:3},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"核销"})},[e("pages-verify-index",{slot:"page"})])}},meta:{id:5,name:"pages-verify-index",isNVue:!1,maxWidth:0,pagePath:"pages/verify/index",isQuit:!0,isTabBar:!0,tabBarIndex:3,windowTop:0}},{path:"/pages/verify/list",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"核销记录"})},[e("pages-verify-list",{slot:"page"})])}},meta:{name:"pages-verify-list",isNVue:!1,maxWidth:0,pagePath:"pages/verify/list",windowTop:0}},{path:"/pages/index/loading",component:{render:function(e){return e("Page",{props:Object.assign({topWindow:!1,leftWindow:!1},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"加载页",leftWindow:!1,topWindow:!1})},[e("pages-index-loading",{slot:"page"})])}},meta:{name:"pages-index-loading",isNVue:!1,maxWidth:0,topWindow:!1,leftWindow:!1,pagePath:"pages/index/loading",windowTop:0}},{path:"/pages/index/no_permission",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"对不起,您没有权限"})},[e("pages-index-no_permission",{slot:"page"})])}},meta:{name:"pages-index-no_permission",isNVue:!1,maxWidth:0,pagePath:"pages/index/no_permission",windowTop:0}},{path:"/pages/index/change_shifts",component:{render:function(e){return e("Page",{props:Object.assign({topWindow:!1,leftWindow:!1},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"交班",leftWindow:!1,topWindow:!1})},[e("pages-index-change_shifts",{slot:"page"})])}},meta:{name:"pages-index-change_shifts",isNVue:!1,maxWidth:0,topWindow:!1,leftWindow:!1,pagePath:"pages/index/change_shifts",windowTop:0}},{path:"/pages/index/change_shiftsrecord",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"交班记录"})},[e("pages-index-change_shiftsrecord",{slot:"page"})])}},meta:{name:"pages-index-change_shiftsrecord",isNVue:!1,maxWidth:0,pagePath:"pages/index/change_shiftsrecord",windowTop:0}},{path:"/pages/login/login",component:{render:function(e){return e("Page",{props:Object.assign({topWindow:!1,leftWindow:!1},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"登录",leftWindow:!1,topWindow:!1})},[e("pages-login-login",{slot:"page"})])}},meta:{name:"pages-login-login",isNVue:!1,maxWidth:0,topWindow:!1,leftWindow:!1,pagePath:"pages/login/login",windowTop:0}},{path:"/pages/member/list",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"会员"})},[e("pages-member-list",{slot:"page"})])}},meta:{name:"pages-member-list",isNVue:!1,maxWidth:0,pagePath:"pages/member/list",windowTop:0}},{path:"/pages/order/orderrefund",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"退款维权"})},[e("pages-order-orderrefund",{slot:"page"})])}},meta:{name:"pages-order-orderrefund",isNVue:!1,maxWidth:0,pagePath:"pages/order/orderrefund",windowTop:0}},{path:"/pages/order/rechargeorder",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"充值订单"})},[e("pages-order-rechargeorder",{slot:"page"})])}},meta:{name:"pages-order-rechargeorder",isNVue:!1,maxWidth:0,pagePath:"pages/order/rechargeorder",windowTop:0}},{path:"/pages/stat/index",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"营业数据"})},[e("pages-stat-index",{slot:"page"})])}},meta:{name:"pages-stat-index",isNVue:!1,maxWidth:0,pagePath:"pages/stat/index",windowTop:0}},{path:"/pages/order/orderlist",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"订单列表"})},[e("pages-order-orderlist",{slot:"page"})])}},meta:{name:"pages-order-orderlist",isNVue:!1,maxWidth:0,pagePath:"pages/order/orderlist",windowTop:0}},{path:"/pages/goods/goodslist",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"商品管理"})},[e("pages-goods-goodslist",{slot:"page"})])}},meta:{name:"pages-goods-goodslist",isNVue:!1,maxWidth:0,pagePath:"pages/goods/goodslist",windowTop:0}},{path:"/pages/refund/list",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"退款记录"})},[e("pages-refund-list",{slot:"page"})])}},meta:{name:"pages-refund-list",isNVue:!1,maxWidth:0,pagePath:"pages/refund/list",windowTop:0}},{path:"/pages/user/list",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"员工管理"})},[e("pages-user-list",{slot:"page"})])}},meta:{name:"pages-user-list",isNVue:!1,maxWidth:0,pagePath:"pages/user/list",windowTop:0}},{path:"/pages/stock/wastage",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"出库单"})},[e("pages-stock-wastage",{slot:"page"})])}},meta:{name:"pages-stock-wastage",isNVue:!1,maxWidth:0,pagePath:"pages/stock/wastage",windowTop:0}},{path:"/pages/stock/stockout",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"添加出库单"})},[e("pages-stock-stockout",{slot:"page"})])}},meta:{name:"pages-stock-stockout",isNVue:!1,maxWidth:0,pagePath:"pages/stock/stockout",windowTop:0}},{path:"/pages/stock/storage",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"入库单"})},[e("pages-stock-storage",{slot:"page"})])}},meta:{name:"pages-stock-storage",isNVue:!1,maxWidth:0,pagePath:"pages/stock/storage",windowTop:0}},{path:"/pages/stock/stockin",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"添加入库单"})},[e("pages-stock-stockin",{slot:"page"})])}},meta:{name:"pages-stock-stockin",isNVue:!1,maxWidth:0,pagePath:"pages/stock/stockin",windowTop:0}},{path:"/pages/stock/allocate",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"调拨单"})},[e("pages-stock-allocate",{slot:"page"})])}},meta:{name:"pages-stock-allocate",isNVue:!1,maxWidth:0,pagePath:"pages/stock/allocate",windowTop:0}},{path:"/pages/stock/add_allocate",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"添加调拨单"})},[e("pages-stock-add_allocate",{slot:"page"})])}},meta:{name:"pages-stock-add_allocate",isNVue:!1,maxWidth:0,pagePath:"pages/stock/add_allocate",windowTop:0}},{path:"/pages/stock/check",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"库存盘点"})},[e("pages-stock-check",{slot:"page"})])}},meta:{name:"pages-stock-check",isNVue:!1,maxWidth:0,pagePath:"pages/stock/check",windowTop:0}},{path:"/pages/stock/add_check",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"添加库存盘点单"})},[e("pages-stock-add_check",{slot:"page"})])}},meta:{name:"pages-stock-add_check",isNVue:!1,maxWidth:0,pagePath:"pages/stock/add_check",windowTop:0}},{path:"/pages/stock/manage",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"库存管理"})},[e("pages-stock-manage",{slot:"page"})])}},meta:{name:"pages-stock-manage",isNVue:!1,maxWidth:0,pagePath:"pages/stock/manage",windowTop:0}},{path:"/pages/stock/records",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"库存流水"})},[e("pages-stock-records",{slot:"page"})])}},meta:{name:"pages-stock-records",isNVue:!1,maxWidth:0,pagePath:"pages/stock/records",windowTop:0}},{path:"/pages/reserve/config",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"预约设置"})},[e("pages-reserve-config",{slot:"page"})])}},meta:{name:"pages-reserve-config",isNVue:!1,maxWidth:0,pagePath:"pages/reserve/config",windowTop:0}},{path:"/pages/store/config",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"门店设置"})},[e("pages-store-config",{slot:"page"})])}},meta:{name:"pages-store-config",isNVue:!1,maxWidth:0,pagePath:"pages/store/config",windowTop:0}},{path:"/pages/store/index",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"门店信息"})},[e("pages-store-index",{slot:"page"})])}},meta:{name:"pages-store-index",isNVue:!1,maxWidth:0,pagePath:"pages/store/index",windowTop:0}},{path:"/pages/store/operate",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"运营设置"})},[e("pages-store-operate",{slot:"page"})])}},meta:{name:"pages-store-operate",isNVue:!1,maxWidth:0,pagePath:"pages/store/operate",windowTop:0}},{path:"/pages/store/close",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"门店停业"})},[e("pages-store-close",{slot:"page"})])}},meta:{name:"pages-store-close",isNVue:!1,maxWidth:0,pagePath:"pages/store/close",windowTop:0}},{path:"/pages/store/settlement_record",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"结算记录"})},[e("pages-store-settlement_record",{slot:"page"})])}},meta:{name:"pages-store-settlement_record",isNVue:!1,maxWidth:0,pagePath:"pages/store/settlement_record",windowTop:0}},{path:"/pages/printer/list",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"小票打印"})},[e("pages-printer-list",{slot:"page"})])}},meta:{name:"pages-printer-list",isNVue:!1,maxWidth:0,pagePath:"pages/printer/list",windowTop:0}},{path:"/pages/printer/add",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"打印机添加"})},[e("pages-printer-add",{slot:"page"})])}},meta:{name:"pages-printer-add",isNVue:!1,maxWidth:0,pagePath:"pages/printer/add",windowTop:0}},{path:"/pages/store/deliver",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",navigationBarTitleText:"配送员"})},[e("pages-store-deliver",{slot:"page"})])}},meta:{name:"pages-store-deliver",isNVue:!1,maxWidth:0,pagePath:"pages/store/deliver",windowTop:0}},{path:"/preview-image",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-preview-image",{slot:"page"})])}},meta:{name:"preview-image",pagePath:"/preview-image"}},{path:"/choose-location",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-choose-location",{slot:"page"})])}},meta:{name:"choose-location",pagePath:"/choose-location"}},{path:"/open-location",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-open-location",{slot:"page"})])}},meta:{name:"open-location",pagePath:"/open-location"}}],e.UniApp&&new e.UniApp}).call(this,t("c8ba"))},"9a58":function(e,n,t){var o=t("5f4b");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var i=t("4f06").default;i("9eb1809a",o,!0,{sourceMap:!1,shadowMode:!1})},"9be7":function(e,n,t){"use strict";t.r(n);var o=t("e789"),i=t("7f33");for(var a in i)"default"!==a&&function(e){t.d(n,e,(function(){return i[e]}))}(a);t("52cf");var r,s=t("f0c5"),c=Object(s["a"])(i["default"],o["b"],o["c"],!1,null,"7742a082",null,!1,o["a"],r);n["default"]=c.exports},a06a:function(e,n,t){"use strict";t("7db0"),t("c975"),t("26e9"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={onLaunch:function(e){this.$store.dispatch("getAddonIsExit"),uni.getStorageSync("cashier_token")&&(this.$store.dispatch("getStoreInfo"),this.$store.dispatch("getUserInfo"),this.$store.dispatch("getUserGroup")),this.$store.commit("setCurrRoute","/"+e.path)},onShow:function(e){uni.getStorageSync("cashier_token")||-1==location.href.indexOf("pages/index/loading")&&this.$util.redirectTo("/pages/login/login",{},"redirectTo")},onHide:function(){},methods:{initRoute:function(e){var n,t,o=function e(n,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return n.find((function(n,i){return n.path==t?(o.push(i),!0):!!n.children&&(o=e(n.children,t,o),!!o.length&&(o.push(i),!0))})),o},i=o(this.menu,e).reverse();this.$store.commit("setMemuIndex",{level:"first",index:i[0]}),this.$store.commit("setMemuIndex",{level:"second",index:null!==(n=i[1])&&void 0!==n?n:-1}),this.$store.commit("setMemuIndex",{level:"third",index:null!==(t=i[2])&&void 0!==t?t:-1})},checkPageAuth:function(){var e=this;this.$api.sendRequest({url:"/cashier/storeapi/store/checkpageauth",data:{page:this.currRoute},success:function(n){n.code&&-10012==n.code&&e.$util.redirectTo("/pages/index/no_permission",{},"redirectTo")}})}},computed:{currRoute:function(){return this.$store.state.currRoute},menu:function(){var e,n=t("c6b1");return null!==(e=n.default)&&void 0!==e?e:[]}},watch:{currRoute:function(e,n){e&&(this.initRoute(e),this.checkPageAuth())},menu:function(e){e.length&&this.initRoute(this.currRoute)}}};n.default=o},aafb:function(e,n,t){"use strict";var o=t("4ea4");t("4160"),t("c975"),t("b64b"),t("d3b7"),t("acd8"),t("e25e"),t("ac1f"),t("5319"),t("1276"),t("159b"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,t("96cf");var i=o(t("1da1")),a=o(t("26b6")),r=o(t("6333")),s={redirectTo:function(e,n,t){var o=["/pages/billing/index","/pages/reserve/index","/pages/buycard/index","/pages/recharge/index","/pages/verify/index"];-1!=o.indexOf(e)&&(t="tabbar"),r.default.commit("setCurrRoute",e);var i=e;switch(void 0!=n&&Object.keys(n).forEach((function(e){-1!=i.indexOf("?")?i+="&"+e+"="+n[e]:i+="?"+e+"="+n[e]})),t){case"tabbar":uni.switchTab({url:i});break;case"redirectTo":uni.redirectTo({url:i});break;case"reLaunch":uni.reLaunch({url:i});break;default:uni.navigateTo({url:i})}},img:function(e,n){var t="";if(void 0!=e&&""!=e){if(e.split(",").length>1&&(e=e.split(",")[0]),n&&e){var o=e.split("."),i=o[o.length-1];o.pop(),o[o.length-1]=o[o.length-1]+"_"+n.size.toUpperCase(),o.push(i),e=o.join(".")}t=-1==e.indexOf("http://")&&-1==e.indexOf("https://")?a.default.imgDomain+"/"+e:e,t=t.replace("addons/NsGoodsAssist/","").replace("shop/goods/","")}return t},checkIsNotNull:function(e){if(e){if("object"!=typeof e)return!0;if(Array.isArray(e)){if(e.length>0)return!0}else if("{}"!=JSON.stringify(e))return!0}return!1},moneyFormat:function(e){return isNaN(parseFloat(e))?e:parseFloat(e).toFixed(2)},timeFormat:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y-m-d h:i:s",t=new Date;t.setTime(1e3*e);var o=t.getFullYear(),i=t.getMonth()+1,a=t.getDate(),r=t.getHours(),s=t.getMinutes(),c=t.getSeconds();return n=n.replace("y",o),n=n.replace("m",i<10?"0"+i:i),n=n.replace("d",a<10?"0"+a:a),n=n.replace("h",r<10?"0"+r:r),n=n.replace("i",s<10?"0"+s:s),n=n.replace("s",c<10?"0"+c:c),n},timeTurnTimeStamp:function(e){var n=e.split(" ",2),t=(n[0]?n[0]:"").split("-",3),o=(n[1]?n[1]:"").split(":",3);return new Date(parseInt(t[0],10)||null,(parseInt(t[1],10)||1)-1,parseInt(t[2],10)||null,parseInt(o[0],10)||null,parseInt(o[1],10)||null,parseInt(o[2],10)||null).getTime()/1e3},getCurrRoute:function(){var e=getCurrentPages();return e.length?e[e.length-1].route:""},showToast:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.title=e.title||"",e.icon=e.icon||"none",e.duration=e.duration||1500,uni.showToast(e),e.success&&e.success()},deepClone:function(e){var n=function(e){return"object"==typeof e};if(!n(e))throw new Error("obj 不是一个对象!");var t=Array.isArray(e),o=t?[]:{};for(var i in e)o[i]=n(e[i])?this.deepClone(e[i]):e[i];return o},upload:function(e,n,t,o){var a="pc",r="PC",s={token:uni.getStorageSync("cashier_token"),app_type:a,app_type_name:r};s=Object.assign(s,n);var c=e,d=this;uni.chooseImage({count:c,sizeType:["compressed"],sourceType:["album","camera"],success:function(){var e=(0,i.default)(regeneratorRuntime.mark((function e(i){var a,r,c,u,l;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:a=i.tempFilePaths,r=s,c=[],u=0;case 4:if(!(u<a.length)){e.next=12;break}return e.next=7,d.upload_file_server(a[u],r,n.path,o);case 7:l=e.sent,c.push(l);case 9:u++,e.next=4;break;case 12:"function"==typeof t&&t(c);case 13:case"end":return e.stop()}}),e)})));function a(n){return e.apply(this,arguments)}return a}(),fail:function(e){console.log("图片上传错误",e)}})},upload_file_server:function(e,n,t){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";if(o)var i=a.default.baseUrl+o;else i=a.default.baseUrl+"/cashier/storeapi/upload/"+t;return n.site_id=a.default.siteId,new Promise((function(t,o){uni.uploadFile({url:i,filePath:e,name:"file",formData:n,success:function(e){var n=JSON.parse(e.data);n.code>=0?t(n.data.pic_path):o("error")}})}))}};n.default=s},ae80:function(e,n,t){"use strict";var o=t("66d7"),i=t.n(o);i.a},b185:function(e,n,t){"use strict";t.r(n);var o=t("53ed"),i=t("61ef");for(var a in i)"default"!==a&&function(e){t.d(n,e,(function(){return i[e]}))}(a);t("2240");var r,s=t("f0c5"),c=Object(s["a"])(i["default"],o["b"],o["c"],!1,null,"cec6a118",null,!1,o["a"],r);n["default"]=c.exports},b2c1:function(e,n,t){"use strict";var o=t("02f5"),i=t.n(o);i.a},b50a:function(e,n,t){"use strict";var o=t("4ea4");t("d3b7"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=o(t("26b6")),a=o(t("aafb")),r="pc",s="PC",c={sendRequest:function(e){var n,t=null!==(n=e.method)&&void 0!==n?n:"POST",o=i.default.baseUrl+e.url,c={app_type:r,app_type_name:s};if(uni.getStorageSync("cashier_token")&&(c.token=uni.getStorageSync("cashier_token")),uni.getStorageSync("site_id")&&(c.site_id=uni.getStorageSync("site_id")),uni.getStorageSync("store_id")&&(c.store_id=uni.getStorageSync("store_id")),void 0!=e.data&&Object.assign(c,e.data),!1===e.async)return new Promise((function(n,i){uni.request({url:o,method:t,data:c,header:e.header||{"content-type":"application/x-www-form-urlencoded;application/json"},dataType:e.dataType||"json",responseType:e.responseType||"json",success:function(e){-10009!=e.data.code&&-10010!=e.data.code||(uni.removeStorage({key:"cashier_token"}),"pages/login/login"==a.default.getCurrRoute())?n(e.data):a.default.redirectTo("/pages/login/login",{},"reLaunch")},fail:function(e){i(e)},complete:function(e){i(e)}})})).catch((function(e){}));uni.request({url:o,method:t,data:c,header:e.header||{"content-type":"application/x-www-form-urlencoded;application/json"},dataType:e.dataType||"json",responseType:e.responseType||"text",success:function(n){-10009!=n.data.code&&-10010!=n.data.code||(uni.removeStorage({key:"cashier_token"}),"pages/login/login"==a.default.getCurrRoute())?"function"==typeof e.success&&e.success(n.data):a.default.redirectTo("/pages/login/login",{},"reLaunch")},fail:function(n){"function"==typeof e.fail&&e.fail(n)},complete:function(n){"function"==typeof e.complete&&e.complete(n)}})}};n.default=c},b6ef:function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return i})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("App",{attrs:{keepAliveInclude:e.keepAliveInclude}})},a=[]},c6b1:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=[{title:"开单",icon:"iconkaidan",path:"/pages/billing/index",name:"billing"},{title:"售卡",icon:"iconqia",path:"/pages/buycard/index",name:"buycard"},{title:"充值",icon:"iconchongzhidingdan",path:"/pages/recharge/index",name:"recharge"},{title:"订单",icon:"icondingdan",path:"/pages/order/orderlist",name:"order_list"},{title:"会员",icon:"iconkehuguanli",path:"/pages/member/list",name:"member_list"},{title:"核销",icon:"iconhexiao",path:"/pages/verify/index",name:"verify_index"},{title:"更多",icon:"iconicon_yingyongguanli",childshow:!0,children:[{title:"收银",children:[{title:"开单",icon:"iconkaidan",path:"/pages/billing/index",name:"billing"},{title:"售卡",icon:"iconqia",path:"/pages/buycard/index",name:"buycard"},{title:"核销",icon:"iconhexiao",path:"/pages/verify/index",name:"verify_index"},{title:"预约",icon:"iconyuyueguanli",path:"/pages/reserve/index",name:"reserve_index",addon:"store"},{title:"充值",icon:"iconchongzhidingdan",path:"/pages/recharge/index",name:"recharge"},{title:"交班",icon:"icon12jiaobanbiao",path:"/pages/index/change_shifts"}]},{title:"管理",children:[{title:"商品管理",icon:"iconshangpinguanli",path:"/pages/goods/goodslist",name:"goods_list"},{title:"会员管理",icon:"iconkehuguanli",path:"/pages/member/list",name:"member_list"},{title:"员工管理",icon:"iconjishi",path:"/pages/user/list",name:"user_list"},{title:"订单管理",icon:"icondingdan",path:"/pages/order/orderlist",name:"order_list"},{title:"退款维权",icon:"iconjishi",path:"/pages/order/orderrefund",name:"order_refund_list"},{title:"交班记录",icon:"icon12jiaobanbiao",path:"/pages/index/change_shiftsrecord",name:"change_shifts_record_list"}]},{title:"库存",name:"stockmenu",children:[{title:"出库单",icon:"iconchukudan",path:"/pages/stock/wastage",name:"stock_wastage",addon:"stock"},{title:"入库单",icon:"iconrukudan",path:"/pages/stock/storage",name:"stock_storage",addon:"stock"},{title:"调拨单",icon:"icontiaobodan",path:"/pages/stock/allocate",name:"stock_allocate",addon:"stock"},{title:"库存盘点",icon:"iconkucunpandian",path:"/pages/stock/check",name:"stock_check",addon:"stock"},{title:"库存管理",icon:"iconkucunguanli",path:"/pages/stock/manage",name:"stock_manage",addon:"stock"}]},{title:"数据",children:[{title:"营业数据",icon:"iconyingyeshujuguanliputong",path:"/pages/stat/index"},{title:"结算记录",icon:"iconshourujiesuan",path:"/pages/store/settlement_record",name:"settlement_record",addon:"store"}]},{title:"设置",children:[{title:"门店设置",icon:"icongongyingshang",path:"/pages/store/index",name:"store_config_root",addon:"store"},{title:"预约设置",icon:"iconyuyue",path:"/pages/reserve/config",name:"reserve_config",addon:"store"},{title:"小票打印",icon:"icondayin",name:"printer_config",path:"/pages/printer/list"},{title:"配送员",icon:"iconpeisong",path:"/pages/store/deliver",name:"store_deliver_config"}]}]}];n.default=o},c988:function(e,n,t){"use strict";t.r(n);var o=t("1fbb"),i=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=i.a},d01a:function(e,n,t){var o=t("24fb");n=o(!1),n.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-app--showleftwindow + .uni-tabbar-bottom[data-v-7742a082]{display:none}\r\n/* 收银台相关 */uni-text[data-v-7742a082],\r\nuni-view[data-v-7742a082]{font-size:.14rem}body[data-v-7742a082]{min-width:1200px;overflow-x:unset!important;overflow-y:hidden;background:#eff0f4}body[data-v-7742a082]::-webkit-scrollbar{width:.06rem;height:.06rem}body[data-v-7742a082]::-webkit-scrollbar-button{display:none}body[data-v-7742a082]::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}body[data-v-7742a082]::-webkit-scrollbar-track{background-color:initial}uni-radio[data-v-7742a082]{-webkit-transform:scale(.8);transform:scale(.8)}uni-checkbox[data-v-7742a082]{-webkit-transform:scale(.8);transform:scale(.8)}.status-bar-block[data-v-7742a082]{width:100vw;height:0}.container[data-v-7742a082]{width:100vw;height:calc(100vh - 0rem);background:#eff0f4;min-width:1200px}.body-container[data-v-7742a082]{padding-top:0;padding-left:.8rem;width:100%;height:100%;box-sizing:border-box;overflow-y:scroll}',""]),e.exports=n},d5b9:function(e,n,t){"use strict";var o=t("4ea4"),i=o(t("5530"));t("e260"),t("e6cf"),t("cca6"),t("a79d"),t("9751"),t("1c31");var a=o(t("f235")),r=o(t("aafb")),s=o(t("b50a")),c=o(t("26b6")),d=o(t("7fe3")),u=o(t("6333")),l=o(t("9be7")),g=o(t("e143"));g.default.prototype.$util=r.default,g.default.prototype.$api=s.default,g.default.prototype.$config=c.default,g.default.prototype.$store=u.default,g.default.mixin(d.default),g.default.component("base-page",l.default),g.default.config.productionTip=!1,a.default.mpType="app";var p=new g.default((0,i.default)({},a.default));p.$mount()},e34d:function(e,n,t){"use strict";t.r(n);var o=t("a06a"),i=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=i.a},e67c:function(e,n,t){"use strict";t.r(n);var o=t("6760"),i=t("8d69");for(var a in i)"default"!==a&&function(e){t.d(n,e,(function(){return i[e]}))}(a);var r,s=t("f0c5"),c=Object(s["a"])(i["default"],o["b"],o["c"],!1,null,"30c29ad2",null,!1,o["a"],r);n["default"]=c.exports},e789:function(e,n,t){"use strict";t.d(n,"b",(function(){return i})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var o={pageMeta:t("6d42").default},i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("v-uni-view",[t("page-meta",{attrs:{"root-font-size":e.getRootFontSize}}),t("v-uni-view",[t("v-uni-view",{staticClass:"status-bar-block"}),t("v-uni-view",{staticClass:"container"},[t("v-uni-view",{staticClass:"body-container common-scrollbar"},[e._t("default")],2)],1)],1)],1)},a=[]},ef4c:function(e,n,t){var o=t("5438");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var i=t("4f06").default;i("54bf3e36",o,!0,{sourceMap:!1,shadowMode:!1})},f235:function(e,n,t){"use strict";t.r(n);var o=t("b6ef"),i=t("e34d");for(var a in i)"default"!==a&&function(e){t.d(n,e,(function(){return i[e]}))}(a);t("ae80");var r,s=t("f0c5"),c=Object(s["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],r);n["default"]=c.exports},f2a4:function(e,n,t){"use strict";var o=t("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=o(t("5530")),a=t("26cb"),r={name:"LayoutAside",props:{},created:function(){this.getStoreList()},data:function(){return{moreMenu:[],moreIndex:0,logoError:!1,storeList:[],codeData:{old_pass:"",new_pass:"",confirm_new_pass:""}}},computed:(0,i.default)({},(0,a.mapState)(["first","second","third","currRoute","addon","userInfo","menu"])),watch:{storeInfo:function(){this.$store.dispatch("getUserGroup")},menu:function(){this.checkPageAuth()}},methods:{firstMenu:function(e,n){var t;e.path!=this.$route.path&&(e.children&&e.childshow?(this.moreMenu=e.children,this.moreIndex=n,this.$refs.moreMenu.open("left")):(this.$refs.moreMenu.close("left"),this.$util.redirectTo(e.path,null!==(t=e.query)&&void 0!==t?t:{})))},thirdMenu:function(e,n,t){var o;this.$refs.moreMenu.close("left"),this.$util.redirectTo(e.path,null!==(o=e.query)&&void 0!==o?o:{})},logout:function(){var e=this;this.$api.sendRequest({url:"/cashier/storeapi/store/changeshifts",success:function(n){0==n.code&&n.data?(e.$refs.logout.close(),uni.removeStorage({key:"cashier_token",success:function(){e.$store.commit("setStoreInfo",null),e.$store.commit("setMemberInfo",null),e.$store.commit("setUserInfo",null),e.$store.commit("setMenu",[]),e.$util.redirectTo("/pages/login/login",{},"reLaunch")}})):(e.isSub=!1,e.$util.showToast({title:n.message}))}})},switchStore:function(){this.$refs.storePop.open("center")},changePassword:function(){this.$refs.passwordPopup.open("center")},modifyPasswordFn:function(){var e=this;if(this.codeData.new_pass!=this.codeData.confirm_new_pass)return this.$util.showToast({title:"两次密码输入不一致,请重新输入"}),!1;this.$api.sendRequest({url:"/cashier/storeapi/user/modifypassword",data:this.codeData,success:function(n){e.$util.showToast({title:n.message}),n.code>=0&&(e.codeData.old_pass="",e.codeData.new_pass="",e.codeData.confirm_new_pass="",uni.removeStorageSync("cashier_token"),e.$refs.passwordPopup.close(),setTimeout((function(){e.$util.redirectTo("/pages/login/login")}),500))}})},selectStore:function(e){uni.setStorageSync("store_id",e.store_id),this.$store.dispatch("getStoreInfo"),this.$refs.storePop.close(),this.$forceUpdate()},getStoreList:function(){var e=this;this.$api.sendRequest({url:"/cashier/storeapi/store/lists",success:function(n){0==n.code&&n.data&&(e.storeList=n.data)}})},checkPageAuth:function(){var e=this;this.$api.sendRequest({url:"/cashier/storeapi/store/checkpageauth",data:{page:this.currRoute},success:function(n){n.code&&-10012==n.code&&e.$util.redirectTo("/pages/index/no_permission",{},"redirectTo")}})}}};n.default=r},f834:function(e,n,t){"use strict";t.d(n,"b",(function(){return i})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var o={uniTransition:t("e67c").default},i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("v-uni-view",{staticClass:"dropdown"},[t("v-uni-view",{staticClass:"dropdown-link",on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.open.apply(void 0,arguments)}}},[e._t("dropdown-link")],2),t("uni-transition",{key:"1",attrs:{name:"mask","mode-class":"fade",styles:e.maskClass,duration:300,show:e.showTrans},on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.close.apply(void 0,arguments)}}}),t("uni-transition",{key:"2",staticClass:"dropdown-box",style:e.dropdownClass,attrs:{"mode-class":"slide-top",name:"content",duration:300,show:e.showTrans}},[t("v-uni-view",{staticClass:"dropdown-content",on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.close.apply(void 0,arguments)}}},[e._t("dropdown")],2)],1)],1)},a=[]},fc5e:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={data:function(){return{}},created:function(){}};n.default=o},ffaf:function(e,n,t){"use strict";t.r(n);var o=t("1c91"),i=t("23f9");for(var a in i)"default"!==a&&function(e){t.d(n,e,(function(){return i[e]}))}(a);t("b2c1");var r,s=t("f0c5"),c=Object(s["a"])(i["default"],o["b"],o["c"],!1,null,"314bac5c",null,!1,o["a"],r);n["default"]=c.exports}});
|