zouyu
2023-11-22 806a920f220210749caaca79d6a1270f66586420
	modified:   src/views/quality/teststandard/standard-form.vue
已修改1个文件
12 ■■■■■ 文件已修改
src/views/quality/teststandard/standard-form.vue 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/quality/teststandard/standard-form.vue
@@ -194,8 +194,20 @@
      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