From fc7c94d3c56433945e19de8719fdd1f7bb6a8fa2 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期四, 26 六月 2025 09:43:31 +0800 Subject: [PATCH] 1.修改组件 --- 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