From 0ce559e6195a189ccc777b0fa439906bffb12b55 Mon Sep 17 00:00:00 2001
From: zhang_12370 <z2864490065@outlook.com>
Date: 星期三, 25 六月 2025 17:58:31 +0800
Subject: [PATCH] 多页面添加查看功能

---
 src/views/basicInformation/mould/coal.vue |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/views/basicInformation/mould/coal.vue b/src/views/basicInformation/mould/coal.vue
index 36e599e..a8197c2 100644
--- a/src/views/basicInformation/mould/coal.vue
+++ b/src/views/basicInformation/mould/coal.vue
@@ -18,6 +18,7 @@
           <el-input
               v-model="formData.coal"
               placeholder="璇疯緭鍏ョ叅绉嶅悕绉�"
+              :disabled="isViewMode"
           />
         </el-form-item>
         <el-form-item label="缁存姢浜哄鍚�" prop="maintainerId">
@@ -73,6 +74,7 @@
     default: ''
   },
 })
+const isViewMode = computed(() => props.addOrEdit.includes("viewRow"));
 const copyForm = defineModel("copyForm", {
   required: true,
   type: Object,

--
Gitblit v1.9.3