| | |
| | | this.headContent.processesCode === "OP210" || this.headContent.processesCode === "OP220" || |
| | | this.headContent.processesCode === "OP230" |
| | | ){ |
| | | this.headContent.sfcCode = this.materialCode; |
| | | this.queryParams.productNum = this.materialCode; |
| | | let code = this.materialCode.substring(13,27); |
| | | this.headContent.sfcCode = code; |
| | | this.queryParams.productNum = code; |
| | | this.getList(); |
| | | this.cakeLamp.scanFinish = 1 |
| | | this.cakeLamp.startWork = 1 |
| | |
| | | fistSetpNumber(param).then(response => { |
| | | console.log("fistSetpNumber------"+response.msg) |
| | | }); |
| | | this.$message("扫描物料编码"+this.materialCode); |
| | | this.setFocus(); |
| | | this.materialCode=""; |
| | | } |
| | | }else{ |
| | | this.serialPortMethod(this.materialCode); |
| | | this.$message("扫描物料编码"+this.materialCode); |
| | | this.setFocus(); |
| | | this.materialCode=""; |
| | | } |
| | | this.serialPortMethod(this.materialCode); |
| | | this.$message("扫描物料编码"+this.materialCode); |
| | | this.setFocus(); |
| | | this.materialCode=""; |
| | | }, |
| | | // getWorkOrders(){ |
| | | // if(this.headContent.sfcCode === '' || this.headContent.sfcCode === null){ |