From 429b6e4d00594183bbcf02aba24d2df2d3f4c95b Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期五, 15 五月 2026 17:18:24 +0800
Subject: [PATCH] 协同审批详情功能及修改限制

---
 src/pages/cooperativeOffice/collaborativeApproval/index.vue |   28 +++++++++++++++++++++++-----
 1 files changed, 23 insertions(+), 5 deletions(-)

diff --git a/src/pages/cooperativeOffice/collaborativeApproval/index.vue b/src/pages/cooperativeOffice/collaborativeApproval/index.vue
index bc69a5f..910cdc3 100644
--- a/src/pages/cooperativeOffice/collaborativeApproval/index.vue
+++ b/src/pages/cooperativeOffice/collaborativeApproval/index.vue
@@ -97,13 +97,20 @@
               </view>
               <view class="detail-row">
                 <view class="actions">
-                  <!-- <u-button type="primary"
+                  <u-button type="primary"
                             size="small"
                             class="action-btn edit"
-                            :disabled="item.approveStatus == 2 || item.approveStatus == 1 || item.approveStatus == 4 || item.approveStatus == 8"
+                            v-if="!(item.approveStatus == 2 || item.approveStatus == 1 || item.approveStatus == 4 || item.approveStatus == 8 || item.approveType == 5 || item.approveType == 6 || item.approveType == 7)"
                             @click="handleItemClick(item)">
                     缂栬緫
-                  </u-button> -->
+                  </u-button>
+                  <u-button type="info"
+                            v-if="item.approveType == 5 || item.approveType == 6 || item.approveType == 7"
+                            size="small"
+                            class="action-btn detail"
+                            @click="handleDetailClick(item)">
+                    璇︽儏
+                  </u-button>
                   <u-button type="success"
                             size="small"
                             class="action-btn approve"
@@ -123,13 +130,13 @@
       <text>鏆傛棤瀹℃壒鏁版嵁</text>
     </view>
     <!-- 娴姩鎿嶄綔鎸夐挳 -->
-    <!-- <view class="fab-button"
+    <view class="fab-button"
           v-if="props.approveType != 5 && props.approveType != 6 && props.approveType != 7"
           @click="handleAdd">
       <up-icon name="plus"
                size="24"
                color="#ffffff"></up-icon>
-    </view> -->
+    </view>
   </view>
 </template>
 
@@ -262,6 +269,17 @@
     });
   };
 
+  // 鏌ョ湅璇︽儏
+  const handleDetailClick = item => {
+    uni.setStorageSync("invoiceLedgerEditRow", JSON.stringify(item));
+    uni.setStorageSync("operationType", "detail");
+    uni.setStorageSync("approveId", item.approveId);
+    uni.setStorageSync("approveType", props.approveType);
+    uni.navigateTo({
+      url: "/pages/cooperativeOffice/collaborativeApproval/detail",
+    });
+  };
+
   // 娣诲姞鏂拌褰�
   const handleAdd = () => {
     uni.setStorageSync("operationType", "add");

--
Gitblit v1.9.3