| | |
| | | <script> |
| | | import {getIpv4, listStationConf} from "@/api/main/sc/stationConf"; |
| | | import { |
| | | fistSetpNumber, |
| | | noPageListFormulaChild, |
| | | workpieceRelease, |
| | | yzUpdateResults, |
| | |
| | | }, |
| | | /** 查询工单列表 */ |
| | | async getList() { |
| | | const param = { |
| | | processesCode: this.headContent.processesCode, |
| | | } |
| | | fistSetpNumber(param).then(response => {}); |
| | | this.getListFormulaChild() |
| | | this.addOverStationCollection() |
| | | }, |
| | |
| | | locationCode: self.headContent.processesCode, |
| | | productBarcode: self.headContent.sfcCode, |
| | | } |
| | | if(formulaChilds.paramCode === null||formulaChilds.paramCode ===''){ |
| | | self.$message('未找到参数码,请检查参数码是否正确'); |
| | | return; |
| | | } |
| | | 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() |
| | | |
| | | } |
| | | }; |
| | | }, |