From 40f03a3b789b681947fa5160fa15d74d362a79a6 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 09 三月 2026 09:57:01 +0800
Subject: [PATCH] 进销存升级 1.添加社会保险设置页面,开发与联调 2.丰富新增入职所填字段字段并于用户管理关联 3.修改人员薪资页面样式和逻辑

---
 src/components/Dialog/FormDialog.vue |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/src/components/Dialog/FormDialog.vue b/src/components/Dialog/FormDialog.vue
index 5e21b1d..1425b6d 100644
--- a/src/components/Dialog/FormDialog.vue
+++ b/src/components/Dialog/FormDialog.vue
@@ -8,7 +8,13 @@
     <slot></slot>
     <template #footer>
       <div class="dialog-footer">
-        <el-button type="primary" @click="handleConfirm">纭</el-button>
+        <el-button
+          v-if="showConfirm"
+          type="primary"
+          @click="handleConfirm"
+        >
+          纭
+        </el-button>
         <el-button @click="handleCancel">鍙栨秷</el-button>
       </div>
     </template>
@@ -44,6 +50,9 @@
   set: (val) => emit('update:modelValue', val)
 })
 
+// 璇︽儏妯″紡涓嶅睍绀衡�滅‘璁も�濇寜閽紝鍏跺畠绫诲瀷姝e父鏄剧ず
+const showConfirm = computed(() => props.operationType !== 'detail')
+
 const computedTitle = computed(() => {
   if (typeof props.title === 'function') {
     return props.title(props.operationType)

--
Gitblit v1.9.3