modified: src/views/quality/teststandard/standard-form.vue
| | |
| | | this.visible = true |
| | | this.$nextTick(() => { |
| | | this.$refs.dataForm.resetFields() |
| | | this.dataForm = { |
| | | id: 0, |
| | | standardName: '', |
| | | standardNo: '', |
| | | remark: '', |
| | | judgeFormula: '', |
| | | inspectionType: null, |
| | | operationId: null, |
| | | operationNo: null, |
| | | operationName: null, |
| | | } |
| | | if (this.dataForm.id) { |
| | | getTestStandard(this.dataForm.id).then((response) => { |
| | | console.log(response.data.data) |
| | | this.dataForm = response.data.data |
| | | // this.$refs.templateJudgmentCondition.setVal( |
| | | // this.dataForm.judgeFormula == null |