| | |
| | | } |
| | | }, |
| | | changeTableInput(form){ |
| | | debugger |
| | | let string='' |
| | | for(let i in this.tableData){ |
| | | if(this.tableData[i].carNumber==form.carNumber){ |
| | |
| | | saveClickOne(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | let form = JSON.parse(JSON.stringify(this.form)); |
| | | let form = JSON.parse(JSON.stringify(this.ruleForm)); |
| | | // params.workshopGroup=Number(params.workshopGroup) |
| | | this.isAddloading = true; |
| | | delete form.circleTwo; |
| | |
| | | ...form, |
| | | }; |
| | | // 编辑 |
| | | if (this.inspectID) { |
| | | params.ID = this.form.ID ? this.form.ID : Number(this.inspectID); |
| | | if (this.productRegisterId) { |
| | | params.id = this.ruleForm.id ? this.ruleForm.id : Number(this.productRegisterId); |
| | | } |
| | | saveYieldRegister(params) |
| | | .then((res) => { |