From 13988d4efa6b9f5a7e15e3e18ed8759286118e8f Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期五, 12 四月 2024 13:49:33 +0800
Subject: [PATCH] 修改原材料

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

diff --git a/src/views/quality/teststandard/index.vue b/src/views/quality/teststandard/index.vue
index d861caa..241ac69 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',
@@ -866,6 +866,14 @@
     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
+          } else{
+            this.$message.warning('瑕佹眰鑼冨洿娌℃湁濉啓!')
+          }
+        })
         addTestStandardParam(this.testStandardParams)
           .then((response) => {
             this.$message.success('妫�娴嬫爣鍑嗗弬鏁颁繚瀛樻垚鍔�')

--
Gitblit v1.9.3