| | |
| | | const orderParam = { |
| | | productNum: self.headContent.sfcCode, |
| | | } |
| | | |
| | | if(self.headContent.sfcCode=== ''||self.headContent.sfcCode=== null){ |
| | | self.$message('总成码为空,请检查!') |
| | | return |
| | | } |
| | | |
| | | checkCarCode(orderParam).then(response => { |
| | | console.log(response.data) |
| | | if(response.data === 1){ |
| | |
| | | locationCode: self.headContent.processesCode, |
| | | productBarcode: self.headContent.sfcCode, |
| | | } |
| | | addTighteningParameters(param).then(response => {}); |
| | | updateTighteningFormula(param).then(response => { |
| | | self.getListFormulaChild() |
| | | }).catch(error =>{ |
| | | self.getListFormulaChild() |
| | | }); |
| | | if(formulaChilds.paramCode === null||formulaChilds.paramCode ===''){ |
| | | self.$message('未找到参数码,请检查参数码是否正确'); |
| | | return; |
| | | } |
| | | if(self.headContent.sfcCode!==null||self.headContent.sfcCode!==''){ |
| | | addTighteningParameters(param).then(response => {}); |
| | | updateTighteningFormula(param).then(response => { |
| | | self.getListFormulaChild() |
| | | }).catch(error =>{ |
| | | self.getListFormulaChild() |
| | | }); |
| | | } |
| | | } |
| | | }; |
| | | }, |