diff options
Diffstat (limited to 'lib/site-visit/vendor-info-sheet.tsx')
| -rw-r--r-- | lib/site-visit/vendor-info-sheet.tsx | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/lib/site-visit/vendor-info-sheet.tsx b/lib/site-visit/vendor-info-sheet.tsx index f72766fe..2a20e212 100644 --- a/lib/site-visit/vendor-info-sheet.tsx +++ b/lib/site-visit/vendor-info-sheet.tsx @@ -30,21 +30,21 @@ import { Upload, X, FileText } from "lucide-react" // 협력업체 정보 입력 스키마
const vendorInfoSchema = z.object({
- // 공장 정보
- factoryName: z.string().min(1, "공장명을 입력해주세요."),
- factoryLocation: z.string().min(1, "공장위치를 입력해주세요."),
- factoryAddress: z.string().min(1, "공장주소를 입력해주세요."),
+ // 실사 장소 정보
+ factoryName: z.string().min(1, "실사 장소명을 입력해주세요."),
+ factoryLocation: z.string().min(1, "실사 지역을 입력해주세요."),
+ factoryAddress: z.string().min(1, "실사 주소를 입력해주세요."),
- // 공장 PIC 정보
- factoryPicName: z.string().min(1, "공장 담당자 이름을 입력해주세요."),
- factoryPicPhone: z.string().min(1, "공장 담당자 전화번호를 입력해주세요."),
+ // 실사 참석자 정보
+ factoryPicName: z.string().min(1, "실사 참석자 이름을 입력해주세요."),
+ factoryPicPhone: z.string().min(1, "실사 참석자 전화번호를 입력해주세요."),
factoryPicEmail: z.string().email("올바른 이메일 주소를 입력해주세요."),
- // 공장 가는 법
- factoryDirections: z.string().min(1, "공장 가는 법을 입력해주세요."),
-
- // 공장 출입절차
- accessProcedure: z.string().min(1, "공장 출입절차를 입력해주세요."),
+ // 실사 장소 이동 방법
+ factoryDirections: z.string().min(1, "실사 장소 이동 방법을 입력해주세요."),
+
+ // 실사 장소 출입절차
+ accessProcedure: z.string().min(1, "실사 장소 출입절차를 입력해주세요."),
// 첨부파일
hasAttachments: z.boolean().default(false),
@@ -176,9 +176,9 @@ export function VendorInfoSheet({ <Form {...form}>
<form onSubmit={form.handleSubmit(handleSubmit)} className="space-y-6">
- {/* 공장 정보 */}
+ {/* 실사 장소 정보 */}
<div className="space-y-4">
- <h3 className="text-lg font-semibold border-b pb-2">공장 정보</h3>
+ <h3 className="text-lg font-semibold border-b pb-2">실사 장소 정보</h3>
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
<FormField
@@ -186,9 +186,9 @@ export function VendorInfoSheet({ name="factoryName"
render={({ field }) => (
<FormItem>
- <FormLabel>공장명 *</FormLabel>
+ <FormLabel>실사 장소명 *</FormLabel>
<FormControl>
- <Input placeholder="공장명을 입력하세요" {...field} disabled={isPending} />
+ <Input placeholder="실사 장소명을 입력하세요 (예: 00공장)" {...field} disabled={isPending} />
</FormControl>
<FormMessage />
</FormItem>
@@ -200,7 +200,7 @@ export function VendorInfoSheet({ name="factoryLocation"
render={({ field }) => (
<FormItem>
- <FormLabel>공장위치 *</FormLabel>
+ <FormLabel>실사 지역 *</FormLabel>
<FormControl>
<Input placeholder="국가 또는 지역 (예: Finland, 부산)" {...field} disabled={isPending} />
</FormControl>
@@ -215,11 +215,11 @@ export function VendorInfoSheet({ name="factoryAddress"
render={({ field }) => (
<FormItem>
- <FormLabel>공장주소 *</FormLabel>
+ <FormLabel>실사 주소 *</FormLabel>
<FormControl>
- <Textarea
- placeholder="상세 주소를 입력하세요"
- {...field}
+ <Textarea
+ placeholder="상세 주소를 입력하세요"
+ {...field}
disabled={isPending}
className="min-h-[80px]"
/>
@@ -232,9 +232,9 @@ export function VendorInfoSheet({ </div>
</div>
- {/* 공장 PIC 정보 */}
+ {/* 실사 참석자 정보 */}
<div className="space-y-4">
- <h3 className="text-lg font-semibold border-b pb-2">공장 담당자 정보</h3>
+ <h3 className="text-lg font-semibold border-b pb-2">실사 참석자 정보</h3>
<div className="grid grid-cols-1 md:grid-cols-3 gap-4">
<FormField
@@ -281,9 +281,9 @@ export function VendorInfoSheet({ </div>
</div>
- {/* 공장 정보 상세 */}
+ {/* 실사 장소 상세 */}
<div className="space-y-4">
- <h3 className="text-lg font-semibold border-b pb-2">공장 정보 상세</h3>
+ <h3 className="text-lg font-semibold border-b pb-2">실사 장소 상세</h3>
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
<FormField
@@ -291,11 +291,11 @@ export function VendorInfoSheet({ name="factoryDirections"
render={({ field }) => (
<FormItem>
- <FormLabel>공장 가는 법 *</FormLabel>
+ <FormLabel>실사 장소 이동 방법 *</FormLabel>
<FormControl>
- <Textarea
- placeholder="공항에서 공장까지 가는 방법, 대중교통 정보 등을 상세히 입력하세요"
- {...field}
+ <Textarea
+ placeholder="공항에서 실사 장소까지 가는 방법, 대중교통 정보 등을 상세히 입력하세요"
+ {...field}
disabled={isPending}
className="min-h-[120px]"
/>
@@ -310,11 +310,11 @@ export function VendorInfoSheet({ name="accessProcedure"
render={({ field }) => (
<FormItem>
- <FormLabel>공장 출입절차 *</FormLabel>
+ <FormLabel>실사 장소 출입절차 *</FormLabel>
<FormControl>
- <Textarea
- placeholder="신분증 제출, 출입증 교환, 준비물 등 출입 절차를 상세히 입력하세요"
- {...field}
+ <Textarea
+ placeholder="신분증 제출, 출입증 교환, 준비물 등 출입 절차를 상세히 입력하세요"
+ {...field}
disabled={isPending}
className="min-h-[120px]"
/>
|
