From a40f608cc183115b7290525d5bf25a66638fe43c Mon Sep 17 00:00:00 2001 From: zhaoxuebing <1291173720@qq.com> Date: Thu, 19 Sep 2024 09:25:57 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=BA=E9=99=B7HL-5877=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inventoryinitRequestMain/index.vue | 25 +++++++++++++------ 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/index.vue b/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/index.vue index 2b762986c..9dd2e490f 100644 --- a/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/index.vue +++ b/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/index.vue @@ -300,7 +300,9 @@ const handleClose = async (id: number) => { message.success(t('common.closeSuccess')) tableObject.loading = false buttonBaseClick('refresh',null) - } catch {} + } catch {}finally{ + tableObject.loading = false + } } @@ -313,7 +315,9 @@ const handleReAdd = async (id: number) => { message.success(t('common.reAddSuccess')) tableObject.loading = false buttonBaseClick('refresh',null) - } catch {} + } catch {}finally{ + tableObject.loading = false + } } @@ -326,7 +330,9 @@ const handleSubmit = async (id: number) => { message.success(t('common.updateSuccess')) tableObject.loading = false buttonBaseClick('refresh',null) - } catch {} + } catch {}finally{ + tableObject.loading = false + } } @@ -339,7 +345,9 @@ const handleAgree = async (id: number) => { message.success(t('common.agreeSuccess')) tableObject.loading = false buttonBaseClick('refresh',null) - } catch {} + } catch {}finally{ + tableObject.loading = false + } } @@ -351,8 +359,9 @@ const handleHandle = async (id: number) => { await InventoryinitRequestMainApi.handleInventoryinitRequestMain(id) message.success(t('common.handleSuccess')) buttonBaseClick('refresh',null) - } catch {} - tableObject.loading = false + } catch {}finally{ + tableObject.loading = false + } } @@ -365,7 +374,9 @@ const handleRefused = async (id: number) => { message.success(t('common.refusedSuccess')) tableObject.loading = false buttonBaseClick('refresh',null) - } catch {} + } catch {}finally{ + tableObject.loading = false + } } /** 添加/修改操作 */