From c4cfd5c566d137fb60781b8b2e0057d11cf4b051 Mon Sep 17 00:00:00 2001
From: chenrui <1187576398@qq.com>
Date: 星期四, 13 三月 2025 17:33:06 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev

---
 src/views/CNAS/process/ensureResults/qualityControlPlan/components/detailFormDialog.vue |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/views/CNAS/process/ensureResults/qualityControlPlan/components/detailFormDialog.vue b/src/views/CNAS/process/ensureResults/qualityControlPlan/components/detailFormDialog.vue
index fe26f2c..8ce627d 100644
--- a/src/views/CNAS/process/ensureResults/qualityControlPlan/components/detailFormDialog.vue
+++ b/src/views/CNAS/process/ensureResults/qualityControlPlan/components/detailFormDialog.vue
@@ -38,7 +38,7 @@
         </el-col>
         <el-col :span="12">
           <el-form-item label="鐩戠潱鍘熷洜" prop="superviseReason">
-            <el-input v-model="form.superviseReason" clearable size="small"></el-input>
+            <el-input v-model="form.superviseReason" clearable disabled size="small"></el-input>
           </el-form-item>
         </el-col>
         <el-col :span="12">
@@ -94,10 +94,15 @@
   },
   // 鏂规硶闆嗗悎
   methods: {
-    openDia(type, row) {
+    openDia(type, row, causeType) {
       this.formDia = true
       this.operationType = type
       this.getUserList()
+      if (causeType == 1) {
+        this.form.superviseReason = '瀹氭湡鐩戠潱'
+      } else {
+        this.form.superviseReason = '鍔ㄦ�佺洃鐫�'
+      }
       if (type === 'edit') {
         this.searchInfo(row)
       }

--
Gitblit v1.9.3