From 8b5c8e1639a1faf32d8c450a67667585a8c323d0 Mon Sep 17 00:00:00 2001
From: 王震 <10952869+daywangzhen@user.noreply.gitee.com>
Date: 星期三, 29 十一月 2023 10:45:03 +0800
Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before
---
src/views/quality/teststandard/standard-form.vue | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/src/views/quality/teststandard/standard-form.vue b/src/views/quality/teststandard/standard-form.vue
index f6875e5..3b0cbde 100644
--- a/src/views/quality/teststandard/standard-form.vue
+++ b/src/views/quality/teststandard/standard-form.vue
@@ -155,6 +155,23 @@
ZttMonacoEditor,
operationDialog
},
+ watch:{
+ visible(newVal){
+ if(!newVal){
+ this.dataForm = {
+ id: 0,
+ standardName: '',
+ standardNo: '',
+ remark: '',
+ judgeFormula: '',
+ inspectionType: null,
+ operationId: null,
+ operationNo: null,
+ operationName: null,
+ }
+ }
+ }
+ },
created() {
this.funcs = funcForStandard()
this.constants = constantForStandard()
--
Gitblit v1.9.3