From 51284e1f9a4b13fbdaf7a403a801dc8ddad9ca2d Mon Sep 17 00:00:00 2001
From: 张诺 <zhang_12370@163.com>
Date: 星期四, 29 一月 2026 17:06:03 +0800
Subject: [PATCH] 调整质量管理模块页面 表单功能完善

---
 src/views/collaborativeApproval/approvalProcess/index.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/views/collaborativeApproval/approvalProcess/index.vue b/src/views/collaborativeApproval/approvalProcess/index.vue
index 00e59c9..65941e1 100644
--- a/src/views/collaborativeApproval/approvalProcess/index.vue
+++ b/src/views/collaborativeApproval/approvalProcess/index.vue
@@ -38,14 +38,14 @@
         <el-button
           type="primary"
           @click="openForm('add')"
-          v-if="currentApproveType !== 6 && currentApproveType !== 7"
+          v-if="currentApproveType !== 5 && currentApproveType !== 6 && currentApproveType !== 7"
         >鏂板</el-button>
         <el-button @click="handleOut">瀵煎嚭</el-button>
         <el-button
           type="danger"
           plain
           @click="handleDelete"
-          v-if="currentApproveType !== 7"
+          v-if="currentApproveType !== 5 && currentApproveType !== 6 && currentApproveType !== 7"
         >鍒犻櫎</el-button>
       </div>
     </div>
@@ -113,6 +113,7 @@
   const isLeaveType = currentApproveType.value === 2; // 璇峰亣绠$悊
   const isReimburseType = currentApproveType.value === 4; // 鎶ラ攢绠$悊
   const isQuotationType = currentApproveType.value === 6; // 鎶ヤ环瀹℃壒
+  const isPurchaseType = currentApproveType.value === 5; // 閲囪喘瀹℃壒
   
   // 鍩虹鍒楅厤缃�
   const baseColumns = [
@@ -159,7 +160,7 @@
       width: 220
     },
     {
-      label: isQuotationType ? "鎶ヤ环鍗曞彿" : "瀹℃壒浜嬬敱",
+      label: isQuotationType ? "鎶ヤ环鍗曞彿" : isPurchaseType ? "閲囪喘鍚堝悓鍙�" : "瀹℃壒浜嬬敱",
       prop: "approveReason",
       width: 200
     },
@@ -215,6 +216,7 @@
           openForm("edit", row);
         },
         disabled: (row) =>
+          currentApproveType.value === 5 ||
           currentApproveType.value === 6 ||
           currentApproveType.value === 7 ||
           row.approveStatus == 2 ||

--
Gitblit v1.9.3