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 + } } /** 添加/修改操作 */