1 |
- webpackJsonp([19],{"74QC":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i,a,r=t("fZjL"),o=t.n(r),s=t("Xxa5"),l=t.n(s),d=t("exGp"),c=t.n(d),m=t("//Fk"),p=t.n(m),h=t("Dd8w"),u=t.n(h),g=t("bOdI"),f=t.n(g),b=t("Zrlr"),v=t.n(b),x=t("wxAW"),w=t.n(x),y=(t("hky6"),t("UVPs")),k=t("TwlK"),_=t.n(k),S=t("Lokx"),C=t.n(S),z=t("MJLE"),L=t.n(z),q=function(){function e(){v()(this,e),this.printWindow=null}return w()(e,[{key:"print",value:function(e){var n=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.width,a=t.height,r=t.marginTop,o=t.marginLeft,s=t.fontSize;this.printWindow=window.open("","_blank"),this.printWindow.document.write("\n <html>\n <head>\n <title>打印标签</title>\n <style>\n @page {\n size: "+i+"mm "+a+"mm;\n margin: 0;\n }\n body {\n margin: 0;\n -webkit-print-color-adjust: exact;\n }\n * {\n border: none !important;\n outline: none !important;\n }\n .print-content {\n width: "+i+"mm;\n height: "+a+"mm;\n page-break-after: always;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n box-sizing: border-box;\n padding: 1mm;\n margin-top: "+r+"mm;\n margin-left: "+o+"mm;\n }\n .barcode-container {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 70%;\n }\n .barcode-container svg {\n max-width: 100%;\n max-height: 100%;\n }\n .text {\n font-size: "+s+"px;\n margin-top: 0mm;\n }\n @media print {\n * {\n border: none !important;\n outline: none !important;\n -webkit-print-color-adjust: exact;\n }\n }\n </style>\n </head>\n <body>"+e+"</body>\n </html>\n "),this.printWindow.document.close(),setTimeout(function(){n.printWindow.focus(),n.printWindow.print(),setTimeout(function(){n.printWindow.close()},500)},500)}}]),e}(),T={name:"systemLogs",data:function(){var e;return e={printer:null,loading:!1,params:{page_no:1,page_size:20},tableData:"",searchTime:"",showLogDetail:!1,currDetailLog:{},advancedForm:{},codeList:[],barcodeValue:"",multipleSelection:[],scale:100},f()(e,"codeList",[]),f()(e,"PrintVisible",!1),f()(e,"printOrientation","portrait"),f()(e,"selectedSize","large"),f()(e,"sizeOptions",[{label:"45×10mm",value:"medium",width:45,height:12,marginTop:0,marginLeft:2,fontSize:7},{label:"50×20mm",value:"large",width:50,height:20,marginTop:0,marginLeft:2.5,fontSize:12},{label:"25×10mm",value:"small",width:25,height:10,marginTop:0,marginLeft:0,fontSize:6}]),f()(e,"printOptions",{id:"deliverySheet",popTitle:"条码打印",preview:!1,extraCss:"\n @page {\n size: auto;\n margin: 0;\n }\n body {\n margin: 0;\n -webkit-print-color-adjust: exact;\n }\n .tips-t {\n page-break-after: always;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n box-sizing: border-box;\n padding: 1mm;\n /* 移除边框 */\n border: none !important;\n outline: none !important;\n }\n /* 移除所有可能的边框和轮廓 */\n * {\n border: none !important;\n outline: none !important;\n }\n .content-wrapper {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n height: 100%;\n }\n .barcode-container {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 70%;\n }\n .numOrder {\n font-size: 10px;\n margin-top: 0.5mm;\n }\n /* 打印时隐藏所有边框 */\n @media print {\n * {\n border: none !important;\n outline: none !important;\n -webkit-print-color-adjust: exact;\n }\n .tips-t {\n border: none !important;\n outline: none !important;\n }\n }\n "}),f()(e,"searchForm",{goods_name:"",sku:""}),f()(e,"qrCodeVisible",!1),f()(e,"qrCodeList",[]),f()(e,"qrCodeScale",100),f()(e,"qrCodeSelectedSize","large"),f()(e,"qrCodeSizeOptions",[{label:"45×45mm",value:"medium",width:45,height:45,marginTop:0,marginLeft:0,qrSize:80},{label:"50×50mm",value:"large",width:50,height:50,marginTop:0,marginLeft:0,qrSize:100},{label:"25×25mm",value:"small",width:20,height:20,marginTop:0,marginLeft:0,qrSize:30}]),e},mounted:function(){this.GET_SystemLogs(),this.rowDrop()},created:function(){this.printer=new q},watch:(i={PrintVisible:function(e){var n=this;e&&this.$nextTick(function(){n.generateBarcodes()})},selectedSize:{handler:function(e){var n=this;this.$nextTick(function(){n.generateBarcodes()})}}},f()(i,"selectedSize",{handler:function(e){var n={large:{width:"50mm",height:"20mm"},medium:{width:"45mm",height:"10mm"},small:{width:"25mm",height:"10mm"}}[e];this.printOptions.extraCss="\n @page {\n size: "+n.width+" "+n.height+";\n margin: 0;\n }\n body {\n margin: 0;\n -webkit-print-color-adjust: exact;\n }\n * {\n border: none !important;\n outline: none !important;\n }\n .tips-t {\n width: "+n.width+";\n height: "+n.height+";\n page-break-after: always;\n margin-top:-15px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n box-sizing: border-box;\n padding: 1mm;\n border: none !important;\n outline: none !important;\n }\n .content-wrapper {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n height: 100%;\n }\n .barcode-container {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 70%;\n }\n .barcode-container svg {\n max-width: 100%;\n max-height: 100%;\n }\n .numOrder {\n font-size: 10px;\n margin-top: 0.5mm;\n }\n @media print {\n * {\n border: none !important;\n outline: none !important;\n -webkit-print-color-adjust: exact;\n }\n .tips-t {\n border: none !important;\n outline: none !important;\n }\n }\n "},immediate:!0}),f()(i,"qrCodeSelectedSize",{handler:function(e){var n=this;this.$nextTick(function(){n.generateQRCodes()})}}),i),methods:(a={qRcode:function(){var e=this;0!==this.multipleSelection.length?(this.qrCodeList=this.multipleSelection.map(function(e){return e.sku}),this.qrCodeVisible=!0,this.$nextTick(function(){e.generateQRCodes()})):this.$message.warning("请先选择要打印的商品")},generateQRCodes:function(){var e=this;this.qrCodeList.forEach(function(n,t){var i=document.getElementById("qrcode-"+t);if(i){i.innerHTML="";var a=e.qrCodeSizeOptions.find(function(n){return n.value===e.qrCodeSelectedSize}),r=document.createElement("div");r.style.position="relative",r.style.width=a.qrSize+"px",r.style.height=a.qrSize+"px",i.appendChild(r),new L.a(r,{text:n,width:a.qrSize,height:a.qrSize,colorDark:"#000000",colorLight:"#ffffff",correctLevel:L.a.CorrectLevel.H});var o=document.createElement("div");o.style.position="absolute",o.style.top="50%",o.style.left="50%",o.style.transform="translate(-50%, -50%)",o.style.backgroundColor="white",o.style.padding="2px 2px",o.style.fontSize=.1*a.qrSize+"px",o.style.textAlign="center",o.style.fontWeight="bold",o.textContent="SKU",r.appendChild(o);var s=r.querySelector("img");s&&(s.onload=function(){o.offsetWidth,o.offsetHeight})}})},handleQRCodePrint:function(){var e=this;try{var n=this.qrCodeSizeOptions.find(function(n){return n.value===e.qrCodeSelectedSize}),t=this.qrCodeList.map(function(e,n){var t=document.getElementById("qrcode-"+n);return'\n <div class="print-content">\n <div class="qrcode-container">\n '+(t?t.outerHTML:"")+"\n </div>\n \n </div>\n "}).join("");this.printer.print(t,{width:n.width,height:n.height,marginTop:n.marginTop,marginLeft:n.marginLeft,fontSize:12}),this.$message.success("打印成功"),this.qrCodeVisible=!1}catch(e){this.$message.error("打印失败:"+e.message)}},handleQRCodeCancel:function(){this.qrCodeVisible=!1,this.qrCodeList=[]},handleSearch:function(){this.params=u()({},this.params,{name:this.searchForm.goods_name,sku:this.searchForm.sku,page_no:1}),this.GET_SystemLogs()},handleReset:function(){this.searchForm.goods_name="",this.searchForm.sku="",this.params={page_no:1,page_size:20},this.GET_SystemLogs()},generateBarcodes:function(){var e=this;return new p.a(function(n,t){try{e.$nextTick(function(){e.codeList.forEach(function(n,t){var i=e.getBarcodeOptions(),a=document.getElementById("barcode-"+t);if(a){for(;a.firstChild;)a.removeChild(a.firstChild);_()("#barcode-"+t,n,i)}}),n()})}catch(e){t(e)}})},getBarcodeOptions:function(){var e={large:{width:1.5,height:40},medium:{width:1.2,height:20},small:{width:1,height:15}}[this.selectedSize]||{width:1.5,height:40};return{format:"CODE128",width:e.width,height:e.height,displayValue:!1,margin:5,fontSize:"small"===this.selectedSize?8:12,textMargin:2}},handleCancle:function(){this.PrintVisible=!1},handleSelectionChange:function(e){this.multipleSelection=e},batchPrint:function(){var e=this;return c()(l.a.mark(function n(){var t;return l.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:try{t=e.multipleSelection.map(function(e){return e.sku}),e.codeList=t,e.PrintVisible=!0}catch(n){e.$message.error("批量打印失败:"+n.message)}case 1:case"end":return n.stop()}},n,e)}))()},handlePrintGoodsLend:function(){var e=this;return c()(l.a.mark(function n(){var t,i;return l.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(n.prev=0,e.selectedSize){n.next=4;break}return e.$message.warning("请先选择打印尺寸"),n.abrupt("return");case 4:if(t=e.sizeOptions.find(function(n){return n.value===e.selectedSize})){n.next=7;break}throw new Error("无效的打印尺寸");case 7:return n.next=9,e.generateBarcodes();case 9:i=e.codeList.map(function(e,n){var t=document.getElementById("barcode-"+n);if(!t)throw new Error("条形码生成失败");return'\n <div class="print-content">\n <div class="barcode-container">\n '+t.outerHTML+'\n </div>\n <div class="text">'+String(e).toUpperCase()+"</div>\n </div>\n "}).join(""),e.printer.print(i,{width:t.width,height:t.height,marginTop:t.marginTop,marginLeft:t.marginLeft,fontSize:t.fontSize}),e.$message.success("打印成功"),e.PrintVisible=!1,n.next=18;break;case 15:n.prev=15,n.t0=n.catch(0),e.$message.error("打印失败:"+n.t0.message);case 18:case"end":return n.stop()}},n,e,[[0,15]])}))()}},f()(a,"handleCancle",function(){this.PrintVisible=!1,this.codeList=[]}),f()(a,"PrintIng",function(e){var n=this;return c()(l.a.mark(function t(){return l.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:try{n.barcodeValue=e.sku,n.codeList=[e.sku],n.PrintVisible=!0}catch(e){n.$message.error("打印失败:"+e.message)}case 1:case"end":return t.stop()}},t,n)}))()}),f()(a,"rowDrop",function(){var e=document.querySelector(".draggable-table .el-table__body-wrapper tbody"),n=this;C.a.create(e,{animation:300,handle:".drag-handle",onEnd:function(e){var t=e.newIndex,i=(e.oldIndex,n.tableData.data.splice(t,1)[0]);n.tableData.data.splice(t,0,i),n.updateList(i.id,t)}})}),f()(a,"updateList",function(e,n){var t=this,i=[{position:"own",product_id:this.tableData.data[n].id,sort:this.tableData.data[n].sort}];n>0&&i.push({position:"before",product_id:this.tableData.data[n-1].id,sort:this.tableData.data[n-1].sort}),n<this.tableData.data.length-1&&i.push({position:"after",product_id:this.tableData.data[n+1].id,sort:this.tableData.data[n+1].sort}),y.h({data:i}).then(function(e){t.$message.success("更新成功!"),t.GET_SystemLogs()}).catch(function(){t.$message.error("更新失败!")})}),f()(a,"handlePageSizeChange",function(e){this.params.page_size=e,this.GET_SystemLogs()}),f()(a,"handlePageCurrentChange",function(e){this.params.page_no=e,this.GET_SystemLogs()}),f()(a,"searchEvent",function(e){var n=this;this.params=u()({},this.params,{keyword:e}),o()(this.advancedForm).forEach(function(e){return delete n.params[e]}),this.params.page_no=1,this.GET_SystemLogs()}),f()(a,"advancedSearchEvent",function(){this.params=u()({},this.params,this.advancedForm),delete this.params.start_time,delete this.params.end_time,this.advancedForm.order_time_range&&(this.params.start_time=this.advancedForm.order_time_range[0]/1e3,this.params.end_time=this.advancedForm.order_time_range[1]/1e3),delete this.params.keyword,delete this.params.order_time_range,this.params.page_no=1,this.GET_SystemLogs()}),f()(a,"GET_SystemLogs",function(){var e=this;this.loading=!0;var n=this.MixinClone(this.params);o()(n).forEach(function(e){n[e]||0===n[e]||delete n[e]}),y.c(n).then(function(n){e.loading=!1,e.tableData=n,e.params.page_no=n.page_no,e.params.page_size=n.page_size}).catch(function(){e.loading=!1})}),f()(a,"handleShowDetail",function(e){this.showLogDetail=!0,this.currDetailLog=e}),f()(a,"handleSingleQRCode",function(e){var n=this;this.qrCodeList=[e.sku],this.qrCodeVisible=!0,this.$nextTick(function(){n.generateQRCodes()})}),a)},j=t("XyMi");var E=function(e){t("lzRm"),t("g89i")},D=Object(j.a)(T,function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",[t("div",{staticClass:"search-area"},[t("el-form",{ref:"searchForm",attrs:{model:e.searchForm,inline:!0}},[t("el-form-item",{attrs:{label:"商品名称"}},[t("el-input",{attrs:{placeholder:"请输入商品名称",clearable:""},nativeOn:{keyup:function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"enter",13,n.key,"Enter")?null:e.handleSearch.apply(null,arguments)}},model:{value:e.searchForm.goods_name,callback:function(n){e.$set(e.searchForm,"goods_name",n)},expression:"searchForm.goods_name"}})],1),e._v(" "),t("el-form-item",{attrs:{label:"SKU"}},[t("el-input",{attrs:{placeholder:"请输入SKU",clearable:""},nativeOn:{keyup:function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"enter",13,n.key,"Enter")?null:e.handleSearch.apply(null,arguments)}},model:{value:e.searchForm.sku,callback:function(n){e.$set(e.searchForm,"sku",n)},expression:"searchForm.sku"}})],1),e._v(" "),t("el-form-item",[t("el-button",{attrs:{type:"primary"},on:{click:e.handleSearch}},[e._v("搜索")]),e._v(" "),t("el-button",{on:{click:e.handleReset}},[e._v("重置")])],1)],1)],1),e._v(" "),t("en-table-layout",{staticClass:"draggable-table",attrs:{tableData:e.tableData.data,loading:e.loading},on:{"selection-change":e.handleSelectionChange}},[t("div",{staticClass:"inner-toolbar inner-toolbar2",attrs:{slot:"toolbar"},slot:"toolbar"},[t("div",{staticClass:"toolbar-btns"},[t("el-button",{attrs:{size:"mini",type:"primary",disabled:0===e.multipleSelection.length},on:{click:e.batchPrint}},[e._v("批量打印")]),t("el-button",{attrs:{size:"mini",type:"primary",disabled:0===e.multipleSelection.length},on:{click:e.qRcode}},[e._v("二维码打印")])],1)]),e._v(" "),t("template",{slot:"table-columns"},[t("el-table-column",{attrs:{label:"",width:"100"}},[[t("span",{staticClass:"drag-handle"},[e._v("☰")])]],2),e._v(" "),t("el-table-column",{attrs:{type:"selection",width:"55"}}),e._v(" "),t("el-table-column",{attrs:{label:"图标"},scopedSlots:e._u([{key:"default",fn:function(e){return[t("img",{attrs:{src:e.row.goods_vo.image_small_list,alt:"",width:"50px"}})]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"goods_vo.name",label:"商品名称"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("span",{staticClass:"selectable"},[e._v(e._s(n.row.goods_vo.name))])]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"goods_vo.sn",label:"商品编号"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("span",{staticClass:"selectable"},[e._v(e._s(n.row.goods_vo.sn))])]}}])}),e._v(" "),t("el-table-column",{attrs:{label:"SKU",align:"center"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("span",{staticClass:"selectable"},[e._v(e._s(n.row.sku))])]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"spec_name",label:"规格型号"}}),e._v(" "),t("el-table-column",{attrs:{label:"操作",width:"310"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-button",{attrs:{size:"mini"},on:{click:function(t){return e.PrintIng(n.row)}}},[e._v("打印SKU")]),e._v(" "),t("el-button",{attrs:{size:"mini"},on:{click:function(t){return e.handleSingleQRCode(n.row)}}},[e._v("二维码打印")])]}}])})],1),e._v(" "),e.tableData?t("el-pagination",{attrs:{slot:"pagination","current-page":e.tableData.page_no,"page-sizes":[20,50,70,100],"page-size":e.tableData.page_size,layout:"total, sizes, prev, pager, next, jumper",total:e.tableData.data_total},on:{"size-change":e.handlePageSizeChange,"current-change":e.handlePageCurrentChange},slot:"pagination"}):e._e()],2),e._v(" "),t("el-dialog",{attrs:{title:"打印设置",visible:e.PrintVisible,width:"940px",center:""},on:{"update:visible":function(n){e.PrintVisible=n},close:e.handleCancle}},[t("el-form",{staticClass:"print-options",attrs:{inline:!0}},[t("el-form-item",{attrs:{label:"打印规格"}},[t("el-select",{attrs:{placeholder:"请选择打印规格"},model:{value:e.selectedSize,callback:function(n){e.selectedSize=n},expression:"selectedSize"}},e._l(e.sizeOptions,function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1)],1),e._v(" "),t("el-form-item",{attrs:{label:"缩放"}},[t("el-input-number",{attrs:{min:50,max:150,step:10},model:{value:e.scale,callback:function(n){e.scale=n},expression:"scale"}})],1)],1),e._v(" "),t("div",{staticClass:"print-preview-container"},[t("div",{style:{transform:"scale("+e.scale/100+")"},attrs:{id:"deliverySheet"}},e._l(e.codeList,function(n,i){return t("div",{key:i,staticClass:"tips-t"},[t("div",{staticClass:"content-wrapper"},[t("div",{staticClass:"barcode-container"},[t("svg",{attrs:{id:"barcode-"+i}})]),e._v(" "),t("div",{staticClass:"numOrder"},[e._v(e._s(String(n).toUpperCase()))])])])}),0)]),e._v(" "),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:e.handleCancle}},[e._v("取消")]),e._v(" "),t("el-button",{attrs:{type:"primary"},on:{click:e.handlePrintGoodsLend}},[e._v("打印")])],1)],1),e._v(" "),t("el-dialog",{attrs:{title:"二维码打印设置",visible:e.qrCodeVisible,width:"940px",center:""},on:{"update:visible":function(n){e.qrCodeVisible=n},close:e.handleQRCodeCancel}},[t("el-form",{staticClass:"print-options",attrs:{inline:!0}},[t("el-form-item",{attrs:{label:"打印规格"}},[t("el-select",{attrs:{placeholder:"请选择打印规格"},model:{value:e.qrCodeSelectedSize,callback:function(n){e.qrCodeSelectedSize=n},expression:"qrCodeSelectedSize"}},e._l(e.qrCodeSizeOptions,function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1)],1),e._v(" "),t("el-form-item",{attrs:{label:"缩放"}},[t("el-input-number",{attrs:{min:50,max:150,step:10},model:{value:e.qrCodeScale,callback:function(n){e.qrCodeScale=n},expression:"qrCodeScale"}})],1)],1),e._v(" "),t("div",{staticClass:"print-preview-container"},[t("div",{attrs:{id:"qrCodeSheet"}},e._l(e.qrCodeList,function(e,n){return t("div",{key:n,staticClass:"tips-t"},[t("div",{staticClass:"content-wrapper"},[t("div",{staticClass:"qrcode-container"},[t("div",{attrs:{id:"qrcode-"+n}})])])])}),0)]),e._v(" "),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:e.handleQRCodeCancel}},[e._v("取消")]),e._v(" "),t("el-button",{attrs:{type:"primary"},on:{click:e.handleQRCodePrint}},[e._v("打印")])],1)],1)],1)},[],!1,E,"data-v-085290ed",null);n.default=D.exports},RkXf:function(e,n,t){(e.exports=t("FZ+f")(!1)).push([e.i,'\n@charset "UTF-8";\n.nc-container[data-v-085290ed] {\n height: 32px !important;\n overflow: hidden;\n}\n.drag-handle[data-v-085290ed] {\n cursor: move;\n /* 设置鼠标为拖拽样式 */\n}\n.face-image[data-v-085290ed] {\n display: block;\n width: 50px;\n height: 50px;\n margin: 0 auto;\n}\n[data-v-085290ed] .el-dialog__body {\n padding: 10px 20px;\n}\n[data-v-085290ed] .img-code {\n width: 80%;\n}\n[data-v-085290ed] .img-code .el-input-group__append {\n padding: 0;\n margin: 0;\n}\n[data-v-085290ed] .img-code .el-input-group__append img {\n display: block;\n height: 30px;\n cursor: pointer;\n}\n.logInfo[data-v-085290ed] {\n margin-bottom: 20px;\n}\n.print-preview-container[data-v-085290ed] {\n overflow: auto;\n width: 100%;\n height: 400px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: flex-start;\n}\n#deliverySheet[data-v-085290ed] {\n -webkit-transform-origin: top left;\n transform-origin: top left;\n padding: 10mm;\n}\n.tips-t[data-v-085290ed] {\n margin-bottom: 2mm;\n padding: 2mm;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.tips-t .content-wrapper[data-v-085290ed] {\n width: 100%;\n height: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.tips-t .barcode-container[data-v-085290ed] {\n width: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.tips-t .barcode-container svg[data-v-085290ed] {\n max-width: 100%;\n max-height: 100%;\n}\n.tips-t .numOrder[data-v-085290ed] {\n margin-top: 1mm;\n font-size: v-bind(\'selectedSize === "small" ? "8px" : "12px"\');\n}\n.tips-t[data-size="large"][data-v-085290ed] {\n width: 50mm;\n height: 20mm;\n}\n.tips-t[data-size="medium"][data-v-085290ed] {\n width: 45mm;\n height: 10mm;\n}\n.tips-t[data-size="small"][data-v-085290ed] {\n width: 25mm;\n height: 10mm;\n}\n#deliverySheet[data-v-085290ed] {\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n.tips-t[data-v-085290ed] {\n border: 1px solid #ccc;\n margin-bottom: 2mm;\n padding: 2mm;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.tips-t .content-wrapper[data-v-085290ed] {\n width: 100%;\n height: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.tips-t .numOrder[data-v-085290ed] {\n font-size: 14px;\n margin-top: 1mm;\n}\n.tips-t .barcode-container[data-v-085290ed] {\n width: 100%;\n height: v-bind(\'selectedSize === "small" ? "60%" : "70%"\');\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.tips-t .barcode-container svg[data-v-085290ed] {\n max-width: 100%;\n max-height: 100%;\n}\n.tips-t .numOrder[data-v-085290ed] {\n font-size: v-bind(\'selectedSize === "small" ? "8px" : "14px"\');\n margin-top: 1mm;\n}\n#deliverySheet[data-v-085290ed] {\n -webkit-transform-origin: top left;\n transform-origin: top left;\n padding: 10mm;\n}\n#deliverySheet.portrait .tips-t[data-v-085290ed] {\n width: 95mm;\n height: 35mm;\n}\n#deliverySheet.landscape .tips-t[data-v-085290ed] {\n width: 35mm;\n height: 95mm;\n}\n.dialog-footer[data-v-085290ed] {\n text-align: right;\n margin-top: 20px;\n}\n@media print {\n@page {\n size: auto;\n margin: 0;\n}\nbody[data-v-085290ed] {\n margin: 0;\n}\n.print-options[data-v-085290ed],\n .dialog-footer[data-v-085290ed] {\n display: none;\n}\n#deliverySheet[data-v-085290ed] {\n -webkit-transform: none !important;\n transform: none !important;\n}\n.tips-t[data-v-085290ed] {\n page-break-inside: avoid;\n margin-bottom: 0;\n}\n}\n.qrcode-container[data-v-085290ed] {\n position: relative;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n@media print {\n.qrcode-container[data-v-085290ed] {\n page-break-inside: avoid;\n}\n /* 确保文字层在打印时也能正确显示 */\n.qrcode-container > div[data-v-085290ed] {\n position: relative !important;\n}\n}\n',""])},Zrlr:function(e,n,t){"use strict";n.__esModule=!0,n.default=function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}},g89i:function(e,n,t){var i=t("RkXf");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);t("rjj0")("71fbb1ee",i,!0)},ixWt:function(e,n,t){(e.exports=t("FZ+f")(!1)).push([e.i,"\n.print {\r\n margin-left: 790px;\n}\n.inner-toolbar2 {\r\n -webkit-box-pack: start !important;\r\n -ms-flex-pack: start !important;\r\n justify-content: flex-start !important;\n}\n.inner-toolbar2 .dateSearch {\r\n margin-right: 20px;\n}\n.toolbar-search {\r\n display: -webkit-box;\r\n display: -ms-flexbox;\r\n display: flex;\r\n width: 400px;\n}\n.toolbar-search .el-button {\r\n margin-left: 18px;\n}\r\n",""])},lzRm:function(e,n,t){var i=t("ixWt");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);t("rjj0")("55ed735c",i,!0)},wxAW:function(e,n,t){"use strict";n.__esModule=!0;var i,a=t("C4MV"),r=(i=a)&&i.__esModule?i:{default:i};n.default=function(){function e(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),(0,r.default)(e,i.key,i)}}return function(n,t,i){return t&&e(n.prototype,t),i&&e(n,i),n}}()}});
|