(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-cbbbf324"],{2725:function(t,e,a){t.exports=a.p+"static/img/tishi1.543c73f7.png"},"5e21":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"outmain ba_f"},[t._m(0),n("div",{staticClass:"ba_f8 pad_20"},[n("div",{staticClass:"lh25 msgtext fon_12"},[t._v(" 温馨提示:请保证到当前小程序主体已认证并且已完善资料;"),n("br"),t._v(" 1、登录"),n("a",{attrs:{href:"https://mp.weixin.qq.com/",target:"_blank"}},[t._v("微信小程序后台")]),t._v(",依次找到菜单 开发管理-开发设置,启用并添加“扫普通链接二维码打开小程序” 路径 "),n("span",{staticClass:"subjectcolor2 curs mar_l5",on:{click:function(e){return t.tishiImg(1)}}},[t._v("提示")]),t._v(";"),n("br"),n("div",{staticClass:"flex shangchuan"},[n("div",[t._v(" 2、下载校验文件,上传至网站根目录"),n("span",{staticClass:"subjectcolor2 curs mar_l5",on:{click:function(e){return t.tishiImg(2)}}},[t._v("提示")]),t._v(";")]),n("el-upload",{staticClass:"upload-demo",attrs:{action:"https://jsonplaceholder.typicode.com/posts/","on-success":t.handleSuccess,"on-remove":t.handleRemove,"before-remove":t.beforeRemove,multiple:"","file-list":t.fileList,data:t.uploadData,"auto-upload":!0,"on-change":t.changeFile,accept:".txt"}},[n("el-button",{staticClass:"mar_l10",attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.upLoad(1)}}},[t._v("点击上传")])],1),n("br")],1),t._v(" 3、设置规则,页面路径:yb_wm/order/other/smjh,具体配置如图"),n("span",{staticClass:"subjectcolor2 curs mar_l5",on:{click:function(e){return t.tishiImg(3)}}},[t._v("提示")]),t._v(";"),n("br"),t._v(" 4、保存后并发布,稍等几分钟之后刷新本页面,即可生成二维码。"),n("span",{staticClass:"subjectcolor2 curs mar_l5",on:{click:function(e){return t.tishiImg(4)}}},[t._v("提示")])]),n("div",{staticClass:"lh25 msgtext fon_12 mar_t20"},[t._v(" 支付宝小程序温馨提示:请保证到当前小程序主体已认证并且已完善资料;"),n("br"),t._v(" 1、登录"),n("a",{attrs:{href:"https://mini.open.alipay.com/channel/miniIndex.htm",target:"_blank"}},[t._v("支付宝小程序后台")]),t._v(",依次找到菜单 服务内容-码管理 "),n("span",{staticClass:"subjectcolor2 curs mar_l5",on:{click:function(e){return t.tishiImg(5)}}},[t._v("提示")]),t._v(";"),n("br"),n("div",{staticClass:"flex shangchuan"},[n("div",[t._v(" 2、下载校验文件,上传至网站根目录"),n("span",{staticClass:"subjectcolor2 curs mar_l5",on:{click:function(e){return t.tishiImg(6)}}},[t._v("提示")]),t._v(";")]),n("el-upload",{staticClass:"upload-demo",attrs:{action:"https://jsonplaceholder.typicode.com/posts/","on-success":t.handleSuccess,"on-remove":t.handleRemove,"before-remove":t.beforeRemove,multiple:"","file-list":t.fileList,data:t.uploadData,"auto-upload":!0,"on-change":t.changeFile,accept:".html"}},[n("el-button",{staticClass:"mar_l10",attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.upLoad(2)}}},[t._v("点击上传")])],1),n("br")],1)])]),n("div",{staticClass:"flex mar_t20"},[n("div",{staticClass:"flex-g-1 mar_lr20 t_c card"},[n("div",{staticClass:"fon_16 lh16 wei"},[t._v("点单码")]),n("div",{staticClass:"color_6 mar_t20 fon_14"},[t._v("门店点单二维码,用于用户扫码点单")]),n("div",{staticClass:"mar_t40"},[n("img",{staticClass:"codeimg",attrs:{src:t.goods.url}})]),n("div",{staticClass:"flex-center"},[n("div",{staticClass:"flex"},[n("div",[t._v("二维码链接:")]),n("div",[n("el-button",{attrs:{type:"text"},on:{click:function(e){return t.copyText(t.goods.data)}}},[t._v("复制")])],1)]),n("div",{staticClass:"flex mar_l20"},[n("div",[t._v("小程序链接:")]),n("div",[n("el-button",{attrs:{type:"text"},on:{click:function(e){return t.copyText("yb_wm/index/goods")}}},[t._v("复制")])],1)])]),n("div",{staticClass:"mar_t20"},[n("a",{attrs:{href:t.downloadCode(t.goods.downUrl)}},[n("el-button",{attrs:{type:"primary"}},[t._v("下载聚合码")])],1),n("el-button",{staticClass:"mar_l20",on:{click:t.wxDdmcode}},[t._v("微信小程序码")]),n("el-button",{on:{click:t.zfbDdmCode}},[t._v("支付宝小程序码")])],1)]),n("div",{staticClass:"flex-g-1 mar_lr20 t_c card"},[n("div",{staticClass:"fon_16 lh16 wei"},[t._v("快餐码")]),n("div",{staticClass:"color_6 mar_t20 fon_14"},[t._v("门店快餐二维码,用于用户扫码下单")]),n("div",{staticClass:"mar_t40"},[n("img",{staticClass:"codeimg",attrs:{src:t.fastOrder.url}})]),n("div",{staticClass:"flex-x-center"},[n("div",{staticClass:"flex"},[n("div",[t._v("二维码链接:")]),n("div",[n("el-button",{attrs:{type:"text"},on:{click:function(e){return t.copyText(t.fastOrder.data)}}},[t._v("复制")])],1)]),n("div",{staticClass:"flex mar_l20"},[n("div",[t._v("小程序链接:")]),n("div",[n("el-button",{attrs:{type:"text"},on:{click:function(e){return t.copyText("yb_wm/shop/ffmode/goods")}}},[t._v("复制")])],1)])]),n("div",{staticClass:"mar_t20"},[n("a",{attrs:{href:t.downloadCode(t.fastOrder.downUrl)}},[n("el-button",{attrs:{type:"primary"}},[t._v("下载聚合码")])],1),n("el-button",{staticClass:"mar_l20",on:{click:t.wxKccode}},[t._v("微信小程序码")]),n("el-button",{on:{click:t.zfbKcCode}},[t._v("支付宝小程序码")])],1)]),n("div",{staticClass:"flex-g-1 mar_lr20 t_c card"},[n("div",{staticClass:"fon_16 lh16 wei"},[t._v("当面付")]),n("div",{staticClass:"color_6 mar_t20 fon_14"},[t._v("门店自己的收银二维码,用于用户扫码付款")]),n("div",{staticClass:"mar_t40"},[n("img",{staticClass:"codeimg",attrs:{src:t.cashier.url}})]),n("div",{staticClass:"flex-x-center"},[n("div",{staticClass:"flex"},[n("div",[t._v("二维码链接:")]),n("div",[n("el-button",{attrs:{type:"text"},on:{click:function(e){return t.copyText(t.cashier.data)}}},[t._v("复制")])],1)]),n("div",{staticClass:"flex mar_l20"},[n("div",[t._v("小程序链接:")]),n("div",[n("el-button",{attrs:{type:"text"},on:{click:function(e){return t.copyText("yb_wm/shop/in/dmf")}}},[t._v("复制")])],1)])]),n("div",{staticClass:"mar_t20"},[n("a",{attrs:{href:t.downloadCode(t.cashier.downUrl)}},[n("el-button",{attrs:{type:"primary"}},[t._v("下载聚合码")])],1),n("el-button",{staticClass:"mar_l20",on:{click:t.wxDmfcode}},[t._v("微信小程序码")]),n("el-button",{staticClass:"mar_l20",on:{click:t.zfbDmfCode}},[t._v("支付宝小程序码")])],1)])]),n("codeEdit",{ref:"codeEdit",on:{fetchData:t.fetchData}}),n("el-dialog",{staticClass:"tishidialog",attrs:{title:"操作提示",visible:t.dialogTableVisible4,"close-on-click-modal":!1,width:"1300px"},on:{"update:visible":function(e){t.dialogTableVisible4=e}}},[n("div",{staticClass:"t_c"},[n("div",{directives:[{name:"show",rawName:"v-show",value:"1"==t.tishiType,expression:"tishiType=='1'"}],staticClass:"t_l"},[n("img",{staticClass:"mar_l20",attrs:{src:a("2725")}})]),n("div",{directives:[{name:"show",rawName:"v-show",value:"2"==t.tishiType,expression:"tishiType=='2'"}],staticClass:"t_c"},[n("img",{staticClass:"mar_l20",attrs:{src:a("d425")}})]),n("div",{directives:[{name:"show",rawName:"v-show",value:"3"==t.tishiType,expression:"tishiType=='3'"}],staticClass:"t_c"},[n("img",{staticClass:"mar_l20",attrs:{src:a("ecca")}})]),n("div",{directives:[{name:"show",rawName:"v-show",value:"4"==t.tishiType,expression:"tishiType=='4'"}],staticClass:"t_l"},[n("img",{staticClass:"mar_l20",attrs:{src:a("7b42")}})]),n("div",{directives:[{name:"show",rawName:"v-show",value:"5"==t.tishiType,expression:"tishiType=='5'"}],staticClass:"t_l"},[n("img",{staticClass:"mar_l20",attrs:{src:a("6fe8")}})]),n("div",{directives:[{name:"show",rawName:"v-show",value:"6"==t.tishiType,expression:"tishiType=='6'"}],staticClass:"t_l"},[n("img",{staticClass:"mar_l20",attrs:{src:a("ec32")}})])])]),n("el-dialog",{attrs:{title:"二维码",visible:t.dialogVisiblecode,"close-on-click-modal":!1,width:"40%"},on:{"update:visible":function(e){t.dialogVisiblecode=e}}},[n("div",{staticClass:"t_c"},["1"==t.codeType?n("img",{staticClass:"wid imgCode",attrs:{src:t.wxDdmcodeImg}}):t._e(),"2"==t.codeType?n("img",{staticClass:"wid imgCode",attrs:{src:t.wxKccodeImg}}):t._e(),"3"==t.codeType?n("img",{staticClass:"wid imgCode",attrs:{src:t.wxDmfcodeImg}}):t._e(),"4"==t.codeType?n("img",{staticClass:"wid imgCode2",attrs:{src:t.zfbDdmcodeImg}}):t._e(),"5"==t.codeType?n("img",{staticClass:"wid imgCode2",attrs:{src:t.zfbKccodeImg}}):t._e(),"6"==t.codeType?n("img",{staticClass:"wid imgCode2",attrs:{src:t.zfbDmfcodeImg}}):t._e()]),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{size:"medium"},on:{click:function(e){t.dialogVisiblecode=!1}}},[t._v("取 消")]),n("el-button",{attrs:{type:"primary",size:"medium"},on:{click:function(e){t.dialogVisiblecode=!1}}},[t._v("确 定")])],1)])],1)},i=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"shuju_title mar_b20"},[a("div",{staticClass:"shuju_title_text"},[a("span",[t._v("门店二维码管理")])])])}],s=(a("99af"),a("b0c0"),a("96cf"),a("1da1")),r=a("9cde"),o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{},[a("el-dialog",{attrs:{title:t.title,visible:t.dialogFormVisible,width:"600px","close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogFormVisible=e},close:t.close}},[a("el-table",{attrs:{data:t.gridData}},[a("el-table-column",{attrs:{property:"date",label:"边长(cm)",width:"150"}}),a("el-table-column",{attrs:{property:"name",label:"建议扫码距离(m)",width:"200"}}),a("el-table-column",{attrs:{label:"普通二维码"},scopedSlots:t._u([{key:"default",fn:function(t){return[a("div",[a("a",{attrs:{href:t.row.load}},[a("i",{staticClass:"el-icon-download iconadd fon_16 curs"})])])]}}])})],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{size:"medium"},on:{click:t.close}},[t._v("取 消")]),a("el-button",{attrs:{size:"medium",type:"primary"},on:{click:t.save}},[t._v("确 定")])],1)],1)],1)},c=[],l={name:"meteriaSave",created:function(){},data:function(){return{form:{id:"",num:""},gridData:[{date:"12cm",name:"0.8m",load:""},{date:"15cm",name:"1m",load:""},{date:"30cm",name:"1.5m",load:""},{date:"50cm",name:"2m",load:""}],title:"",dialogFormVisible:!1}},components:{},methods:{showEdit:function(t){t?(this.title="二维码下载",this.getSaveTable(t.id)):this.title="二维码下载",this.dialogFormVisible=!0},close:function(){this.$refs["form"].resetFields(),this.form=this.$options.data().form,this.dialogFormVisible=!1},save:function(){var t=this;this.$refs["form"].validate(function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(a){var n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){e.next=10;break}return e.next=3,Object(r["i"])(t.form);case 3:n=e.sent,i=n.msg,t.$baseMessage(i,"success"),t.$emit("fetchData"),t.close(),e.next=11;break;case 10:return e.abrupt("return",!1);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}}},d=l,u=a("2877"),m=Object(u["a"])(d,o,c,!1,null,null,null),f=m.exports,h=a("294d"),p=(a("365c"),{components:{codeEdit:f},created:function(){this.fetchData()},data:function(){return{activeName:"1",storeId:"",fastOrder:"",cashier:"",goods:"",dialogTableVisible4:!1,tishiType:"",wxDdmcodeImg:"",zfbDdmcodeImg:"",wxKccodeImg:"",zfbKccodeImg:"",wxDmfcodeImg:"",zfbDmfcodeImg:"",dialogVisiblecode:!1,codeType:""}},methods:{copyText:function(t){var e=t,a=document.createElement("input");a.value=e,console.log(a.value),document.body.appendChild(a),a.select(),document.execCommand("Copy"),a.className="oInput",a.style.display="none",this.$message({message:"复制成功",type:"success"})},fetchData:function(){var t=this;return Object(s["a"])(regeneratorRuntime.mark((function e(){var a,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["s"])();case 2:a=e.sent,n=a.data,t.fastOrder=n.fastOrder,t.cashier=n.cashier,t.goods=n.goods;case 7:case"end":return e.stop()}}),e)})))()},wxDdmcode:function(){var t=this;return Object(s["a"])(regeneratorRuntime.mark((function e(){var a,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(h["n"])({ident:"goods",page:"yb_wm/index/goods"});case 2:a=e.sent,n=a.data,n&&(t.wxDdmcodeImg=n),t.codeType=1,t.dialogVisiblecode=!0;case 7:case"end":return e.stop()}}),e)})))()},wxKccode:function(){var t=this;return Object(s["a"])(regeneratorRuntime.mark((function e(){var a,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(h["n"])({ident:"fastOrder",page:"yb_wm/shop/ffmode/goods"});case 2:a=e.sent,n=a.data,n&&(t.wxKccodeImg=n),t.codeType=2,t.dialogVisiblecode=!0;case 7:case"end":return e.stop()}}),e)})))()},wxDmfcode:function(){var t=this;return Object(s["a"])(regeneratorRuntime.mark((function e(){var a,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(h["n"])({ident:"dmf",page:"yb_wm/shop/in/dmf"});case 2:a=e.sent,n=a.data,n&&(t.wxDmfcodeImg=n),t.codeType=3,t.dialogVisiblecode=!0;case 7:case"end":return e.stop()}}),e)})))()},zfbDdmCode:function(){var t=this;Object(h["k"])({page:"yb_wm/index/goods",pageType:"ali"}).then((function(e){1==e.code&&(1==e.data.code&&(t.zfbDdmcodeImg="".concat(e.data.data,"+.jpg")),t.codeType=4,t.dialogVisiblecode=!0)}))},zfbKcCode:function(){var t=this;Object(h["k"])({page:"yb_wm/shop/ffmode/goods",pageType:"ali"}).then((function(e){1==e.code&&(1==e.data.code&&(t.zfbKccodeImg="".concat(e.data.data,"+.jpg")),t.codeType=5,t.dialogVisiblecode=!0)}))},zfbDmfCode:function(){var t=this;Object(h["k"])({page:"yb_wm/shop/in/dmf",pageType:"ali"}).then((function(e){1==e.code&&(1==e.data.code&&(t.zfbDmfcodeImg="".concat(e.data.data,"+.jpg")),t.codeType=6,t.dialogVisiblecode=!0)}))},tishiImg:function(t){this.tishiType=t,this.dialogTableVisible4=!0},downloadCode:function(t){return t},upLoad:function(t){this.type=t},handleRemove:function(t,e){console.log(t,e)},handleSuccess:function(){var t=this,e=new FormData;e.append("file",this.file.raw),e.append("type",this.type),this.$api.post("channel/in-store/code-set",e,(function(e){e.code,t.$message.success(e.msg)}))},handleExceed:function(t,e){this.$message.warning("当前限制选择 1 个文件,本次选择了 ".concat(t.length," 个文件,共选择了 ").concat(t.length+e.length," 个文件"))},beforeRemove:function(t){return this.$confirm("确定移除 ".concat(t.name,"?"))},changeFile:function(t,e){this.file=t,this.fileList=e;var a=this,n=new FileReader;n.readAsDataURL(t.raw),n.onload=function(t){this.result,a.imageUrl=this.result}}}}),v=p,b=(a("df83"),Object(u["a"])(v,n,i,!1,null,"76f18338",null));e["default"]=b.exports},"6fe8":function(t,e,a){t.exports=a.p+"static/img/tishi5.190de256.png"},"7b42":function(t,e,a){t.exports=a.p+"static/img/tishi4.901e4850.png"},"9cde":function(t,e,a){"use strict";a.d(e,"F",(function(){return i})),a.d(e,"n",(function(){return s})),a.d(e,"z",(function(){return r})),a.d(e,"a",(function(){return o})),a.d(e,"x",(function(){return c})),a.d(e,"J",(function(){return l})),a.d(e,"l",(function(){return d})),a.d(e,"H",(function(){return u})),a.d(e,"p",(function(){return m})),a.d(e,"C",(function(){return f})),a.d(e,"K",(function(){return h})),a.d(e,"I",(function(){return p})),a.d(e,"q",(function(){return v})),a.d(e,"v",(function(){return b})),a.d(e,"D",(function(){return g})),a.d(e,"b",(function(){return _})),a.d(e,"e",(function(){return y})),a.d(e,"c",(function(){return w})),a.d(e,"d",(function(){return C})),a.d(e,"G",(function(){return x})),a.d(e,"o",(function(){return j})),a.d(e,"t",(function(){return O})),a.d(e,"i",(function(){return k})),a.d(e,"g",(function(){return T})),a.d(e,"h",(function(){return D})),a.d(e,"j",(function(){return I})),a.d(e,"A",(function(){return z})),a.d(e,"k",(function(){return V})),a.d(e,"s",(function(){return R})),a.d(e,"u",(function(){return $})),a.d(e,"y",(function(){return F})),a.d(e,"B",(function(){return K})),a.d(e,"f",(function(){return E})),a.d(e,"r",(function(){return N})),a.d(e,"m",(function(){return L})),a.d(e,"w",(function(){return S})),a.d(e,"E",(function(){return U}));var n=a("b775");function i(t){return Object(n["a"])({url:"channel/in-store/save-area",method:"post",data:t})}function s(t){return Object(n["a"])({url:"channel/in-store/save-area",method:"get",params:t})}function r(t){return Object(n["a"])({url:"channel/in-store/modify-area",method:"post",data:t})}function o(t){return Object(n["a"])({url:"channel/in-store/area-list",method:"get",params:t})}function c(t){return Object(n["a"])({url:"channel/in-store/goods-type",method:"get",params:t})}function l(t){return Object(n["a"])({url:"channel/in-store/table-list",method:"get",params:t})}function d(t){return Object(n["a"])({url:"channel/in-store/get-area",method:"get",params:t})}function u(t){return Object(n["a"])({url:"channel/in-store/save-table",method:"post",data:t})}function m(t){return Object(n["a"])({url:"channel/in-store/save-table",method:"get",params:t})}function f(t){return Object(n["a"])({url:"channel/in-store/modify-table",method:"post",data:t})}function h(t){return Object(n["a"])({url:"channel/in-store/type-list",method:"get",params:t})}function p(t){return Object(n["a"])({url:"channel/in-store/save-type",method:"post",data:t})}function v(t){return Object(n["a"])({url:"channel/in-store/save-type",method:"get",params:t})}function b(t){return Object(n["a"])({url:"channel/in-store/get-type",method:"get",params:t})}function g(t){return Object(n["a"])({url:"channel/in-store/modify-type",method:"post",data:t})}function _(t){return Object(n["a"])({url:"channel/in-store/batch-table",method:"post",data:t})}function y(t){return Object(n["a"])({url:"channel/in-store/cashier-statistics",method:"get",params:t})}function w(t){return Object(n["a"])({url:"channel/in-store/cashier-order-list",method:"get",params:t})}function C(t){return Object(n["a"])({url:"channel/in-store/cashier-print",method:"post",data:t})}function x(t){return Object(n["a"])({url:"channel/in-store/save-code",method:"post",data:t})}function j(t){return Object(n["a"])({url:"channel/in-store/save-code",method:"get",params:t})}function O(t){return Object(n["a"])({url:"channel/in-store/get-table",method:"get",params:t})}function k(t){return Object(n["a"])({url:"channel/in-store/establish-code",method:"post",data:t})}function T(t){return Object(n["a"])({url:"channel/in-store/code-list",method:"get",params:t})}function D(t){return Object(n["a"])({url:"channel/in-store/del-code",method:"post",data:t})}function I(t){return Object(n["a"])({url:"channel/in-store/fast-order-list",method:"get",params:t})}function z(t){return Object(n["a"])({url:"channel/in-store/modify-fast-order",method:"post",data:t})}function V(t){return Object(n["a"])({url:"channel/screen/fast-screen",method:"post",data:t})}function R(t){return Object(n["a"])({url:"channel/in-store/get-store-code",method:"get",params:t})}function $(t){return Object(n["a"])({url:"channel/in-store/table-order",method:"get",params:t})}function F(t){return Object(n["a"])({url:"channel/in-store/in-store-order-list",method:"get",params:t})}function K(t){return Object(n["a"])({url:"channel/in-store/modify-in-store-order",method:"post",data:t})}function E(t){return Object(n["a"])({url:"channel/in-store/clean-table",method:"post",data:t})}function N(t){return Object(n["a"])({url:"channel/in-store/statistics",method:"get",params:t})}function L(t){return Object(n["a"])({url:"channel/pay-vip/order-statistics",method:"get",params:t})}function S(t){return Object(n["a"])({url:"channel/pay-vip/order-list",method:"get",params:t})}function U(t){return Object(n["a"])({url:"channel/in-store/out-order-list",method:"get",params:t})}},d425:function(t,e,a){t.exports=a.p+"static/img/tishi2.6e6d698b.png"},df83:function(t,e,a){"use strict";var n=a("f9e1"),i=a.n(n);i.a},ec32:function(t,e,a){t.exports=a.p+"static/img/tishi6.f8110eec.png"},ecca:function(t,e,a){t.exports=a.p+"static/img/tishi3.19edf52a.jpg"},f9e1:function(t,e,a){}}]);