diff --git a/src/views/wms/productionManage/offlinesettlement/offlinesettlementRequestMain/index.vue b/src/views/wms/productionManage/offlinesettlement/offlinesettlementRequestMain/index.vue index aa96e316b..624cd7e56 100644 --- a/src/views/wms/productionManage/offlinesettlement/offlinesettlementRequestMain/index.vue +++ b/src/views/wms/productionManage/offlinesettlement/offlinesettlementRequestMain/index.vue @@ -259,7 +259,9 @@ const handleDelete = async (id: number) => { tableObject.loading = false // 刷新列表 await getList() - } catch {} + } catch {}finally{ + tableObject.loading = false + } } /** 导出按钮操作 */ diff --git a/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue b/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue index b337d9628..1a42761c1 100644 --- a/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue +++ b/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue @@ -493,7 +493,9 @@ const handleDelete = async (id: number) => { tableObject.loading = false // 刷新列表 await getList() - } catch {} + } catch {}finally{ + tableObject.loading = false + } } /** 导出按钮操作 */ diff --git a/src/views/wms/productionManage/productionplan/productionMain/index.vue b/src/views/wms/productionManage/productionplan/productionMain/index.vue index 80de838f2..21e186f9d 100644 --- a/src/views/wms/productionManage/productionplan/productionMain/index.vue +++ b/src/views/wms/productionManage/productionplan/productionMain/index.vue @@ -372,7 +372,9 @@ const handleDelete = async (id: number) => { tableObject.loading = false // 刷新列表 await getList() - } catch {} + } catch {}finally{ + tableObject.loading = false + } } /** 导出按钮操作 */ diff --git a/src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue b/src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue index 9a2f14715..14f928dfc 100644 --- a/src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue +++ b/src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue @@ -312,7 +312,9 @@ const handleDelete = async (id: number) => { tableObject.loading = false // 刷新列表 await getList() - } catch {} + } catch {}finally{ + tableObject.loading = false + } } /** 导出按钮操作 */ diff --git a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue index 8ef78e0f9..f4fb0115e 100644 --- a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue +++ b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue @@ -484,7 +484,9 @@ const handleDelete = async (id: number) => { tableObject.loading = false // 刷新列表 await getList() - } catch {} + } catch {}finally{ + tableObject.loading = false + } } /** 导出按钮操作 */ diff --git a/src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue b/src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue index 12181fb2b..aff706e66 100644 --- a/src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue +++ b/src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue @@ -387,62 +387,86 @@ const buttonTableClick = async (val, row) => { /** 关闭按钮操作 */ const handleClose = async (id: number) => { + try{ await message.confirm(t('common.confirmColse')) tableObject.loading = true await ProductrepairRequestMainApi.closeProductrepairRequestMain(id) message.success(t('common.closeSuccess')) tableObject.loading = false await getList() + }catch{}finally{ + tableObject.loading = false + } } /** 重新添加按钮操作 */ const handleReAdd = async (id: number) => { + try{ await message.confirm(t('common.confirmReAdd')) tableObject.loading = true await ProductrepairRequestMainApi.reAddProductrepairRequestMain(id) message.success(t('common.reAddSuccess')) tableObject.loading = false await getList() + }catch{}finally{ + tableObject.loading = false + } } /** 提交按钮操作 */ const handleSubmit = async (id: number) => { + try{ await message.confirm(t('common.confirmSubmit')) tableObject.loading = true await ProductrepairRequestMainApi.submitProductrepairRequestMain(id) message.success(t('common.submitSuccess')) tableObject.loading = false await getList() + }catch{}finally{ + tableObject.loading = false + } } /** 审批驳回按钮操作 */ const handleRefused = async (id: number) => { + try{ await message.confirm(t('common.confirmRefused')) tableObject.loading = true await ProductrepairRequestMainApi.refusedProductrepairRequestMain(id) message.success(t('common.refusedSuccess')) tableObject.loading = false await getList() + }catch{}finally{ + tableObject.loading = false + } } /** 审批通过按钮操作 */ -const handleAgree = async (id: number) => { +const handleAgree = async (id: number) => {. + try{ await message.confirm(t('common.confirmAgree')) tableObject.loading = true await ProductrepairRequestMainApi.agreeProductrepairRequestMain(id) message.success(t('common.agreeSuccess')) tableObject.loading = false await getList() + }catch{}finally{ + tableObject.loading = false + } } /** 处理按钮操作 */ const handleHandle = async (id: number) => { + try{ await message.confirm(t('common.confirmHandle')) tableObject.loading = true await ProductrepairRequestMainApi.handleProductrepairRequestMain(id) message.success(t('common.handleSuccess')) tableObject.loading = false await getList() + }catch{}finally{ + tableObject.loading = false + } } /** 添加/修改操作 */ diff --git a/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue b/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue index 402d0cc06..8c11d693e 100644 --- a/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue +++ b/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue @@ -396,62 +396,86 @@ const buttonTableClick = async (val, row) => { /** 关闭按钮操作 */ const handleClose = async (id: number) => { + try{ await message.confirm(t('common.confirmColse')) tableObject.loading = true await ProductscrapRequestMainApi.closeProductscrapRequestMain(id) message.success(t('common.closeSuccess')) tableObject.loading = false await getList() + }catch{}finally{ + tableObject.loading = false + } } /** 重新添加按钮操作 */ const handleReAdd = async (id: number) => { + try{ await message.confirm(t('common.confirmReAdd')) tableObject.loading = true await ProductscrapRequestMainApi.reAddProductscrapRequestMain(id) message.success(t('common.reAddSuccess')) tableObject.loading = false await getList() + }catch{}finally{ + tableObject.loading = false + } } /** 提交按钮操作 */ const handleSubmit = async (id: number) => { + try{ await message.confirm(t('common.confirmSubmit')) tableObject.loading = true await ProductscrapRequestMainApi.submitProductscrapRequestMain(id) message.success(t('common.submitSuccess')) tableObject.loading = false await getList() + }catch{}finally{ + tableObject.loading = false + } } /** 审批驳回按钮操作 */ const handleRefused = async (id: number) => { + try{ await message.confirm(t('common.confirmRefused')) tableObject.loading = true await ProductscrapRequestMainApi.refusedProductscrapRequestMain(id) message.success(t('common.refusedSuccess')) tableObject.loading = false await getList() + }catch{}finally{ + tableObject.loading = false + } } /** 审批通过按钮操作 */ const handleAgree = async (id: number) => { + try{ await message.confirm(t('common.confirmAgree')) tableObject.loading = true await ProductscrapRequestMainApi.agreeProductscrapRequestMain(id) message.success(t('common.agreeSuccess')) tableObject.loading = false await getList() + }catch{}finally{ + tableObject.loading = false + } } /** 处理按钮操作 */ const handleHandle = async (id: number) => { + try{ await message.confirm(t('common.confirmHandle')) tableObject.loading = true await ProductscrapRequestMainApi.handleProductscrapRequestMain(id) message.success(t('common.handleSuccess')) tableObject.loading = false await getList() + }catch{}finally{ + tableObject.loading = false + } } /** 添加/修改操作 */ diff --git a/src/views/wms/purchasereceiptManage/inspect/inspectRequestMain/index.vue b/src/views/wms/purchasereceiptManage/inspect/inspectRequestMain/index.vue index a32d7fea1..53732d8a3 100644 --- a/src/views/wms/purchasereceiptManage/inspect/inspectRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/inspect/inspectRequestMain/index.vue @@ -199,62 +199,81 @@ /** 关闭按钮操作 */ const handleClose = async (id : number) => { + try{ await message.confirm(t('common.confirmColse')) tableObject.loading = true await InspectRequestMainApi.closeInspectRequestMain(id) message.success(t('common.closeSuccess')) - tableObject.loading = false await getList() + }catch{}finally{ + tableObject.loading = false + } + } /** 重新添加按钮操作 */ const handleReAdd = async (id : number) => { + try{ await message.confirm(t('common.confirmReAdd')) tableObject.loading = true await InspectRequestMainApi.reAddInspectRequestMain(id) message.success(t('common.reAddSuccess')) - tableObject.loading = false await getList() + }catch{}finally{ + tableObject.loading = false + } } /** 审批通过按钮操作 */ const handleAgree = async (id : number) => { + try{ await message.confirm(t('common.confirmAgree')) tableObject.loading = true await InspectRequestMainApi.agreeInspectRequestMain(id) message.success(t('common.agreeSuccess')) - tableObject.loading = false await getList() + }catch{}finally{ + tableObject.loading = false + } } /** 审批驳回按钮操作 */ const handleRefused = async (id : number) => { + try{ await message.confirm(t('common.confirmRefused')) tableObject.loading = true await InspectRequestMainApi.refusedInspectRequestMain(id) message.success(t('common.refusedSuccess')) - tableObject.loading = false await getList() + }catch{}finally{ + tableObject.loading = false + } } /** 处理按钮操作 */ const handleHandle = async (id : number) => { + try{ await message.confirm(t('common.confirmHandle')) tableObject.loading = true await InspectRequestMainApi.handleInspectRequestMain(id) message.success(t('common.handleSuccess')) - tableObject.loading = false await getList() + }catch{}finally{ + tableObject.loading = false + } } /** 提交按钮操作 */ const handleSubmit = async (id : number) => { + try{ await message.confirm(t('common.confirmSubmit')) tableObject.loading = true await InspectRequestMainApi.submitInspectRequestMain(id) message.success(t('common.submitSuccess')) - tableObject.loading = false await getList() + }catch{}finally{ + tableObject.loading = false + } } /** 添加/修改操作 */ diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue index 9e75ce8eb..c30144b35 100644 --- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue @@ -235,12 +235,15 @@ const openDetail = (row: any, titleName: any, titleValue: any) => { /** 关闭按钮操作 */ const handleClose = async (id: number) => { + try{ await message.confirm(t('common.confirmColse')) tableObject.loading = true await PurchasereceiptRequestMainApi.closePurchasereceiptRequestMain(id) message.success(t('common.closeSuccess')) - tableObject.loading = false await getList() + }catch{}finally{ + tableObject.loading = false + } } /** 重新添加按钮操作 */ diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue index 3c4b19c7d..89320ff7c 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue @@ -460,9 +460,10 @@ const handleClose = async (id: number) => { tableObject.loading = true await PurchasereturnRequestMainApi.closePurchasereturnRequestMain(id) message.success(t('common.closeSuccess')) - tableObject.loading = false await getList() - } catch {} + } catch {}finally{ + tableObject.loading = false + } } /** 重新添加按钮操作 */ @@ -472,9 +473,10 @@ const handleReAdd = async (id: number) => { tableObject.loading = true await PurchasereturnRequestMainApi.reAddPurchasereturnRequestMain(id) message.success(t('common.reAddSuccess')) - tableObject.loading = false await getList() - } catch {} + } catch {}finally{ + tableObject.loading = false + } } /** 审批通过按钮操作 */ @@ -484,9 +486,10 @@ const handleAgree = async (id: number) => { tableObject.loading = true await PurchasereturnRequestMainApi.agreePurchasereturnRequestMain(id) message.success(t('common.agreeSuccess')) - tableObject.loading = false await getList() - } catch {} + } catch {}finally{ + tableObject.loading = false + } } /** 审批驳回按钮操作 */ @@ -496,9 +499,10 @@ const handleRefused = async (id: number) => { tableObject.loading = true await PurchasereturnRequestMainApi.refusedPurchasereturnRequestMain(id) message.success(t('common.refusedSuccess')) - tableObject.loading = false await getList() - } catch {} + } catch {}finally{ + tableObject.loading = false + } } /** 处理按钮操作 */ @@ -508,9 +512,10 @@ const handleHandle = async (id: number) => { tableObject.loading = true await PurchasereturnRequestMainApi.handlePurchasereturnRequestMain(id) message.success(t('common.handleSuccess')) - tableObject.loading = false await getList() - } catch {} + } catch {}finally{ + tableObject.loading = false + } } /** 提交按钮操作 */ @@ -520,8 +525,8 @@ const handleSubmit = async (id: number) => { tableObject.loading = true await PurchasereturnRequestMainApi.submitPurchasereturnRequestMain(id) message.success(t('common.submitSuccess')) - tableObject.loading = false await getList() + tableObject.loading = false } catch {} } diff --git a/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/index.vue b/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/index.vue index 9196290e2..6adef8f2c 100644 --- a/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/index.vue @@ -232,62 +232,84 @@ const openForm =async (type: string, row?: number) => { /** 关闭按钮操作 */ const handleClose = async (id: number) => { + try{ await message.confirm(t('common.confirmColse')) tableObject.loading = true await PutawayRequestMainApi.closePutawayRequestMain(id) message.success(t('common.closeSuccess')) - tableObject.loading = false await getList() + }catch{}finally{ + tableObject.loading = false + } } /** 重新添加按钮操作 */ const handleReAdd = async (id: number) => { + try{ await message.confirm(t('common.confirmReAdd')) tableObject.loading = true await PutawayRequestMainApi.reAddPutawayRequestMain(id) message.success(t('common.reAddSuccess')) - tableObject.loading = false await getList() + }catch{}finally{ + tableObject.loading = false + } } /** 审批通过按钮操作 */ const handleAgree = async (id: number) => { + try{ await message.confirm(t('common.confirmAgree')) tableObject.loading = true await PutawayRequestMainApi.agreePutawayRequestMain(id) message.success(t('common.agreeSuccess')) - tableObject.loading = false await getList() + }catch{}finally{ + tableObject.loading = false + } + } /** 审批驳回按钮操作 */ const handleRefused = async (id: number) => { + try{ await message.confirm(t('common.confirmRefused')) tableObject.loading = true await PutawayRequestMainApi.refusedPutawayRequestMain(id) message.success(t('common.refusedSuccess')) tableObject.loading = false await getList() + }catch{}finally{ + tableObject.loading = false + } } /** 处理按钮操作 */ const handleHandle = async (id: number) => { + try{ await message.confirm(t('common.confirmHandle')) tableObject.loading = true await PutawayRequestMainApi.handlePutawayRequestMain(id) message.success(t('common.handleSuccess')) tableObject.loading = false await getList() + }catch{}finally{ + tableObject.loading = false + } } /** 提交按钮操作 */ const handleSubmit = async (id: number) => { + try{ await message.confirm(t('common.confirmSubmit')) tableObject.loading = true await PutawayRequestMainApi.submitPutawayRequestMain(id) message.success(t('common.submitSuccess')) tableObject.loading = false await getList() + }catch{}finally{ + tableObject.loading = false + } } // 获取部门 用于详情 部门回显 diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/index.vue index ef71a5639..38e3afb7e 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/index.vue @@ -246,7 +246,9 @@ const handleDelete = async (id: number) => { tableObject.loading = false // 刷新列表 await getList() - } catch {} + } catch {}finally{ + tableObject.loading = false + } } /** 导出按钮操作 */ diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/index.vue index 027a2b79c..ad7639584 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/index.vue @@ -293,7 +293,9 @@ tableObject.loading = false // 刷新列表 await getList() - } catch { } + } catch {}finally{ + tableObject.loading = false + } } /** 关闭按钮操作 */ @@ -308,7 +310,9 @@ tableObject.loading = false // 刷新列表 await getList() - } catch { } + } catch { }finally{ + tableObject.loading = false + } } /** 打开按钮操作 */ @@ -323,7 +327,9 @@ tableObject.loading = false // 刷新列表 await getList() - } catch { } + } catch { }finally{ + tableObject.loading = false + } } /** 发布按钮操作 */ @@ -338,7 +344,9 @@ tableObject.loading = false // 刷新列表 await getList() - } catch { } + } catch { }finally{ + tableObject.loading = false + } } /** 下架按钮操作 */ @@ -353,7 +361,9 @@ tableObject.loading = false // 刷新列表 await getList() - } catch { } + } catch { }finally{ + tableObject.loading = false + } } /** 导出按钮操作 */ diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue index c4a21accf..e38517ee6 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue @@ -261,7 +261,9 @@ tableObject.loading = false // 刷新列表 await getList() - } catch { } + } catch { }finally{ + tableObject.loading = false + } } /** 关闭按钮操作 */ @@ -275,7 +277,9 @@ tableObject.loading = false // 刷新列表 await getList() - } catch { } + } catch { }finally{ + tableObject.loading = false + } } /** 打开按钮操作 */ @@ -290,7 +294,9 @@ tableObject.loading = false // 刷新列表 await getList() - } catch { } + } catch { }finally{ + tableObject.loading = false + } } @@ -306,7 +312,9 @@ tableObject.loading = false // 刷新列表 await getList() - } catch { } + } catch { }finally{ + tableObject.loading = false + } } /** 发布按钮操作 */ @@ -321,7 +329,9 @@ tableObject.loading = false // 刷新列表 await getList() - } catch { } + } catch { }finally{ + tableObject.loading = false + } } /** 下架按钮操作 */ @@ -336,7 +346,9 @@ tableObject.loading = false // 刷新列表 await getList() - } catch { } + } catch { }finally{ + tableObject.loading = false + } } /** 接受按钮操作 */ @@ -351,7 +363,9 @@ tableObject.loading = false // 刷新列表 await getList() - } catch { } + } catch { }finally{ + tableObject.loading = false + } } /** 驳回按钮操作 */ @@ -366,7 +380,9 @@ tableObject.loading = false // 刷新列表 await getList() - } catch { } + } catch { }finally{ + tableObject.loading = false + } } /** 导出按钮操作 */ diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierPackage/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierPackage/index.vue index 502d7f1fa..de68f4b9d 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierPackage/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierPackage/index.vue @@ -216,7 +216,9 @@ const handleDelete = async (id: number) => { tableObject.loading = false // 刷新列表 await getList() - } catch {} + } catch {}finally{ + tableObject.loading = false + } } /** 导出按钮操作 */ diff --git a/src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/index.vue b/src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/index.vue index 353a11316..6bbadf7de 100644 --- a/src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/index.vue +++ b/src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/index.vue @@ -281,7 +281,9 @@ tableObject.loading = false // 刷新列表 await getList() - } catch { } + } catch { }finally{ + tableObject.loading = false + } } @@ -297,7 +299,9 @@ tableObject.loading = false // 刷新列表 await getList() - } catch { } + } catch { }finally{ + tableObject.loading = false + } } /** 打开按钮操作 */ @@ -312,7 +316,9 @@ tableObject.loading = false // 刷新列表 await getList() - } catch { } + } catch { }finally{ + tableObject.loading = false + } } /** 提交审批按钮操作 */ @@ -327,7 +333,9 @@ tableObject.loading = false // 刷新列表 await getList() - } catch { } + } catch { }finally{ + tableObject.loading = false + } } /** 审批通过按钮操作 */ @@ -342,7 +350,9 @@ tableObject.loading = false // 刷新列表 await getList() - } catch { } + } catch { }finally{ + tableObject.loading = false + } } /** 驳回按钮操作 */ @@ -357,7 +367,9 @@ tableObject.loading = false // 刷新列表 await getList() - } catch { } + } catch { }finally{ + tableObject.loading = false + } } /** 处理按钮操作 */ @@ -372,7 +384,9 @@ tableObject.loading = false // 刷新列表 await getList() - } catch { } + } catch { }finally{ + tableObject.loading = false + } } /** 导出按钮操作 */ diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue index 735ebd48a..62d683655 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue @@ -238,7 +238,9 @@ tableObject.loading = false // 刷新列表 await getList() - } catch { } + } catch { }finally{ + tableObject.loading = false + } } /** 关闭按钮操作 */ @@ -253,7 +255,9 @@ tableObject.loading = false // 刷新列表 await getList() - } catch { } + } catch { }finally{ + tableObject.loading = false + } } /** 打开按钮操作 */ @@ -268,7 +272,9 @@ tableObject.loading = false // 刷新列表 await getList() - } catch { } + } catch { }finally{ + tableObject.loading = false + } } /** 提交审批按钮操作 */ @@ -283,7 +289,9 @@ tableObject.loading = false // 刷新列表 await getList() - } catch { } + } catch { }finally{ + tableObject.loading = false + } } /** 审批通过按钮操作 */ @@ -298,7 +306,9 @@ tableObject.loading = false // 刷新列表 await getList() - } catch { } + } catch { }finally{ + tableObject.loading = false + } } /** 驳回按钮操作 */ @@ -313,7 +323,9 @@ tableObject.loading = false // 刷新列表 await getList() - } catch { } + } catch { }finally{ + tableObject.loading = false + } } /** 处理按钮操作 */ @@ -328,7 +340,9 @@ tableObject.loading = false // 刷新列表 await getList() - } catch { } + } catch { }finally{ + tableObject.loading = false + } } /** 导出按钮操作 */