|
@ -198,7 +198,7 @@ const buttonTableClick = async (val, row) => { |
|
|
const handleClose = async (id: number) => { |
|
|
const handleClose = async (id: number) => { |
|
|
try { |
|
|
try { |
|
|
await message.confirm(t('common.confirmColse')) |
|
|
await message.confirm(t('common.confirmColse')) |
|
|
await PurchasereceiptJobMainApi.closePurchasereceiptJobMain(id) |
|
|
await PurchasereturnJobMainApi.closePurchasereturnJobMain(id) |
|
|
message.success(t('common.closeSuccess')) |
|
|
message.success(t('common.closeSuccess')) |
|
|
await getList() |
|
|
await getList() |
|
|
} catch {} |
|
|
} catch {} |
|
|