From eb654f88214095f71be142b989e620fd28db3f69 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Mon, 11 Aug 2025 09:00:38 +0000
Subject: (최겸) 기술영업 변경사항 반영, PQ/실사 변경사항 반영
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../request-investigation-dialog.tsx               | 39 ----------------------
 1 file changed, 39 deletions(-)

(limited to 'lib/pq/pq-review-table-new/request-investigation-dialog.tsx')

diff --git a/lib/pq/pq-review-table-new/request-investigation-dialog.tsx b/lib/pq/pq-review-table-new/request-investigation-dialog.tsx
index 6cbb885f..b9648e74 100644
--- a/lib/pq/pq-review-table-new/request-investigation-dialog.tsx
+++ b/lib/pq/pq-review-table-new/request-investigation-dialog.tsx
@@ -51,14 +51,6 @@ interface QMUser {
 }
 
 const requestInvestigationFormSchema = z.object({
-    evaluationType: z.enum([
-        "PURCHASE_SELF_EVAL",   // 구매자체평가
-        "DOCUMENT_EVAL",        // 서류평가
-        // "PRODUCT_INSPECTION",   // 제품검사평가
-        // "SITE_VISIT_EVAL"       // 방문실사평가
-    ], {
-        required_error: "평가 유형을 선택해주세요.",
-    }),
     qmManagerId: z.number({
         required_error: "QM 담당자를 선택해주세요.",
     }),
@@ -76,7 +68,6 @@ interface RequestInvestigationDialogProps {
     isOpen: boolean
     onClose: () => void
     onSubmit: (data: {
-        evaluationType: "PURCHASE_SELF_EVAL" | "DOCUMENT_EVAL" | "PRODUCT_INSPECTION" | "SITE_VISIT_EVAL",
         qmManagerId: number,
         forecastedAt: Date,
         investigationAddress: string,
@@ -86,7 +77,6 @@ interface RequestInvestigationDialogProps {
     selectedCount: number
     // 선택된 행에서 가져온 초기값
     initialData?: {
-        evaluationType?: "PURCHASE_SELF_EVAL" | "DOCUMENT_EVAL" | "PRODUCT_INSPECTION" | "SITE_VISIT_EVAL",
         qmManagerId?: number,
         forecastedAt?: Date,
         investigationAddress?: string,
@@ -110,7 +100,6 @@ export function RequestInvestigationDialog({
     const form = useForm<RequestInvestigationFormValues>({
         resolver: zodResolver(requestInvestigationFormSchema),
         defaultValues: {
-            evaluationType: initialData?.evaluationType || "PURCHASE_SELF_EVAL",
             qmManagerId: initialData?.qmManagerId || undefined,
             forecastedAt: initialData?.forecastedAt || undefined,
             investigationAddress: initialData?.investigationAddress || "",
@@ -123,7 +112,6 @@ export function RequestInvestigationDialog({
     React.useEffect(() => {
         if (isOpen) {
             form.reset({
-                evaluationType: initialData?.evaluationType || "PURCHASE_SELF_EVAL",
                 qmManagerId: initialData?.qmManagerId || undefined,
                 forecastedAt: initialData?.forecastedAt || undefined,
                 investigationAddress: initialData?.investigationAddress || "",
@@ -175,33 +163,6 @@ export function RequestInvestigationDialog({
                 </DialogHeader>
                 <Form {...form}>
                     <form onSubmit={form.handleSubmit(handleSubmit)} className="space-y-4">
-                        <FormField
-                            control={form.control}
-                            name="evaluationType"
-                            render={({ field }) => (
-                                <FormItem>
-                                    <FormLabel>평가 유형</FormLabel>
-                                    <Select
-                                        onValueChange={field.onChange}
-                                        defaultValue={field.value}
-                                        disabled={isPending}
-                                    >
-                                        <FormControl>
-                                            <SelectTrigger>
-                                                <SelectValue placeholder="평가 유형을 선택하세요" />
-                                            </SelectTrigger>
-                                        </FormControl>
-                                        <SelectContent>
-                                            <SelectItem value="PURCHASE_SELF_EVAL">구매자체평가</SelectItem>
-                                            <SelectItem value="DOCUMENT_EVAL">서류평가</SelectItem>
-                                            {/* <SelectItem value="PRODUCT_INSPECTION">제품검사평가</SelectItem> */}
-                                            {/* <SelectItem value="SITE_VISIT_EVAL">방문실사평가</SelectItem> */}
-                                        </SelectContent>
-                                    </Select>
-                                    <FormMessage />
-                                </FormItem>
-                            )}
-                        />
 
                         <FormField
                             control={form.control}
-- 
cgit v1.2.3

