From ee42bf1badae06026efa79dc17d2a541297ab49b Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 03 九月 2025 17:43:31 +0800
Subject: [PATCH] 采购管理整体样式优化,搜索条件修改

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

diff --git a/src/pages/cooperativeOffice/collaborativeApproval/index.vue b/src/pages/cooperativeOffice/collaborativeApproval/index.vue
index 708be76..a3e3293 100644
--- a/src/pages/cooperativeOffice/collaborativeApproval/index.vue
+++ b/src/pages/cooperativeOffice/collaborativeApproval/index.vue
@@ -32,7 +32,7 @@
 							<text class="item-id">{{ item.approveId }}</text>
 						</view>
 						<view class="item-tag">
-							<van-tag :type="getTagClass(item.approveStatus)" size="medium">{{ formatReceiptType(item.approveStatus) }}</van-tag>
+							<u-tag :type="getTagClass(item.approveStatus)">{{ formatReceiptType(item.approveStatus) }}</u-tag>
 						</view>
 					</view>
 					<up-divider></up-divider>
@@ -70,7 +70,7 @@
 							</view>
 							<view class="detail-row">
 								<view class="actions">
-									<van-button
+									<u-button
 										type="primary"
 										size="small"
 										class="action-btn edit"
@@ -78,8 +78,8 @@
 										@click="handleItemClick(item)"
 									>
 										缂栬緫
-									</van-button>
-									<van-button
+									</u-button>
+									<u-button
 										type="success"
 										size="small"
 										class="action-btn approve"
@@ -87,7 +87,7 @@
 										@click="approve(item)"
 									>
 										瀹℃牳
-									</van-button>
+									</u-button>
 								</view>
 							</view>
 						</view>
@@ -133,6 +133,7 @@
 	};
 	// 鏌ヨ鍒楄〃
 	const getList = () => {
+		showLoadingToast('鍔犺浇涓�...')
 		const page = {
 			current: -1,
 			size: -1,
@@ -142,11 +143,25 @@
 			})
 			.then((res) => {
 				ledgerList.value = res.data.records;
+				closeToast()
 			})
 			.catch(() => {
-				// tableLoading.value = false;
+				closeToast()
 			});
 	};
+	// 鏄剧ず鍔犺浇鎻愮ず
+	const showLoadingToast = (message) => {
+		uni.showLoading({
+			title: message,
+			mask: true
+		});
+	};
+
+	// 鍏抽棴鎻愮ず
+	const closeToast = () => {
+		uni.hideLoading();
+	};
+
 	// 鏄剧ず绛涢�夐�夐」
 	const showFilterOptions = () => {
 		uni.showActionSheet({
@@ -181,7 +196,7 @@
 		} else if (type == 4) {
 			return "primary";
 		} else {
-			return "danger";
+			return "error";
 		}
 	};
 
@@ -461,7 +476,5 @@
 	.action-btn.approve {
 		/* success 鏍峰紡鏉ヨ嚜缁勪欢锛岃繖閲屼繚鐣欓挬瀛愪互渚垮悗缁渶瑕佹墿灞� */
 	}
-	:deep(.van-floating-bubble) {
-		background: #ed8d05;
-	}
+	/* 宸茬Щ闄ant缁勪欢鐨勬牱寮忓紩鐢� */
 </style>
\ No newline at end of file

--
Gitblit v1.9.3