|
|
@ -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,9 +359,10 @@ const handleHandle = async (id: number) => { |
|
|
|
await InventoryinitRequestMainApi.handleInventoryinitRequestMain(id) |
|
|
|
message.success(t('common.handleSuccess')) |
|
|
|
buttonBaseClick('refresh',null) |
|
|
|
} catch {} |
|
|
|
} 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 |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/** 添加/修改操作 */ |
|
|
|