canyin-project/ybcy/views/channel/index/static/js/chunk-0a413680.9a2aca3f.js

1 line
19 KiB
JavaScript
Raw Normal View History

2024-11-01 16:07:54 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0a413680"],{"3bbe":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},7156:function(t,e,n){var r=n("861d"),a=n("d2bb");t.exports=function(t,e,n){var o,i;return a&&"function"==typeof(o=e.constructor)&&o!==n&&r(i=o.prototype)&&i!==n.prototype&&a(t,i),t}},"8f06":function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"receipt",staticStyle:{width:"200px"},attrs:{id:"receipt"}},[n("div",{staticStyle:{"border-bottom":"1px dashed #000000","font-size":"12px","text-align":"center","padding-bottom":"5px"}},[n("h1",{staticStyle:{width:"100%","text-align":"center"}},[t._v("当面付小票")]),n("div",{staticStyle:{"margin-top":"5px"}},[t._v("*"+t._s(t.element.storeName)+"*")]),n("div",{staticStyle:{"margin-top":"5px"}},[t._v("用户信息:"+t._s(t.element.userName)+"UID"+t._s(t.element.userId)+"")]),n("div",{staticStyle:{"margin-top":"5px",width:"100%"}},[t._v("--"),"1"==t.element.payMode?n("span",[t._v("微信支付")]):t._e(),"5"==t.element.payMode?n("span",[t._v("余额支付")]):t._e(),t._v("--")])]),n("div",{staticStyle:{"border-bottom":"1px dashed #000000","font-size":"12px"}},[n("div",[t._v("订单编号:"+t._s(t.element.outTradeNo))]),n("div",[t._v("交易时间:"+t._s(t.element.createdAt))]),t.element.userNote?n("div",[t._v("备注:"+t._s(t.element.userNote))]):t._e()]),n("div",{staticStyle:{"border-bottom":"1px dashed #000000"}},[n("h3",{staticStyle:{"font-weight":"bold"}},[t._v("实付:¥"+t._s(t.element.money))])]),n("div",{staticStyle:{"margin-top":"5px","font-size":"14px"}},[t._v("门店电话:"+t._s(t.element.storeTel))]),t._m(0),n("h1",[t._v("----完----")])])},a=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{"text-align":"center","padding-bottom":"30px"}},[n("h4",[t._v("谢谢惠顾")]),n("h4",[t._v("欢迎下次光临")])])}],o=n("03dc"),i={props:{data:Object},computed:{element:function(){return this.data}},watch:{element:function(){}},methods:{printElement:function(t){console.log("printerName",t);var e=Object(o["a"])(),n=this.$refs.receipt.innerHTML,r=this.$refs.receipt.offsetHeight;console.log(n),e.SET_PRINT_PAGESIZE(3,"58mm",20,""),e.ADD_PRINT_HTM("9mm","0mm","RightMargin:0mm",r+"px",n),e.SET_PRINTER_INDEX(t)&&e.PRINT()}}},s=i,c=(n("b293"),n("2877")),l=Object(c["a"])(s,r,a,!1,null,"0c9f18c5",null);e["a"]=l.exports},"9cde":function(t,e,n){"use strict";n.d(e,"F",(function(){return a})),n.d(e,"n",(function(){return o})),n.d(e,"z",(function(){return i})),n.d(e,"a",(function(){return s})),n.d(e,"x",(function(){return c})),n.d(e,"J",(function(){return l})),n.d(e,"l",(function(){return u})),n.d(e,"H",(function(){return d})),n.d(e,"p",(function(){return f})),n.d(e,"C",(function(){return p})),n.d(e,"K",(function(){return m})),n.d(e,"I",(function(){return h})),n.d(e,"q",(function(){return b})),n.d(e,"v",(function(){return _})),n.d(e,"D",(function(){return v})),n.d(e,"b",(function(){return g})),n.d(e,"e",(function(){return y})),n.d(e,"c",(function(){return w})),n.d(e,"d",(function(){return x})),n.d(e,"G",(function(){return O})),n.d(e,"o",(function(){return j})),n.d(e,"t",(function(){return I})),n.d(e,"i",(function(){return C})),n.d(e,"g",(function(){return S})),n.d(e,"h",(function(){return D})),n.d(e,"j",(function(){return N})),n.d(e,"A",(function(){return E})),n.d(e,"k",(function(){return k})),n.d(e,"s",(function(){return T})),n.d(e,"u",(function(){return M})),n.d(e,"y",(function(){return A})),n.d(e,"B",(function(){return P})),n.d(e,"f",(function(){return R})),n.d(e,"r",(function(){return z})),n.d(e,"m",(function(){return $})),n.d(e,"w",(function(){return F})),n.d(e,"E",(function(){return L}));var r=n("b775");function a(t){return Object(r["a"])({url:"channel/in-store/save-area",method:"post",data:t})}function o(t){return Object(r["a"])({url:"channel/in-store/save-area",method:"get",params:t})}function i(t){return Object(r["a"])({url:"channel/in-store/modify