From 806a920f220210749caaca79d6a1270f66586420 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期三, 22 十一月 2023 12:46:47 +0800
Subject: [PATCH] 	modified:   src/views/quality/teststandard/standard-form.vue

---
 src/views/quality/teststandard/standard-form.vue |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/views/quality/teststandard/standard-form.vue b/src/views/quality/teststandard/standard-form.vue
index f6875e5..6e9dfa2 100644
--- a/src/views/quality/teststandard/standard-form.vue
+++ b/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

--
Gitblit v1.9.3