|
|
@ -245,10 +245,10 @@ const handleDelete = async (id: number) => { |
|
|
|
const handleRecevery = async (id: number) => { |
|
|
|
try { |
|
|
|
// 恢复的二次确认 |
|
|
|
await message.delConfirm() |
|
|
|
await message.confirm(t('是否恢复所选中数据?')) |
|
|
|
// 发起恢复 |
|
|
|
await SupplierinvoiceInvoicedApi.receverySupplierinvoiceInvoiced(id) |
|
|
|
message.success(t('common.delSuccess')) |
|
|
|
message.success(t('恢复成功!')) |
|
|
|
// 刷新列表 |
|
|
|
await getList() |
|
|
|
} catch {} |
|
|
|