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/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