feat: search deal by id and deal id column

This commit is contained in:
2024-09-28 00:36:43 +04:00
parent 4a06820300
commit 196b4103e3
3 changed files with 19 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ import DealEditDrawer from "../drawers/DealEditDrawer/DealEditDrawer.tsx";
import { DealPageContextProvider } from "../contexts/DealPageContext.tsx";
import { modals } from "@mantine/modals";
import { DealService, DealSummaryReorderRequest } from "../../../client";
import { ActionIcon, Flex, rem, Text } from "@mantine/core";
import { ActionIcon, Flex, NumberInput, rem, Text } from "@mantine/core";
import classNames from "classnames";
import { notifications } from "../../../shared/lib/notifications.ts";
import { IconMenu2, IconMenuDeep } from "@tabler/icons-react";
@@ -345,6 +345,12 @@ export const LeadsPage: FC = () => {
? "flex"
: "none",
}}>
<NumberInput
min={1}
step={1}
placeholder={"Введите номер"}
{...form.getInputProps("id")}
/>
<DealStatusSelect
onClear={() =>
form.setFieldValue("dealStatus", null)