From e1570f458b2ab42bb1a212be8de63134a50b2af1 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期四, 30 七月 2026 16:09:03 +0800
Subject: [PATCH] 生产核算增加折算工时,隐藏工资

---
 src/views/officeProcessAutomation/ApproveManage/approve-list/useApproveList.js |   22 ++++++++++++++++------
 1 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/src/views/officeProcessAutomation/ApproveManage/approve-list/useApproveList.js b/src/views/officeProcessAutomation/ApproveManage/approve-list/useApproveList.js
index 9442a5a..2666741 100644
--- a/src/views/officeProcessAutomation/ApproveManage/approve-list/useApproveList.js
+++ b/src/views/officeProcessAutomation/ApproveManage/approve-list/useApproveList.js
@@ -192,11 +192,11 @@
           disabled: (row) => row.approvalStatus !== "pending" || !row.isApprove,
           clickFun: (row) => openApprove(row),
         },
-        {
-          name: "鍒犻櫎",
-          type: "danger",
-          clickFun: (row) => removeInstance(row),
-        },
+        // {
+        //   name: "鍒犻櫎",
+        //   type: "danger",
+        //   clickFun: (row) => removeInstance(row),
+        // },
       ],
     },
   ]);
@@ -323,6 +323,11 @@
         detailData.value = res?.data || res || {};
       }
     }
+
+    // 鎶ュ伐瀹℃壒锛氱洿鎺ュ睍绀哄鎵瑰~鎶ュ唴瀹�
+    else if (row.businessType === 19) {
+      detailData.value = {};
+    }
     
     // 鍏朵粬瀹℃壒绫诲瀷
     else {
@@ -367,6 +372,11 @@
         const res = await getDeliveryDetailByShippingNo({ shippingNo });
         detailData.value = res?.data || res || {};
       }
+    }
+
+    // 鎶ュ伐瀹℃壒锛氱洿鎺ュ睍绀哄鎵瑰~鎶ュ唴瀹�
+    else if (row.businessType === 19) {
+      detailData.value = {};
     }
 
     // 鍏朵粬瀹℃壒绫诲瀷
@@ -699,4 +709,4 @@
     openApprove,
     fetchApprovalList,
   };
-}
\ No newline at end of file
+}

--
Gitblit v1.9.3