Your Name
2022-11-30 f0cd5a4fe3b366fa753b8da5e387673c30c4d0f7
1
(this.webpackJsonp=this.webpackJsonp||[]).push([["chunk-0604"],{"+LSh":function(t,e,n){var r,a,o;a=[t,e,n("atZB")],void 0===(o="function"==typeof(r=function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){return t&&t.__esModule?t:{default:t}}(n);function a(t,e){var n=new r.default(t,e).encode(),a=new Blob(["\ufeff"+n],{type:"text/plain;charset=utf-8"});return window.URL.createObjectURL(a)}e.default={genUrl:a,downloadCsv:function(t,e,n){var r=a(t,e),o=document.createElement("a");o.href=r,o.download=n,o.click(),window.URL.revokeObjectURL(r)}},t.exports=e.default})?r.apply(e,a):r)||(t.exports=o)},E250:function(t,e,n){"use strict";var r=n("KY4s");n.n(r).a},KY4s:function(t,e,n){},Na1v:function(t,e,n){"use strict";n.d(e,"c",function(){return o}),n.d(e,"e",function(){return i}),n.d(e,"h",function(){return c}),n.d(e,"y",function(){return u}),n.d(e,"j",function(){return d}),n.d(e,"x",function(){return s}),n.d(e,"f",function(){return l}),n.d(e,"t",function(){return p}),n.d(e,"k",function(){return h}),n.d(e,"d",function(){return f}),n.d(e,"q",function(){return m}),n.d(e,"l",function(){return g}),n.d(e,"g",function(){return b}),n.d(e,"a",function(){return v}),n.d(e,"o",function(){return O}),n.d(e,"i",function(){return y}),n.d(e,"r",function(){return j}),n.d(e,"n",function(){return w}),n.d(e,"w",function(){return C}),n.d(e,"u",function(){return _}),n.d(e,"v",function(){return x}),n.d(e,"s",function(){return z}),n.d(e,"p",function(){return A}),n.d(e,"m",function(){return E}),n.d(e,"b",function(){return T}),n.d(e,"z",function(){return D});var r=n("X4fA"),a=n("t3Un");function o(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/contract/getApply",method:"get",params:t||{}})}function i(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/contract/getConfirm",method:"get",params:t||{}})}function c(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/contract/addApply",method:"post",data:t})}function u(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/contract/putApply",method:"post",data:t})}function d(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/contract/delApply",method:"post",data:t})}function s(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/contract/submitApply",method:"post",data:t})}function l(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/contract/confirmProduct",method:"post",data:t})}function p(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/contract/rejectProduct",method:"post",data:t})}function h(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/contract/exportRFID",method:"post",data:t})}function f(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/contract/batchBarCode",method:"post",data:t})}function m(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/contract/printBarCode",method:"post",data:t})}function g(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/contract/replenishBox?code="+t,method:"get"})}function b(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/contract/contractUnitList",method:"post",data:t})}function v(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/contract/addContractUnit",method:"post",data:t})}function O(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/contract/contractUnit",method:"post",data:t})}function y(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/contract/delContractUnit",method:"post",params:t})}function j(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/contract/zplPrint",method:"post",data:t})}function w(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/contract/replenishBoxPrint",method:"post",data:t})}function C(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/contract/replenishInnerPrint",method:"post",data:t})}function _(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/contract/replenishBoxBatch",method:"post",data:t})}function x(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/contract/replenishBoxBatchPrint",method:"post",data:t})}function z(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/contract/produce",method:"post",data:t})}function A(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/contract/getControlParams",method:"get",params:t||{}})}function E(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/contract/getOwnSelectType?type="+t,method:"get"})}function T(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/contract/addControlParams",method:"post",data:t})}function D(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/contract/updateControlParams",method:"post",data:t})}},atZB:function(t,e,n){var r,a,o;a=[],void 0===(o="function"==typeof(r=function(){"use strict";var t=["|","^"],e=[",",";","\t","|","^"],n=["\r\n","\r","\n"],r=Array.isArray||function(t){return"[object Array]"===toString.call(t)};function a(t){return"string"==typeof t}function o(t,e){return function(t){return null!=t}(t)?t:e}function i(t,e){for(var n=0,r=t.length;n<r&&!1!==e(t[n],n);n+=1);}function c(t){return t.replace(/"/g,'\\"')}function u(t){return"attrs["+t+"]"}function d(t,e){return function(t){return!isNaN(Number(t))}(t)?"Number("+u(e)+")":function(t){return 0==t||1==t}(t)?"Boolean("+u(e)+" == true)":"String("+u(e)+")"}function s(t,e,n,o){var s=[];return 3==arguments.length?(e?r(e)?i(n,function(n,r){a(e[r])?e[r]=e[r].toLowerCase():t[e[r]]=e[r],s.push("deserialize[cast["+r+"]]("+u(r)+")")}):i(n,function(t,e){s.push(d(t,e))}):i(n,function(t,e){s.push(u(e))}),s="return ["+s.join(",")+"]"):(e?r(e)?i(n,function(n,r){a(e[r])?e[r]=e[r].toLowerCase():t[e[r]]=e[r],s.push('"'+c(o[r])+'": deserialize[cast['+r+"]]("+u(r)+")")}):i(n,function(t,e){s.push('"'+c(o[e])+'": '+d(t,e))}):i(n,function(t,e){s.push('"'+c(o[e])+'": '+u(e))}),s="return {"+s.join(",")+"}"),new Function("attrs","deserialize","cast",s)}function l(e,n){var r,a=0;return i(n,function(n){var o,i=n;-1!=t.indexOf(n)&&(i="\\"+i),(o=e.match(new RegExp(i,"g")))&&o.length>a&&(a=o.length,r=n)}),r||n[0]}var p=function(){function t(t,i){if(i||(i={}),r(t))this.mode="encode";else{if(!a(t))throw new Error("Incompatible format!");this.mode="parse"}this.data=t,this.options={header:o(i.header,!1),cast:o(i.cast,!0)};var c=i.lineDelimiter||i.line,u=i.cellDelimiter||i.delimiter;this.isParser()?(this.options.lineDelimiter=c||l(this.data,n),this.options.cellDelimiter=u||l(this.data,e),this.data=function(t,e){return t.slice(-e.length)!=e&&(t+=e),t}(this.data,this.options.lineDelimiter)):this.isEncoder()&&(this.options.lineDelimiter=c||"\r\n",this.options.cellDelimiter=u||",")}function c(t,e,n,r,a){t(new e(n,r,a))}function u(t){return r(t)?"array":function(t){var e=typeof t;return"function"===e||"object"===e&&!!t}(t)?"object":a(t)?"string":function(t){return null==t}(t)?"null":"primitive"}return t.prototype.set=function(t,e){return this.options[t]=e},t.prototype.isParser=function(){return"parse"==this.mode},t.prototype.isEncoder=function(){return"encode"==this.mode},t.prototype.parse=function(t){if("parse"==this.mode){if(0===this.data.trim().length)return[];var e,n,a,o=this.data,i=this.options,u=i.header,d={cell:"",line:[]},l=this.deserialize;t||(a=[],t=function(t){a.push(t)}),1==i.lineDelimiter.length&&(y=O);var p,h,f,m=o.length,g=i.cellDelimiter.charCodeAt(0),b=i.lineDelimiter.charCodeAt(i.lineDelimiter.length-1);for(v(),p=0,h=0;p<m;p++)f=o.charCodeAt(p),e.cell&&(e.cell=!1,34==f)?e.escaped=!0:e.escaped&&34==f?e.quote=!e.quote:(e.escaped&&e.quote||!e.escaped)&&(f==g?(O(d.cell+o.slice(h,p)),h=p+1):f==b&&(y(d.cell+o.slice(h,p)),h=p+1,(d.line.length>1||""!==d.line[0])&&j(),d.line=[]));return a||this}function v(){e={escaped:!1,quote:!1,cell:!0}}function O(t){d.line.push(e.escaped?t.slice(1,-1).replace(/""/g,'"'):t),d.cell="",v()}function y(t){O(t.slice(0,1-i.lineDelimiter.length))}function j(){u?r(u)?(n=s(l,i.cast,d.line,u),(j=function(){c(t,n,d.line,l,i.cast)})()):u=d.line:(n||(n=s(l,i.cast,d.line)),(j=function(){c(t,n,d.line,l,i.cast)})())}},t.prototype.deserialize={string:function(t){return String(t)},number:function(t){return Number(t)},boolean:function(t){return Boolean(t)}},t.prototype.serialize={object:function(t){var e=this,n=Object.keys(t),r=Array(n.length);return i(n,function(n,a){r[a]=e[u(t[n])](t[n])}),r},array:function(t){var e=this,n=Array(t.length);return i(t,function(t,r){n[r]=e[u(t)](t)}),n},string:function(t){return'"'+String(t).replace(/"/g,'""')+'"'},null:function(t){return""},primitive:function(t){return t}},t.prototype.encode=function(t){if("encode"==this.mode){if(0==this.data.length)return"";var e,n,o=this.data,c=this.options,d=c.header,s=o[0],l=this.serialize,p=0;t||(n=Array(o.length),t=function(t,e){n[e+p]=t}),d&&(r(d)||(e=Object.keys(s),d=e),t(m(l.array(d)),0),p=1);var h,f=u(s);return"array"==f?(r(c.cast)?(h=Array(c.cast.length),i(c.cast,function(t,e){a(t)?h[e]=t.toLowerCase():(h[e]=t,l[t]=t)})):(h=Array(s.length),i(s,function(t,e){h[e]=u(t)})),i(o,function(e,n){var r=Array(h.length);i(e,function(t,e){r[e]=l[h[e]](t)}),t(m(r),n)})):"object"==f&&(e=Object.keys(s),r(c.cast)?(h=Array(c.cast.length),i(c.cast,function(t,e){a(t)?h[e]=t.toLowerCase():(h[e]=t,l[t]=t)})):(h=Array(e.length),i(e,function(t,e){h[e]=u(s[t])})),i(o,function(n,r){var a=Array(e.length);i(e,function(t,e){a[e]=l[h[e]](n[t])}),t(m(a),r)})),n?n.join(c.lineDelimiter):this}function m(t){return t.join(c.cellDelimiter)}},t.prototype.forEach=function(t){return this[this.mode](t)},t}();return p.parse=function(t,e){return new p(t,e).parse()},p.encode=function(t,e){return new p(t,e).encode()},p.forEach=function(t,e,n){return 2==arguments.length&&(n=e),new p(t,e).forEach(n)},p})?r.apply(e,a):r)||(t.exports=o)},xMja:function(t,e,n){"use strict";n.d(e,"n",function(){return o}),n.d(e,"c",function(){return i}),n.d(e,"b",function(){return c}),n.d(e,"q",function(){return u}),n.d(e,"d",function(){return d}),n.d(e,"g",function(){return s}),n.d(e,"p",function(){return l}),n.d(e,"k",function(){return p}),n.d(e,"j",function(){return h}),n.d(e,"a",function(){return f}),n.d(e,"r",function(){return m}),n.d(e,"e",function(){return g}),n.d(e,"f",function(){return b}),n.d(e,"m",function(){return v}),n.d(e,"h",function(){return O}),n.d(e,"o",function(){return y}),n.d(e,"i",function(){return j}),n.d(e,"l",function(){return w});var r=n("X4fA"),a=n("t3Un");function o(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/product/info",method:"get",params:t||{}})}function i(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/product/add",method:"post",data:t})}function c(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/product/addNew",method:"post",data:t})}function u(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/product/update",method:"post",data:t})}function d(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/product/delete",method:"post",data:t})}function s(){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/enterprise/manufacturerTree",method:"get"})}function l(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/product/setThreshold",method:"post",data:t})}function p(){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/product/getThreshold",method:"get"})}function h(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/product/categorise?name="+t,method:"get"})}function f(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/product/addCategory",method:"post",data:t})}function m(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/product/editCategory",method:"post",data:t})}function g(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/product/delCategory",method:"post",data:t})}function b(){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/product/majorTree",method:"get"})}function v(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/product/secondaryTree?major="+t,method:"get"})}function O(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/product/permitLevelTree?secondary="+t,method:"get"})}function y(t,e,n,o){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/product/info?name="+e+"&code="+n+"&type="+o,method:"get",params:t||{}})}function j(t){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/product/get?directionCode="+t,method:"get"})}function w(t,e){return Object(a.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/product/gets?directionCode="+t+"&endCode="+e,method:"get"})}},zqH7:function(t,e,n){"use strict";n.r(e);var r=n("14Xm"),a=n.n(r),o=n("D3Ub"),i=n.n(o),c=n("8fCU"),u=n("+LSh"),d=n.n(u),s=n("7Qib"),l=n("xMja"),p=n("YsXA"),h=n.n(p),f=n("0ERz"),m=n.n(f),g=n("Na1v"),b={directives:{focus:{inserted:function(t){t.children[0].focus()},update:function(t){t.children[0].focus()},bind:function(t){t.children[0].focus()}}},name:"replenishInner",data:function(){return{pageSize:10,recordTotal:0,currentPage:1,pageTotal:0,listLoading:!1,product:[],inputCode:"",inputCodeEnd:"",isContinuous:!1,isFocus:!1,printData:[],itemcode:"",createddate:"",itemname:"",type:"",manufacturer:"",itemcodeOne:"",itemcodeTwo:"",createddateOne:"",createddateTwo:"",itemnameOne:"",itemnameTwo:"",typeOne:"",typeTwo:"",manufacturerOne:"",manufacturerTwo:"",selected_device:"",devices:[]}},created:function(){},mounted:function(){var t=this,e=void 0,n=[];BrowserPrint.getDefaultDevice("printer",function(t){e=t,n.push(t),document.createElement("option").text=t.name,BrowserPrint.getLocalDevices(function(t){for(var r=0;r<t.length;r++){var a=t[r];if(!e||a.uid!=e.uid){n.push(a);var o=document.createElement("option");o.text=a.name,o.value=a.uid}}},function(){alert("Error getting local devices")},"printer")},function(t){alert(t)}),setTimeout(function(){t.selected_device=e,console.log(t.selected_device)},1e3)},methods:{handleSearch:function(){null!=this.inputCode&&""!==this.inputCode&&19===this.inputCode.length?this.isContinuous?this.getProducts():this.getProductInfo():this.$message.error("流向码不符合规则")},getProductInfo:function(){var t=this;Object(l.i)(this.inputCode).then(function(e){var n=e.data,r=t.product,a=!1;"200"===n.code?(r.forEach(function(t,e){n.result.forEach(function(e){t.directionCode===e.directionCode&&(a=!0)})}),a||n.result.forEach(function(t){r.push(t)})):t.$message.error(n.message)})},getProducts:function(){var t=this;Object(l.l)(this.inputCode,this.inputCodeEnd).then(function(e){var n=e.data;"200"===n.code?t.product=n.result:t.$message.error(n.message)})},handleSizeChange:function(t){this.pageSize=t,this.currentPage=1,this.handleSearch()},handleCurrentChange:function(t){this.currentPage=t,this.handleSearch()},printByControl:function(){var t=this;return i()(a.a.mark(function e(){var n,r,o,i;return a.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==t.printData.length){e.next=4;break}t.$message({type:"warning",message:"请选择要补打的箱码"}),e.next=11;break;case 4:for(n="",r=t.selected_device,o=0;o<t.printData.length;o++)n=0===o?t.printData[o].directionCode:n+","+t.printData[o].directionCode;return e.next=9,Object(g.w)({codes:n});case 9:"200"===(i=e.sent).data.code&&t.selected_device.send(i.data.result,function(t){r.read(function(t){console.log(t)},function(t){console.error(t)})},function(t){alert("Error: "+t)});case 11:case"end":return e.stop()}},e,t)}))()},printInner:function(){for(var t=this,e=this.printData.length/2,n=0;n<e;n++){n===e-.5&&this.printData.length%2==1?(document.getElementById("itemcodeOne").innerHTML=this.printData[2*n].directionCode,document.getElementById("createddateOne").innerHTML=this.printData[2*n].productDate,document.getElementById("itemnameOne").innerHTML=this.printData[2*n].name,document.getElementById("typeOne").innerHTML=this.printData[2*n].type,document.getElementById("manufacturerOne").innerHTML=this.printData[2*n].manufacturer,h()("#barcode1",this.printData[2*n].directionCode,{format:"CODE128",lineColor:"#000",background:"#EBEEF5",width:8,height:300,displayValue:!1})):(document.getElementById("itemcodeOne").innerHTML=this.printData[2*n].directionCode,document.getElementById("itemcodeTwo").innerHTML=this.printData[2*n+1].directionCode,document.getElementById("createddateOne").innerHTML=Object(s.c)(new Date),document.getElementById("createddateTwo").innerHTML=Object(s.c)(new Date),document.getElementById("itemnameOne").innerHTML=this.printData[2*n].name,document.getElementById("itemnameTwo").innerHTML=this.printData[2*n+1].name,document.getElementById("typeOne").innerHTML=this.printData[2*n].type,document.getElementById("typeTwo").innerHTML=this.printData[2*n+1].type,document.getElementById("manufacturerOne").innerHTML=this.printData[2*n].manufacturer,document.getElementById("manufacturerTwo").innerHTML=this.printData[2*n+1].manufacturer,h()("#barcode1",this.printData[2*n].directionCode,{format:"CODE128",lineColor:"#000",background:"#EBEEF5",width:8,height:300,displayValue:!1}),h()("#barcode2",this.printData[2*n+1].directionCode,{format:"CODE128",lineColor:"#000",background:"#EBEEF5",width:8,height:300,displayValue:!1}));var r=window.document.body.innerHTML,a=document.getElementById("printMe").innerHTML;if(window.document.body.innerHTML=a,document.getElementById("qrcode1").innerHTML="",n===e-.5&&this.printData.length%2==1)new m.a("qrcode1",{width:300,height:300,text:this.printData[2*n].directionCode,render:"canvas",background:"#f0f"});else{new m.a("qrcode1",{width:300,height:300,text:this.printData[2*n].directionCode,render:"canvas",background:"#f0f"});document.getElementById("qrcode2").innerHTML="";new m.a("qrcode2",{width:300,height:300,text:this.printData[2*n+1].directionCode,render:"canvas",background:"#f0f"})}window.print(),window.document.body.innerHTML=r}window.document.body.innerHTML=a,window.location.reload(),this.setTimeout(function(){t.printVisible=!0})},handleSelectionChange:function(t){this.printData=t},exportCSV:function(){var t=this.product;if(null!=t&&0!==t.length){var e=this.formatJson(["ordercode","originalcode","itemname","manufacturer","explosivecontent","boxnumber","type","level","createddate","boxrange"],t);this.downCsv(e,["合同单号","电子标签号","产品名称","生产厂家","总装药量","箱含量","产品类型","产品级别","创建时间","包装标识码"])}else Object(c.a)({error:"表格数据为空",vm:this})},formatJson:function(t,e){return e.map(function(e){return t.map(function(t){return"createddate"===t?Object(s.f)(e[t],"{y}-{m}-{d}"):e[t]})})},downCsv:function(t,e){this.data;d.a.downloadCsv(t,{header:e},"电子标签号.csv")},clearAll:function(){this.product=[],this.inputCode="",this.inputCodeEnd=""}},computed:{inputCodeSlice:function(){if(this.inputCode.length>5){var t=this.inputCode.length;return this.inputCodeEnd=this.inputCode.slice(t-5,t),this.inputCode.slice(0,t-5)}}}},v=(n("E250"),n("KHd+")),O=Object(v.a)(b,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[n("div",{staticClass:"entry-container"},[n("span",[t._v("内包装码:")]),t._v(" "),n("el-input",{staticStyle:{width:"15%","padding-bottom":"20px"},attrs:{placeholder:"连续查询,输入首位按回车键"},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.handleSearch(e):null}},model:{value:t.inputCode,callback:function(e){t.inputCode=e},expression:"inputCode"}}),t._v(" "),t.isContinuous?n("span",[t._v("\n                    内包装尾码:\n                "),n("span",[t._v(t._s(t.inputCodeSlice))]),t._v(" "),n("el-input",{staticStyle:{width:"5%","padding-bottom":"20px"},attrs:{placeholder:"请输入流向码",maxlength:"5"},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.handleSearch(e):null}},model:{value:t.inputCodeEnd,callback:function(e){t.inputCodeEnd=e},expression:"inputCodeEnd"}})],1):t._e(),t._v(" "),n("el-row",{staticStyle:{"padding-bottom":"10px"}},[n("el-button",{on:{click:t.handleSearch}},[t._v("查询")]),t._v(" "),n("el-button",{on:{click:t.printInner}},[t._v("网页补打标签")]),t._v(" "),n("el-button",{on:{click:t.printByControl}},[t._v("控件补打标签")]),t._v(" "),n("el-button",{on:{click:t.clearAll}},[t._v("清空")]),t._v(" "),n("el-switch",{attrs:{"active-color":"#13ce66","inactive-color":"#ff4949","active-text":"连续打印","inactive-text":"单个打印"},model:{value:t.isContinuous,callback:function(e){t.isContinuous=e},expression:"isContinuous"}})],1),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.product},on:{"selection-change":t.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",width:"55"}}),t._v(" "),n("el-table-column",{attrs:{label:"流向码",prop:"directionCode"}}),t._v(" "),n("el-table-column",{attrs:{label:"产品名称",prop:"name"}}),t._v(" "),n("el-table-column",{attrs:{label:"生产厂家",prop:"manufacturer"}}),t._v(" "),n("el-table-column",{attrs:{label:"箱含量",prop:"boxNumber"}}),t._v(" "),n("el-table-column",{attrs:{label:"产品类型",prop:"type"}}),t._v(" "),n("el-table-column",{attrs:{label:"产品级别",prop:"level"}})],1),t._v(" "),n("br"),t._v(" "),n("el-pagination",{directives:[{name:"show",rawName:"v-show",value:t.recordTotal>0,expression:"recordTotal>0"}],staticStyle:{float:"right"},attrs:{"current-page":t.currentPage,"page-sizes":[10,20,30,50],"page-size":t.pageSize,total:t.recordTotal,layout:"total, sizes, prev, pager, next, jumper",background:""},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}]},[n("div",{attrs:{id:"printMe"}},[n("el-row",{staticStyle:{position:"absolute","z-index":"-1"}},[n("el-col",{staticStyle:{padding:"3px 3px 3px 3px"},attrs:{span:12}},[n("div",{staticStyle:{height:"125px",width:"180px",border:"2px solid","border-radius":"10px"}})]),t._v(" "),n("el-col",{staticStyle:{padding:"3px 3px 3px 7px"},attrs:{span:12}},[n("div",{staticStyle:{height:"125px",width:"180px",border:"2px solid","border-radius":"10px"}})])],1),t._v(" "),n("el-row",{staticStyle:{"padding-top":"6px"}},[n("el-col",{attrs:{span:12,align:"center"}},[n("span",{staticStyle:{"font-size":"13px"}},[t._v(t._s("新疆流向专用"))])]),t._v(" "),n("el-col",{attrs:{span:12,align:"center"}},[n("span",{staticStyle:{"font-size":"13px","margin-top":"3px"}},[t._v(t._s("新疆流向专用"))])])],1),t._v(" "),n("el-row",[n("el-col",{attrs:{span:12,align:"left"}},[n("el-row",[n("el-col",{staticStyle:{"padding-left":"15px"},attrs:{span:14}},[n("el-row",[n("el-col",{attrs:{span:24,align:"left"}},[n("span",{staticStyle:{"font-size":"10px"},attrs:{id:"itemnameOne"}},[t._v(t._s(t.itemnameOne))])])],1),t._v(" "),n("el-row",[n("el-col",{attrs:{span:24,align:"left"}},[n("span",{staticStyle:{"font-size":"10px"},attrs:{id:"typeOne"}},[t._v(t._s(t.typeOne))])])],1),t._v(" "),n("el-row",[n("el-col",{attrs:{span:24,align:"left"}},[n("span",{staticStyle:{"font-size":"10px"},attrs:{id:"createddateOne"}},[t._v(t._s(t.createddateOne))])])],1)],1),t._v(" "),n("el-col",{attrs:{span:10}},[n("el-col",{staticStyle:{"margin-top":"10px"},attrs:{span:24,align:"center"}},[n("div",{ref:"qrcode",staticClass:"qrcode",attrs:{id:"qrcode1"}})])],1)],1)],1),t._v(" "),n("el-col",{attrs:{span:12,align:"left"}},[n("el-row",[n("el-col",{staticStyle:{"padding-left":"15px"},attrs:{span:14}},[n("el-row",[n("el-col",{attrs:{span:24,align:"left"}},[n("span",{staticStyle:{"font-size":"10px"},attrs:{id:"itemnameTwo"}},[t._v(t._s(t.itemnameTwo))])])],1),t._v(" "),n("el-row",[n("el-col",{attrs:{span:24,align:"left"}},[n("span",{staticStyle:{"font-size":"10px"},attrs:{id:"typeTwo"}},[t._v(t._s(t.typeTwo))])])],1),t._v(" "),n("el-row",[n("el-col",{attrs:{span:24,align:"left"}},[n("span",{staticStyle:{"font-size":"10px"},attrs:{id:"createddateTwo"}},[t._v(t._s(t.createddateTwo))])])],1)],1),t._v(" "),n("el-col",{attrs:{span:10}},[n("el-col",{staticStyle:{"margin-top":"10px"},attrs:{span:24,align:"center"}},[n("div",{ref:"qrcode",staticClass:"qrcode",attrs:{id:"qrcode2"}})])],1)],1)],1)],1),t._v(" "),n("el-row",{staticStyle:{height:"38px"}},[n("el-col",{staticClass:"barcode",attrs:{span:12,align:"left"}},[n("svg",{attrs:{id:"barcode1"}})]),t._v(" "),n("el-col",{staticClass:"barcode",attrs:{span:12,align:"left"}},[n("svg",{attrs:{id:"barcode2"}})])],1),t._v(" "),n("el-row",[n("el-col",{attrs:{span:12,align:"left"}},[n("el-row",[n("el-col",{staticStyle:{"padding-left":"15px"},attrs:{span:14}},[n("el-row",[n("el-col",{attrs:{span:24,align:"left"}},[n("span",{staticStyle:{"font-size":"10px"},attrs:{id:"itemcodeOne"}},[t._v(t._s(t.itemcodeOne))])])],1),t._v(" "),n("el-row",[n("el-col",{attrs:{span:24,align:"left"}},[n("span",{staticStyle:{"font-size":"10px"},attrs:{id:"manufacturerOne"}},[t._v(t._s(t.manufacturerOne))])])],1)],1)],1)],1),t._v(" "),n("el-col",{attrs:{span:12,align:"left"}},[n("el-row",[n("el-col",{staticStyle:{"padding-left":"15px"},attrs:{span:14}},[n("el-row",[n("el-col",{attrs:{span:24,align:"left"}},[n("span",{staticStyle:{"font-size":"10px"},attrs:{id:"itemcodeTwo"}},[t._v(t._s(t.itemcodeTwo))])])],1),t._v(" "),n("el-row",[n("el-col",{attrs:{span:24,align:"left"}},[n("span",{staticStyle:{"font-size":"10px"},attrs:{id:"manufacturerTwo"}},[t._v(t._s(t.manufacturerTwo))])])],1)],1)],1)],1)],1)],1)])])},[],!1,null,"516b56ee",null);O.options.__file="replenishInner.vue";e.default=O.exports}}]);