diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-11-17 07:06:52 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-11-17 07:06:52 +0000 |
| commit | 1532c1bf4a3236ce9056f33e51ddfebeff79ed5a (patch) | |
| tree | c3f3c43d0f73c4b7df4e34e9b1aa308604c562c9 /lib/pq | |
| parent | a5be73b70e7d8e6be1724252e6923c664c3771f4 (diff) | |
(최겸) 구매 피드백 처리
Diffstat (limited to 'lib/pq')
| -rw-r--r-- | lib/pq/pq-review-table-new/request-investigation-dialog.tsx | 6 | ||||
| -rw-r--r-- | lib/pq/service.ts | 7 |
2 files changed, 6 insertions, 7 deletions
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 aaf10a71..f5a7ff91 100644 --- a/lib/pq/pq-review-table-new/request-investigation-dialog.tsx +++ b/lib/pq/pq-review-table-new/request-investigation-dialog.tsx @@ -59,7 +59,7 @@ const requestInvestigationFormSchema = z.object({ }),
investigationAddress: z.string().min(1, "실사 장소를 입력해주세요."),
investigationMethod: z.string().optional(),
- investigationNotes: z.string().optional(),
+ investigationNotes: z.string().min(1, "실사 목적을 입력해주세요."),
})
type RequestInvestigationFormValues = z.infer<typeof requestInvestigationFormSchema>
@@ -264,10 +264,10 @@ export function RequestInvestigationDialog({ name="investigationNotes"
render={({ field }) => (
<FormItem>
- <FormLabel>특이사항 (선택사항)</FormLabel>
+ <FormLabel>실사목적</FormLabel>
<FormControl>
<Textarea
- placeholder="실사 관련 특이사항을 입력하세요"
+ placeholder="실사 목적을 입력하세요"
className="resize-none min-h-[60px]"
{...field}
disabled={isPending}
diff --git a/lib/pq/service.ts b/lib/pq/service.ts index fd71888e..57ce5f88 100644 --- a/lib/pq/service.ts +++ b/lib/pq/service.ts @@ -2821,7 +2821,7 @@ export async function requestPqSupplementAction({ requesterEmail = requester?.email || null;
}
- const reviewUrl = `http://${host}/evcp/pq/${vendorId}/${pqSubmissionId}`;
+ const reviewUrl = `${process.env.NEXT_PUBLIC_BASE_URL}/partners/pq_new`;
await sendEmail({
to: vendor.email,
@@ -3472,9 +3472,8 @@ export async function getQMManagers() { .where(
and(
eq(users.isActive, true),
- ne(users.domain, "partners")
- // ilike(users.deptName, "%품질경영팀(%")
- // 테스트 간 임시제거 후 추가 예정(1103)
+ ne(users.domain, "partners"),
+ ilike(users.deptName, "%품질경영팀(%")
)
)
.orderBy(users.name);
|
