From d55f094797f9a3552c4d196f69ae188e1222b7a6 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期六, 11 五月 2024 16:29:48 +0800
Subject: [PATCH] 修改

---
 src/views/quality/teststandard/index.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/views/quality/teststandard/index.vue b/src/views/quality/teststandard/index.vue
index 392c8ed..7b8f74a 100644
--- a/src/views/quality/teststandard/index.vue
+++ b/src/views/quality/teststandard/index.vue
@@ -497,10 +497,11 @@
   },
   computed: {
     ...mapGetters(['permissions']),
-    editable: function() {
+    editable : function() {
       if (!this.currentTestStandard) {
         return true
       }
+      console.log('99999999999', this.currentTestStandard)
       if (
         this.currentTestStandard.id &&
         this.currentTestStandard.state === '01draft'
@@ -867,10 +868,10 @@
       this.isSubmit = true
       if (this.testStandardParams.length > 0) {
         this.testStandardParams.map(m=>{
-          if(m.referenceValue !== undefined) {
+          if(m.referenceValue != undefined) {
               m.referenceValue = m.referenceValue.replace(',','锛�').replace('(','锛�').replace(')','锛�')
             return m
-          }
+            }
         })
         addTestStandardParam(this.testStandardParams)
           .then((response) => {

--
Gitblit v1.9.3