| | |
| | | console.log(tab, event); |
| | | }, |
| | | handleEnter() { |
| | | |
| | | //赋值总成码 |
| | | if(this.headContent.sfcCode === ""){ |
| | | if(this.headContent.processesCode === "OP170" || |
| | | this.headContent.processesCode === "OP180" || |
| | | this.headContent.processesCode === "OP190" || |
| | | this.headContent.processesCode === "OP200" || |
| | | this.headContent.processesCode === "OP210" || |
| | | this.headContent.processesCode === "OP220" || |
| | | this.headContent.processesCode === "OP230" |
| | | ){ |
| | | this.headContent.sfcCode = this.materialCode; |
| | | |
| | | this.queryParams.productNum = this.materialCode; |
| | | this.getList() |
| | | this.cakeLamp.scanFinish = 1 |
| | | this.cakeLamp.startWork = 1 |
| | | this.cakeLamp.InPlace = 1 |
| | | |
| | | const param = { |
| | | processesCode: this.headContent.processesCode, |
| | | productCode: this.workpieceInformation.productCode |
| | | } |
| | | fistSetpNumber(param).then(response => { |
| | | console.log("fistSetpNumber------"+response.msg) |
| | | }); |
| | | } |
| | | } |
| | | this.serialPortMethod(this.materialCode); |
| | | this.$message("扫描物料编码"+this.materialCode); |
| | | this.setFocus(); |
| | |
| | | fistSetpNumber(param).then(response => { |
| | | console.log("fistSetpNumber------"+response.msg) |
| | | }); |
| | | self.test1() |
| | | self.test2() |
| | | |
| | | //打印 |
| | | if(self.headContent.processesCode === "OP165"){ |
| | | self.test1() |
| | | self.test2() |
| | | } |
| | | |
| | | }else if (event.data.includes("[")) {//拧紧 |
| | | let formulaChilds = ""; |