feat: deal product services
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
import {Checkbox, Flex, NumberInput} from "@mantine/core";
|
||||
import ServiceSelectNew from "../../../../components/Selects/ServiceSelectNew/ServiceSelectNew.tsx";
|
||||
import {ServiceType} from "../../../../shared/enums/ServiceType.ts";
|
||||
import {useForm} from "@mantine/form";
|
||||
import {DealProductServiceSchema} from "../../../../client";
|
||||
|
||||
const DealProductServiceTable = () => {
|
||||
const initialValues: Partial<DealProductServiceSchema> = {}
|
||||
const form = useForm<Partial<DealProductServiceSchema>>(
|
||||
);
|
||||
return (
|
||||
<Flex direction={"column"}>
|
||||
<ServiceSelectNew
|
||||
filterType={ServiceType.PRODUCT_SERVICE}
|
||||
onChange={() => {
|
||||
}}/>
|
||||
<NumberInput
|
||||
label={"Количество"}
|
||||
/>
|
||||
<Checkbox
|
||||
label={"Привязать количество услуг к количеству товара"}
|
||||
/>
|
||||
<NumberInput
|
||||
label={"Цена за единицу"}
|
||||
/>
|
||||
|
||||
</Flex>
|
||||
)
|
||||
}
|
||||
export default DealProductServiceTable;
|
||||
Reference in New Issue
Block a user