fix calculation massages
This commit is contained in:
parent
6a40e148a5
commit
a15d585045
@ -289,6 +289,9 @@ const actions: TAction = {
|
||||
message.success({
|
||||
content: 'Расчет завершен успешно!',
|
||||
duration: 5,
|
||||
style: {
|
||||
marginTop: '7vh',
|
||||
},
|
||||
});
|
||||
|
||||
const { sumWithVatColumn, vatColumn, sumRepaymentColumn } = res.columns;
|
||||
@ -311,10 +314,10 @@ const actions: TAction = {
|
||||
return { ...res, ...preparedData };
|
||||
})
|
||||
.catch(err => {
|
||||
message.error({
|
||||
content: 'Произошла ошибка во время расчета!',
|
||||
duration: 5,
|
||||
});
|
||||
openNotification({
|
||||
type: 'error',
|
||||
title: 'Ошибка во время расчета!',
|
||||
})();
|
||||
throw err;
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user