From 0f34d97b5c0c559b3d132bf1171de43a5ea9a596 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期四, 04 九月 2025 17:43:25 +0800 Subject: [PATCH] 设备保养真机测试,bug修改 --- src/pages/sales/invoicingRegistration/index.vue | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/src/pages/sales/invoicingRegistration/index.vue b/src/pages/sales/invoicingRegistration/index.vue index 0b5d6a6..132da11 100644 --- a/src/pages/sales/invoicingRegistration/index.vue +++ b/src/pages/sales/invoicingRegistration/index.vue @@ -114,6 +114,7 @@ }; // 鏌ヨ鍒楄〃 const getList = () => { + showLoadingToast('鍔犺浇涓�...') const page = { current: -1, size: -1 @@ -121,11 +122,25 @@ ledgerListPage({...page, customerName: customerName.value}).then((res) => { ledgerList.value = res.records; total.value = res.total; + closeToast() }).catch(() => { - // tableLoading.value = false; + closeToast() }); }; +// 鏄剧ず鍔犺浇鎻愮ず +const showLoadingToast = (message) => { + uni.showLoading({ + title: message, + mask: true + }); +}; + +// 鍏抽棴鎻愮ず +const closeToast = () => { + uni.hideLoading(); +}; + // 澶勭悊鏂板寮�绁� const handleAddInvoice = (item) => { try { -- Gitblit v1.9.3