|  |  | 
 |  |  |         > | 
 |  |  |           <VueQrcode id="qrcode" :value="palletCode" :size="200"></VueQrcode> | 
 |  |  |         </div> | 
 |  |  |       </div> | 
 |  |  |       <div id="palletcode"> | 
 |  |  |         <span | 
 |  |  |           style="display: flex; justify-content: center; align-items: center" | 
 |  |  |           >{{ palletCode }}</span | 
 |  |  | 
 |  |  |     }, | 
 |  |  |     print() { | 
 |  |  |       let printContent = document.getElementById("printContent"); | 
 |  |  |       let palletcode=document.getElementById("palletcode"); | 
 |  |  |       var printWindow = window.open("", ""); | 
 |  |  |       printWindow.document.write(printContent.innerHTML); | 
 |  |  |       printWindow.document.write(palletcode.innerHTML); | 
 |  |  |       printWindow.document.close(); | 
 |  |  |       printWindow.focus(); | 
 |  |  |       printWindow.print(); | 
 |  |  |       printWindow.close(); | 
 |  |  |       this.http | 
 |  |  |             .post("api/palletCodeInfo/PrintStatusUp?printCode="+this.palletCode, null, "æ°æ®å¤çä¸") | 
 |  |  |             .then((x) => { | 
 |  |  |               if (!x.status) return this.$message.error(x.message); | 
 |  |  |               this.$message.success("æä½æå"); | 
 |  |  |               this.$parent.refresh(); | 
 |  |  |               this.showDetialBox = false; | 
 |  |  |             }); | 
 |  |  |     }, | 
 |  |  |   }, | 
 |  |  |  | 
 |  |  |   created() {}, | 
 |  |  | }; | 
 |  |  | </script> |