From 4370684c5805040aadc85fa28b862718eeefa9fa Mon Sep 17 00:00:00 2001 From: AlexSserb Date: Sat, 1 Nov 2025 09:46:46 +0400 Subject: [PATCH] fix: fixed ui of deal ff info editor --- .../CommonInfoView/CommonInfoView.tsx | 19 +++++++++++++++++++ .../components/DealInfoView/DealInfoView.tsx | 4 ++-- .../DealServicesTable/DealServicesTable.tsx | 2 +- 3 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 src/modules/dealModularEditorTabs/FulfillmentBase/desktop/components/CommonInfoView/CommonInfoView.tsx diff --git a/src/modules/dealModularEditorTabs/FulfillmentBase/desktop/components/CommonInfoView/CommonInfoView.tsx b/src/modules/dealModularEditorTabs/FulfillmentBase/desktop/components/CommonInfoView/CommonInfoView.tsx new file mode 100644 index 0000000..14062e7 --- /dev/null +++ b/src/modules/dealModularEditorTabs/FulfillmentBase/desktop/components/CommonInfoView/CommonInfoView.tsx @@ -0,0 +1,19 @@ +import { Divider, Title } from "@mantine/core"; +import FulfillmentAttributesEditor from "@/modules/dealModularEditorTabs/FulfillmentBase/desktop/components/FulfillmentAttributesEditor/FulfillmentAttributesEditor"; + +const CommonInfoView = () => { + return ( + <> + + Общая информация + + + + + ); +}; + +export default CommonInfoView; diff --git a/src/modules/dealModularEditorTabs/FulfillmentBase/desktop/components/DealInfoView/DealInfoView.tsx b/src/modules/dealModularEditorTabs/FulfillmentBase/desktop/components/DealInfoView/DealInfoView.tsx index 7d51e8c..59b695c 100644 --- a/src/modules/dealModularEditorTabs/FulfillmentBase/desktop/components/DealInfoView/DealInfoView.tsx +++ b/src/modules/dealModularEditorTabs/FulfillmentBase/desktop/components/DealInfoView/DealInfoView.tsx @@ -1,8 +1,8 @@ import { Flex, Stack } from "@mantine/core"; +import CommonInfoView from "@/modules/dealModularEditorTabs/FulfillmentBase/desktop/components/CommonInfoView/CommonInfoView"; import ProductsActions from "@/modules/dealModularEditorTabs/FulfillmentBase/desktop/components/DealInfoView/components/ProductsActions/ProductsActions"; import TotalPriceLabel from "@/modules/dealModularEditorTabs/FulfillmentBase/desktop/components/DealInfoView/components/TotalPriceLabel/TotalPriceLabel"; import DealServicesTable from "@/modules/dealModularEditorTabs/FulfillmentBase/desktop/components/DealServicesTable/DealServicesTable"; -import FulfillmentAttributesEditor from "@/modules/dealModularEditorTabs/FulfillmentBase/desktop/components/FulfillmentAttributesEditor/FulfillmentAttributesEditor"; import styles from "@/modules/dealModularEditorTabs/FulfillmentBase/FulfillmentBase.module.css"; const DealInfoView = () => ( @@ -13,7 +13,7 @@ const DealInfoView = () => ( gap={"sm"} direction={"column"} className={styles.container}> - + { + h={"58vh"}>