(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3ad1bfa4"],{"237a":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"outmain ba_f"},[t._m(0),s("el-tabs",{on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[s("el-tab-pane",{attrs:{label:"商家联",name:"1"}}),s("el-tab-pane",{attrs:{label:"顾客联",name:"2"}}),s("el-tab-pane",{attrs:{label:"一菜一单",name:"3"}})],1),s("div",{directives:[{name:"show",rawName:"v-show",value:"3"!=t.activeName,expression:"activeName!='3'"}],staticClass:"ticketWrapper flext pad_20"},[s("div",{staticClass:"demo pad_20"},[s("div",{staticClass:"fon_24 t_c pad_b_5"},[t._v("取单号:#1")]),s("div",{staticClass:"font_w400 t_c mar_b10"},[t._v("* 店铺名称(北京大学店) *")]),s("div",{directives:[{name:"show",rawName:"v-show",value:"1"==t.orderType||"3"==t.orderType,expression:"orderType=='1' || orderType=='3'"}],staticClass:"demoTitle font_w400 fon_16 t_c pad1"},[s("div",{staticClass:"font_w400 fon_24"},[t._v("-- 余额支付 --")]),s("div",{staticClass:"font_w400 fon_24 mar_t10"},[t._v("【立即送达】")])]),s("div",{directives:[{name:"show",rawName:"v-show",value:"2"==t.orderType||"4"==t.orderType,expression:"orderType=='2' || orderType=='4'"}],staticClass:"demoTitle font_w400 fon_16 t_c pad1"},[s("div",{staticClass:"font_w400 fon_24"},[t._v("-- 余额支付 --")]),s("div",{staticClass:"font_w400 fon_24 mar_t10"},[t._v("【预订单】")])]),s("div",{directives:[{name:"show",rawName:"v-show",value:"5"==t.orderType,expression:"orderType=='5'"}],staticClass:"demoTitle font_w400 fon_16 t_c pad1"},[s("div",{staticClass:"font_w400 fon_24"},[t._v("-- 售后订单 --")]),s("div",{staticClass:"font_w400 fon_24 mar_t10"},[t._v("订单申请售后,请尽快处理")])]),s("div",{directives:[{name:"show",rawName:"v-show",value:"1"==t.orderType||"5"==t.orderType,expression:"orderType=='1' || orderType=='5'"}],staticClass:"pad_b_5 bor_b_r102 mar_t20"},[s("p",[t._v("期望送达时间:立即送出14:27")])]),s("div",{directives:[{name:"show",rawName:"v-show",value:"2"==t.orderType,expression:"orderType=='2'"}],staticClass:"pad_b_5 bor_b_r102 mar_t20"},[s("p",[t._v("期望送达时间:2020-08-08 08:00")])]),s("div",{directives:[{name:"show",rawName:"v-show",value:"3"==t.orderType||"4"==t.orderType,expression:"orderType=='3' || orderType=='4'"}],staticClass:"pad_b_5 bor_b_r102 mar_t20"},[s("p",[t._v("取单方式:到店就餐")]),s("p",[t._v("预计到店时间:立即自取")])]),t._m(1),t._m(2),t._m(3),t._m(4),s("div",{staticClass:"diff codeWrapper t_c pad1"},[s("img",{staticClass:"codeimg",attrs:{src:a("93dd")}}),s("div",{directives:[{name:"show",rawName:"v-show",value:"1"==t.activeName,expression:"activeName=='1'"}],staticClass:"bottom-tip mar_t10 wordall"},[t._v(t._s(t.note))]),s("div",{directives:[{name:"show",rawName:"v-show",value:"2"==t.activeName,expression:"activeName=='2'"}],staticClass:"bottom-tip mar_t10 wordall"},[t._v(t._s(t.note2))]),s("div",[t._v("门店电话:xxxxxxxxxxx")])]),s("div",{staticClass:"font_w400 fon_24 t_c"},[t._v("---- #1完 ----")])]),s("div",{staticClass:"ticketSet rel mar_l50 pad_20 ba_f5"},[s("div",{staticClass:"ticketSetTitle fon_14 font_w700 pad_b_15 bor_b_el"},[s("span",{directives:[{name:"show",rawName:"v-show",value:"1"==t.activeName,expression:"activeName=='1'"}]},[t._v("外卖小票")]),s("span",{directives:[{name:"show",rawName:"v-show",value:"2"==t.activeName,expression:"activeName=='2'"}]},[t._v("堂食小票")]),s("span",{directives:[{name:"show",rawName:"v-show",value:"3"==t.activeName,expression:"activeName=='3'"}]},[t._v("一菜一单小票")])]),s("div",[s("div",{staticClass:"editWrapperTitle color_6 pad_tb_5"},[t._v("订单类型")]),s("div",{directives:[{name:"show",rawName:"v-show",value:"1"==t.activeName,expression:"activeName=='1'"}],staticClass:"mar_t10"},[s("el-radio-group",{model:{value:t.orderType,callback:function(e){t.orderType=e},expression:"orderType"}},[s("el-radio",{attrs:{label:"1"}},[t._v("外卖订单")]),s("el-radio",{attrs:{label:"2"}},[t._v("外卖预约订单")]),s("el-radio",{attrs:{label:"3"}},[t._v("外卖自提订单")]),s("el-radio",{staticClass:"mar_t20",attrs:{label:"4"}},[t._v("自提预约订单")]),s("el-radio",{attrs:{label:"5"}},[t._v("退款订单")])],1)],1),s("div",{directives:[{name:"show",rawName:"v-show",value:"2"==t.activeName,expression:"activeName=='2'"}],staticClass:"mar_t10"},[s("el-radio-group",{model:{value:t.orderType2,callback:function(e){t.orderType2=e},expression:"orderType2"}},[s("el-radio",{attrs:{label:"1"}},[t._v("外卖订单")]),s("el-radio",{attrs:{label:"2"}},[t._v("外卖预约订单")]),s("el-radio",{attrs:{label:"3"}},[t._v("外卖自提订单")]),s("el-radio",{staticClass:"mar_t20",attrs:{label:"4"}},[t._v("自提预约订单")]),s("el-radio",{attrs:{label:"5"}},[t._v("退款订单")])],1)],1)]),s("div",{staticClass:"editWrapper pad_tb_15"},[s("div",{staticClass:"editWrapperTitle color_6 pad_tb_5"},[t._v("编辑底部备注")]),s("el-input",{directives:[{name:"show",rawName:"v-show",value:"1"==t.activeName,expression:"activeName=='1'"}],ref:"note",attrs:{type:"textarea",rows:2,placeholder:"请输入内容"},model:{value:t.note,callback:function(e){t.note=e},expression:"note"}}),s("el-input",{directives:[{name:"show",rawName:"v-show",value:"2"==t.activeName,expression:"activeName=='2'"}],ref:"note2",attrs:{type:"textarea",rows:2,placeholder:"请输入内容"},model:{value:t.note2,callback:function(e){t.note2=e},expression:"note2"}})],1),s("div",{staticClass:"editWrapper pad_tb_15"},[s("div",{staticClass:"editWrapperTitle color_6 pad_tb_5"},[t._v("打印二维码")]),s("el-switch",{directives:[{name:"show",rawName:"v-show",value:"1"==t.activeName,expression:"activeName=='1'"}],attrs:{"active-value":"1","inactive-value":"2"},model:{value:t.display,callback:function(e){t.display=e},expression:"display"}}),s("el-switch",{directives:[{name:"show",rawName:"v-show",value:"2"==t.activeName,expression:"activeName=='2'"}],attrs:{"active-value":"1","inactive-value":"2"},model:{value:t.display2,callback:function(e){t.display2=e},expression:"display2"}})],1),s("div",{staticClass:"editWrapper pad_tb_15"},[s("div",{staticClass:"editWrapperTitle color_6 pad_tb_5"},[t._v("二维码链接")]),s("el-input",{directives:[{name:"show",rawName:"v-show",value:"1"==t.activeName,expression:"activeName=='1'"}],attrs:{placeholder:"请输入二维码链接"},model:{value:t.codeUrl,callback:function(e){t.codeUrl=e},expression:"codeUrl"}}),s("el-input",{directives:[{name:"show",rawName:"v-show",value:"2"==t.activeName,expression:"activeName=='2'"}],attrs:{placeholder:"请输入二维码链接"},model:{value:t.codeUrl2,callback:function(e){t.codeUrl2=e},expression:"codeUrl2"}})],1),s("div",{staticClass:"btnWrapper pad_t_10 flext"},[s("el-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v("应用")])],1)])]),s("div",{directives:[{name:"show",rawName:"v-show",value:"3"==t.activeName,expression:"activeName=='3'"}]},[t._m(5)])],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("打印设置")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"subtotal bor_b_r102 pad_tb_15"},[a("div",{staticClass:"dif pad1"},[t._v("订单编号:524251426352336664541")]),a("div",{staticClass:"dif pad1"},[t._v("下单时间:2017-11-16 12:36:36")]),a("div",{staticClass:"dif wordall fon_14 font_w600 pad1"},[t._v("备注:千万别放蒜 不能放辣 姜也不能放 ")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"product pad_tb_15 bor_b_r102"},[a("div",{staticClass:"productItem flext pad1"},[a("div",{staticClass:"productItemTitle"},[t._v("名称")]),a("div",{staticClass:"productItemNum t_c"},[t._v("数量")]),a("div",{staticClass:"productItemMoney t_r"},[t._v("价格")])]),a("div",{staticClass:"productItem flext pad1 fon_16"},[a("div",{staticClass:"productItemTitle"},[t._v("鲜汁肉包")]),a("div",{staticClass:"productItemNum t_c"},[t._v("X1")]),a("div",{staticClass:"productItemMoney t_r"},[t._v("5.20")])]),a("div",{staticClass:"productItem flext pad1 fon_16"},[a("div",{staticClass:"productItemTitle"},[t._v("老坛酸菜馅饼")]),a("div",{staticClass:"productItemNum t_c"},[t._v("X2")]),a("div",{staticClass:"productItemMoney t_r"},[t._v("12.20")])]),a("div",{staticClass:"productItem flext pad1 fon_16"},[a("div",{staticClass:"productItemTitle"},[t._v("韭菜猪肉馅饼")]),a("div",{staticClass:"productItemNum t_c"},[t._v("X1")]),a("div",{staticClass:"productItemMoney t_r"},[t._v("6.00")])]),a("div",{staticClass:"productItem flext pad1 fon_16"},[a("div",{staticClass:"productItemTitle"},[t._v("养生馒头")]),a("div",{staticClass:"productItemNum t_c"},[t._v("X1")]),a("div",{staticClass:"productItemMoney t_r"},[t._v("3.00")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"subtotal mar_t15"},[a("div",{staticClass:"other mar_b10 pad_b_10 rel bor_b_r102"},[a("p",{staticClass:"otherline ab t_c ba_f"},[t._v("其他费用")]),a("div",{staticClass:"otherDetail flext pad1"},[a("div",{staticClass:"otherTitle"},[t._v("[配送费: +5.00]")])]),a("div",{staticClass:"otherDetail flext pad1"},[a("div",{staticClass:"otherTitle"},[t._v("[餐盒费: +2.00]")])]),a("div",{staticClass:"otherDetail flext pad1"},[a("div",{staticClass:"otherTitle"},[t._v("[优惠券优惠: -5.00]")])]),a("div",{staticClass:"otherDetail flext pad1"},[a("div",{staticClass:"otherTitle"},[t._v("[满减优惠: -2.00]")])]),a("div",{staticClass:"subTotalItem flex-b fon_16 font_w600 lh30 pad1"},[a("div",{staticClass:"mar_t10 fon_24 fnormal"},[t._v("实付:¥196.0")])])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"addrass fon_18 font_w600 pad_tb_10 bor_b_r102"},[a("div",[t._v("北京市朝阳区望江西路xxx号xxx大厦xxx号楼xxx层xxx")]),a("div",[t._v("赵先生 135xxxx9685")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"demo pad_20 mar_t20 mar_l20"},[a("div",{staticClass:"fon_24 t_c pad_b_5"},[t._v("取单号:#1")]),a("div",{staticClass:"subtotal bor_b_r102 pad_tb_15"},[a("div",{staticClass:"dif pad1"},[t._v("订单编号:524251426352336664541")]),a("div",{staticClass:"dif pad1"},[t._v("下单时间:2017-11-16 12:36:36")])]),a("div",{staticClass:"product pad_tb_15 bor_b_r102"},[a("div",{staticClass:"productItem flext pad1"},[a("div",{staticClass:"productItemTitle"},[t._v("名称")]),a("div",{staticClass:"productItemNum t_c"},[t._v("数量")]),a("div",{staticClass:"productItemMoney t_r"},[t._v("价格")])]),a("div",{staticClass:"productItem flext pad1 fon_16"},[a("div",{staticClass:"productItemTitle"},[t._v("鲜汁肉包")]),a("div",{staticClass:"productItemNum t_c"},[t._v("X1")]),a("div",{staticClass:"productItemMoney t_r"},[t._v("5.20")])]),a("div",{staticClass:"productItem flext pad1 fon_16"},[a("div",{staticClass:"productItemTitle"},[t._v("老坛酸菜馅饼")]),a("div",{staticClass:"productItemNum t_c"},[t._v("X2")]),a("div",{staticClass:"productItemMoney t_r"},[t._v("12.20")])]),a("div",{staticClass:"productItem flext pad1 fon_16"},[a("div",{staticClass:"productItemTitle"},[t._v("韭菜猪肉馅饼")]),a("div",{staticClass:"productItemNum t_c"},[t._v("X1")]),a("div",{staticClass:"productItemMoney t_r"},[t._v("6.00")])]),a("div",{staticClass:"productItem flext pad1 fon_16"},[a("div",{staticClass:"productItemTitle"},[t._v("养生馒头")]),a("div",{staticClass:"productItemNum t_c"},[t._v("X1")]),a("div",{staticClass:"productItemMoney t_r"},[t._v("3.00")])])]),a("div",{staticClass:"font_w400 fon_24 t_c mar_t40"},[t._v("---- #1完 ----")])])}],r=(a("ac1f"),a("5319"),a("96cf"),a("1da1")),o=a("294d"),d={mounted:function(){this.bus.$emit("loading",!0),this.init(),this.note=this.$refs.note.value.replace("↵","\n"),this.note2=this.$refs.note2.value.replace("↵","\n")},data:function(){return{activeName:"1",note:"",note2:"",codeUrl:"",codeUrl2:"",id:"",inId:"",orderType:"1",orderType2:"1",display:"1",display2:"1"}},methods:{handleClick:function(){},init:function(){var t=this;return Object(r["a"])(regeneratorRuntime.mark((function e(){var a,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["o"])({ident:"print"});case 2:a=e.sent,s=a.data,s.sjlNote&&(t.note=s.sjlNote),s.gklNote&&(t.note2=s.gklNote),t.codeUrl=s.codeUrl,t.codeUrl2=s.codeUrl2,t.display=s.display,t.display2=s.display2,t.orderType=s.orderType?s.orderType:"1",t.orderType2=s.orderType2?s.orderType2:"1",t.bus.$emit("loading",!1);case 13:case"end":return e.stop()}}),e)})))()},submitForm:function(){var t=this;return Object(r["a"])(regeneratorRuntime.mark((function e(){var a,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["S"])({ident:"print",identName:"打印设置",sjlNote:t.note,gklNote:t.note2,codeUrl:t.codeUrl,codeUrl2:t.codeUrl2,display:t.display,display2:t.display2,orderType:t.orderType,orderType2:t.orderType2});case 2:a=e.sent,s=a.msg,t.$baseMessage(s,"success"),t.init();case 6:case"end":return e.stop()}}),e)})))()}}},l=d,c=(a("bdf1"),a("2877")),v=Object(c["a"])(l,s,i,!1,null,null,null);e["default"]=v.exports},"93dd":function(t,e,a){t.exports=a.p+"static/img/code.ae27ced7.png"},a89b:function(t,e,a){},bdf1:function(t,e,a){"use strict";var s=a("a89b"),i=a.n(s);i.a}}]);