From 39d64ca5c70e81dd1544905cb47bbb5d7e1d92df Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Thu, 5 Sep 2024 13:40:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=99=E9=A2=9D=E6=B1=87=E6=80=BB=20?= =?UTF-8?q?=E5=8A=A0loading?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wms/inventoryManage/balanceSummary/index.vue | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/views/wms/inventoryManage/balanceSummary/index.vue b/src/views/wms/inventoryManage/balanceSummary/index.vue index e74f526f6..4fcafd34b 100644 --- a/src/views/wms/inventoryManage/balanceSummary/index.vue +++ b/src/views/wms/inventoryManage/balanceSummary/index.vue @@ -78,9 +78,15 @@ let defaultParams = { itemCode:itemCode.value } const getList = async (params)=>{ - let res = await BalanceApi.getBalanceSummaryPageAll(params) - tableData.value = res - console.log('库存汇总list',res) + loadStart() + try { + let res = await BalanceApi.getBalanceSummaryPageAll(params) + tableData.value = res + console.log('库存汇总list',res) + } finally { + loadDone() + } + }