From dc3bbe2a548c7aaf2024606097298ade4d77c8fb Mon Sep 17 00:00:00 2001
From: 周宾 <2802492122@qq.com>
Date: 星期一, 29 十二月 2025 11:01:29 +0800
Subject: [PATCH] 天津双奇点-仓储物流-入库管理-编辑修改上传图片ip,增加编辑接口,增加列表图片预览功能
---
src/pages/sales/receiptPaymentLedger/index.vue | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/src/pages/sales/receiptPaymentLedger/index.vue b/src/pages/sales/receiptPaymentLedger/index.vue
index d913f34..5dd054f 100644
--- a/src/pages/sales/receiptPaymentLedger/index.vue
+++ b/src/pages/sales/receiptPaymentLedger/index.vue
@@ -100,9 +100,12 @@
};
const getList = () => {
+ showLoadingToast('鍔犺浇涓�...')
invoiceLedgerSalesAccount({ ...searchForm.value, ...page }).then((res) => {
tableData.value = res.data.records;
+ closeToast()
}).catch(() => {
+ closeToast()
uni.showToast({
title: '鏌ヨ澶辫触',
icon: 'error'
@@ -114,7 +117,18 @@
return parseFloat(value || 0).toFixed(2);
};
+// 鏄剧ず鍔犺浇鎻愮ず
+const showLoadingToast = (message) => {
+ uni.showLoading({
+ title: message,
+ mask: true
+ });
+};
+// 鍏抽棴鎻愮ず
+const closeToast = () => {
+ uni.hideLoading();
+};
const rowClickMethod = (row) => {
// 浣跨敤 uni.setStorageSync 瀛樺偍瀹㈡埛淇℃伅
--
Gitblit v1.9.3