From b54a94b098a5a0a3375bab0d6493bacf45dd0a58 Mon Sep 17 00:00:00 2001
From: 周宾 <2802492122@qq.com>
Date: 星期五, 26 十二月 2025 18:08:55 +0800
Subject: [PATCH] 天津双奇点-仓储物流增加产品名称搜索

---
 src/pages/sales/receiptPaymentHistory/index.vue |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/src/pages/sales/receiptPaymentHistory/index.vue b/src/pages/sales/receiptPaymentHistory/index.vue
index 159bae5..a25e98d 100644
--- a/src/pages/sales/receiptPaymentHistory/index.vue
+++ b/src/pages/sales/receiptPaymentHistory/index.vue
@@ -135,13 +135,16 @@
 
 // 鏌ヨ鍒楄〃
 const getList = () => {
+	showLoadingToast('鍔犺浇涓�...')
 	const params = {
 		...searchForm.value,
 		...page.value
 	};
 	receiptPaymentHistoryListPage(params).then((res) => {
 		tableData.value = res.records;
+		closeToast()
 	}).catch(() => {
+		closeToast()
 		uni.showToast({
 			title: '鏌ヨ澶辫触',
 			icon: 'error'
@@ -149,6 +152,19 @@
 	});
 };
 
+// 鏄剧ず鍔犺浇鎻愮ず
+const showLoadingToast = (message) => {
+	uni.showLoading({
+		title: message,
+		mask: true
+	});
+};
+
+// 鍏抽棴鎻愮ず
+const closeToast = () => {
+	uni.hideLoading();
+};
+
 // 鏍煎紡鍖栧洖娆炬柟寮�
 const formatReceiptType = (type) => {
 	if (type == 0) {

--
Gitblit v1.9.3