From 1193ed5cf72c8d1093d0c061b9eefe61a28b0cb7 Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期一, 12 十月 2026 18:00:54 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/views/CNAS/process/method/standardMethod/index.vue |   20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)

diff --git a/src/views/CNAS/process/method/standardMethod/index.vue b/src/views/CNAS/process/method/standardMethod/index.vue
index 81719d2..ead7cd7 100644
--- a/src/views/CNAS/process/method/standardMethod/index.vue
+++ b/src/views/CNAS/process/method/standardMethod/index.vue
@@ -70,6 +70,12 @@
             <el-option label="鏄�" :value="1"></el-option>
           </el-select>
         </el-form-item>
+        <el-form-item label="鏄惁鏌ユ柊" prop="needSearchNew">
+          <el-select v-model="addForm.needSearchNew" size="small" placeholder="璇烽�夋嫨" style="width: 100%">
+            <el-option label="鍚�" :value="0"></el-option>
+            <el-option label="鏄�" :value="1"></el-option>
+          </el-select>
+        </el-form-item>
         <el-form-item v-if="title === '鏂板'" label="闄勪欢">
           <el-upload ref="addUpload" action="#" :auto-upload="false" multiple :file-list="pendingFiles"
                      :on-change="pendingFileChange" :on-remove="pendingFileRemove" :before-upload="beforeFileUpload"
@@ -175,6 +181,14 @@
             }
           },
         },
+        {
+          label: "鏄惁鏌ユ柊",
+          prop: "needSearchNew",
+          width: "90px",
+          dataType: "tag",
+          formatData: (value) => value == 1 ? "鏄�" : "鍚�",
+          formatType: (value) => value == 1 ? "success" : "info",
+        },
         {label: "鍒涘缓浜�", prop: "createUserName"},
         {label: "鍒涘缓鏃堕棿", prop: "createTime"},
         {label: "鏇存柊浜�", prop: "updateUserName"},
@@ -232,6 +246,9 @@
         isUse: [
           {required: true, message: "璇烽�夋嫨鏄惁鍚敤", trigger: "change"},
         ],
+        needSearchNew: [
+          {required: true, message: "璇烽�夋嫨鏄惁鏌ユ柊", trigger: "change"},
+        ],
       },
     };
   },
@@ -275,7 +292,7 @@
     },
     openAdd() {
       this.title = "鏂板";
-      this.addForm = {industryIds: [], isProduct: 1, isUse: 1};
+      this.addForm = {industryIds: [], isProduct: 1, isUse: 1, needSearchNew: 0};
       this.pendingFiles = [];
       this.addDlog = true;
     },
@@ -284,6 +301,7 @@
       this.addDlog = true;
       this.addForm = this.HaveJson(row)
       this.addForm.industryIds = this.addForm.industryIds || [];
+      if (this.addForm.needSearchNew == null) this.addForm.needSearchNew = 0;
     },
     getQualificationList() {
       this.getDicts("cnas_method_qualification").then((response) => {

--
Gitblit v1.9.3