| | |
| | | <div style="text-align: center;margin-top: 64px"> |
| | | <span style="font-size: 29px;">电驱系统总成</span> |
| | | </div> |
| | | <div style="display: flex;margin-top: 2px;margin-left: 44px;font-size: 15px"> |
| | | <div style="display: flex;margin-top: 2px;margin-left: 39px;font-size: 15px"> |
| | | <div class="div1"> |
| | | <div > |
| | | <span>电机型号:</span><span>TZ180XSDSZX01</span><br> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="div2" style="font-size: 15px;margin-left: 12px"> |
| | | <div class="div2" style="font-size: 15px;margin-left: 4px"> |
| | | <div> |
| | | <span>控制器型号:</span><span>KTZ34X23SZX07</span><br> |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div style="margin-top: 2px;margin-left: 80px"> |
| | | <div style="margin-top: 2px;margin-left: 70px"> |
| | | <span style="font-size: 26px;">湖州智芯动力系统发展有限公司</span> |
| | | </div> |
| | | |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <div style="margin-top: 61px;display: flex;margin-left: 48px"> |
| | | <div style="margin-top: 61px;display: flex;margin-left: 40px"> |
| | | <div style="width: 30%;flex: 1"> |
| | | <VueQr :size='80' :margin='0' :text='this.text'></VueQr> |
| | | </div> |
| | | <div style="width: 70%;flex: 1;margin-top: 18px;margin-right: 23px"> |
| | | <div style="width: 70%;flex: 1;margin-top: 18px;margin-right: 29px"> |
| | | <span style="margin-left: -80px;font-size: 20px;font-family: FangSong;letter-spacing: -0.8px"> |
| | | P9900166410#T{{headContent.sfcCode}} |
| | | </span><br> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <div style="margin-top: 48px;display: flex;margin-left: 48px"> |
| | | <div style="margin-top: 48px;display: flex;margin-left: 40px"> |
| | | <div style="width: 30%;flex: 1"> |
| | | <VueQr :size='80' :margin='0' :text='this.text'></VueQr> |
| | | </div> |
| | | <div style="width: 70%;flex: 1;margin-top: 18px;margin-right: 23px"> |
| | | <div style="width: 70%;flex: 1;margin-top: 18px;margin-right: 29px"> |
| | | <span style="margin-left: -80px;font-size: 20px;font-family: FangSong;letter-spacing: -0.8px"> |
| | | P9900166410#T{{headContent.sfcCode}} |
| | | </span><br> |
| | |
| | | this.ws.onmessage = function (event) { |
| | | if (event.data === "print") { |
| | | document.getElementById('print').click(); |
| | | unfinishedProcess({processesCode: self.headContent.processesCode,recordDataDone: 21}).then(response => {}); |
| | | }else if (event.data === "IN") { |
| | | self.cakeLamp.InPlace = 1; |
| | | } else if (event.data === "OUT") { |
| | |
| | | |
| | | } else if(event.data.includes("productNum")){//产品序列号 |
| | | let productNum = event.data.split(',')[1]; |
| | | self.headContent.sfcCode = productNum; |
| | | if(self.headContent.processesCode === 'OP165'){ |
| | | self.headContent.sfcCode = productNum.substring(13,26) |
| | | }else { |
| | | self.headContent.sfcCode = productNum; |
| | | } |
| | | self.queryParams.productNum = productNum; |
| | | self.getList() |
| | | self.cakeLamp.scanFinish = 1 |
| | |
| | | if(self.headContent.processesCode === "OP165"){ |
| | | // self.test1() |
| | | // self.test2() |
| | | self.text = 'P9900166410#T'+self.headContent.sfcCode+'\n#V993983#SSW002.005#HHW001.001#NMCU#' |
| | | self.text = 'P9900166410#T'+self.headContent.sfcCode+' #V993983#SSW002.005#HHW001.001#NMCU#' |
| | | } |
| | | |
| | | }else if (event.data.includes("[")) {//拧紧 |