|
|
@ -464,10 +464,14 @@ const handleAgree = async (id: number) => { |
|
|
|
const handleHandle = async (id: number) => { |
|
|
|
await message.confirm(t('common.confirmHandle')) |
|
|
|
tableObject.loading = true |
|
|
|
await UnplannedreceiptRequestMainApi.handleUnplannedreceiptRequestMain(id) |
|
|
|
message.success(t('common.handleSuccess')) |
|
|
|
tableObject.loading = false |
|
|
|
await getList() |
|
|
|
try { |
|
|
|
await UnplannedreceiptRequestMainApi.handleUnplannedreceiptRequestMain(id) |
|
|
|
message.success(t('common.handleSuccess')) |
|
|
|
await getList() |
|
|
|
|
|
|
|
} finally { |
|
|
|
tableObject.loading = false |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/** 添加/修改操作 */ |
|
|
|