| | |
| | | } |
| | | addTighteningParameters(param).then(response => {}); |
| | | yzUpdateTighteningFormula(param).then(response => { |
| | | console.log(response.msg) |
| | | if(response.msg === "1"){ |
| | | console.log(response) |
| | | if(response.msg === "1" || response.msg === "3"){ |
| | | self.getListFormulaChild() |
| | | |
| | | }else { |
| | | const param = { |
| | | workOrderNo: self.workpieceInformation.workOrderNo, |
| | |
| | | self.headContent.sfcCode = ''; |
| | | } |
| | | }); |
| | | // self.getListFormulaChild() |
| | | |
| | | } |
| | | }; |
| | | }, |
| | |
| | | console.log("串口收到数据-------------------"+scanValue) |
| | | |
| | | if(this.headContent.sfcCode !== ''){ |
| | | this.$message('扫描物料编码'+scanValue); |
| | | this.$message('预装工位扫描物料编码'+scanValue); |
| | | console.log(scanValue) |
| | | this.serialPortMethod(scanValue) |
| | | } else { |