From 86c30ab5d8fa74bf77bdd75d8008a6d87dab28b6 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 26 九月 2025 16:00:07 +0800
Subject: [PATCH] 打包修改
---
src/pages/sales/receiptPaymentLedger/detail.vue | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/src/pages/sales/receiptPaymentLedger/detail.vue b/src/pages/sales/receiptPaymentLedger/detail.vue
index d549311..041be44 100644
--- a/src/pages/sales/receiptPaymentLedger/detail.vue
+++ b/src/pages/sales/receiptPaymentLedger/detail.vue
@@ -112,6 +112,7 @@
return;
}
+ showLoadingToast('鍔犺浇涓�...')
const param = {
customerId: customerId.value,
current: -1,
@@ -120,7 +121,9 @@
customerInteractions(param).then((res) => {
tableData.value = res.data;
+ closeToast()
}).catch(() => {
+ closeToast()
uni.showToast({
title: '鏌ヨ澶辫触',
icon: 'error'
@@ -133,6 +136,19 @@
return amount ? parseFloat(amount).toFixed(2) : '0.00';
};
+// 鏄剧ず鍔犺浇鎻愮ず
+const showLoadingToast = (message) => {
+ uni.showLoading({
+ title: message,
+ mask: true
+ });
+};
+
+// 鍏抽棴鎻愮ず
+const closeToast = () => {
+ uni.hideLoading();
+};
+
onShow(() => {
// 椤甸潰鏄剧ず鏃惰幏鍙栧弬鏁板苟鍒锋柊鍒楄〃
getPageParams();
--
Gitblit v1.9.3