diff options
Diffstat (limited to 'lib/rfq-last/table')
| -rw-r--r-- | lib/rfq-last/table/rfq-filter-sheet.tsx | 10 | ||||
| -rw-r--r-- | lib/rfq-last/table/rfq-table.tsx | 2 |
2 files changed, 5 insertions, 7 deletions
diff --git a/lib/rfq-last/table/rfq-filter-sheet.tsx b/lib/rfq-last/table/rfq-filter-sheet.tsx index c0b6c0e2..ef0022c9 100644 --- a/lib/rfq-last/table/rfq-filter-sheet.tsx +++ b/lib/rfq-last/table/rfq-filter-sheet.tsx @@ -110,7 +110,7 @@ export function RfqFilterSheet({ async function onSubmit(data: RfqFilterFormValues) { startTransition(() => { try { - const newFilters = []; + const newFilters: any[] = []; // 기본 필드 if (data.rfqCode?.trim()) { @@ -635,7 +635,7 @@ export function RfqFilterSheet({ )} {/* ITB 필드 */} - {(rfqCategory === "itb" || rfqCategory === "all") && ( + {/* {(rfqCategory === "itb" || rfqCategory === "all") && ( <> <FormField control={form.control} @@ -670,7 +670,7 @@ export function RfqFilterSheet({ )} /> </> - )} + )} */} {/* RFQ 필드 */} {(rfqCategory === "rfq" || rfqCategory === "all") && ( @@ -720,7 +720,7 @@ export function RfqFilterSheet({ <FormControl> <DatePicker date={field.value} - onDateChange={field.onChange} + onSelect={(date) => field.onChange(date)} placeholder="시작일" /> </FormControl> @@ -736,7 +736,7 @@ export function RfqFilterSheet({ <FormControl> <DatePicker date={field.value} - onDateChange={field.onChange} + onSelect={(date) => field.onChange(date)} placeholder="종료일" /> </FormControl> diff --git a/lib/rfq-last/table/rfq-table.tsx b/lib/rfq-last/table/rfq-table.tsx index 09bf5af4..9f78f578 100644 --- a/lib/rfq-last/table/rfq-table.tsx +++ b/lib/rfq-last/table/rfq-table.tsx @@ -285,8 +285,6 @@ export function RfqTable({ { id: "rfqTitle", label: "견적 제목", type: "text" }, ] as DataTableAdvancedFilterField<RfqsLastView>[] : []), ...(rfqCategory === "itb" ? [ - { id: "projectCompany", label: "프로젝트 회사", type: "text" }, - { id: "projectSite", label: "프로젝트 사이트", type: "text" }, { id: "smCode", label: "SM 코드", type: "text" }, ] as DataTableAdvancedFilterField<RfqsLastView>[] : []), ...(rfqCategory === "rfq" ? [ |
