From 421145f9db00b79e1c6dedd9e9ec3719b36a407a Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期四, 25 四月 2024 10:23:00 +0800
Subject: [PATCH] 修改k检验标准

---
 src/views/quality/teststandard/index.vue |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/src/views/quality/teststandard/index.vue b/src/views/quality/teststandard/index.vue
index d861caa..7b8f74a 100644
--- a/src/views/quality/teststandard/index.vue
+++ b/src/views/quality/teststandard/index.vue
@@ -160,7 +160,7 @@
                   ></el-input>
                 </template>
               </el-table-column>
-              <el-table-column
+              <!-- <el-table-column
                 label="鍙傛暟椤圭被鍨�"
                 prop="paramType"
                 align="center"
@@ -180,7 +180,7 @@
                     </el-option>
                   </el-select>
                 </template>
-              </el-table-column>
+              </el-table-column> -->
               <el-table-column
                 label="鍙傛暟鏍煎紡"
                 prop="parameterFormat"
@@ -382,7 +382,7 @@
               return this.getInspectionTypeOptionList()
             }
           },
-          {
+          /* {
             minWidth: '120',
             prop: 'operationName',
             label: '宸ュ簭鍚嶇О',
@@ -390,7 +390,7 @@
             isTrue: true,
             isSearch: true,
             searchInfoType: 'text'
-          },
+          }, */
           {
             minWidth: '120',
             prop: 'state',
@@ -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'
@@ -866,6 +867,12 @@
     dataFormTestStandardParam() {
       this.isSubmit = true
       if (this.testStandardParams.length > 0) {
+        this.testStandardParams.map(m=>{
+          if(m.referenceValue != undefined) {
+              m.referenceValue = m.referenceValue.replace(',','锛�').replace('(','锛�').replace(')','锛�')
+            return m
+            }
+        })
         addTestStandardParam(this.testStandardParams)
           .then((response) => {
             this.$message.success('妫�娴嬫爣鍑嗗弬鏁颁繚瀛樻垚鍔�')

--
Gitblit v1.9.3