summaryrefslogtreecommitdiff
path: root/lib/techsales-rfq/vendor-response/detail/project-info-tab.tsx
diff options
context:
space:
mode:
authorjoonhoekim <26rote@gmail.com>2025-06-02 02:27:56 +0000
committerjoonhoekim <26rote@gmail.com>2025-06-02 02:27:56 +0000
commite5f4a774fabc17b5b18d50c96f5695d89dcabc86 (patch)
treeb1ef756d93f8e8d1d67998a5694aab379e34b5bc /lib/techsales-rfq/vendor-response/detail/project-info-tab.tsx
parent37611339fea096e47aaa42311a13a6313b4200db (diff)
(김준회) 기술영업 조선 RFQ 에러 처리 및 필터와 소팅 처리
Diffstat (limited to 'lib/techsales-rfq/vendor-response/detail/project-info-tab.tsx')
-rw-r--r--lib/techsales-rfq/vendor-response/detail/project-info-tab.tsx9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/techsales-rfq/vendor-response/detail/project-info-tab.tsx b/lib/techsales-rfq/vendor-response/detail/project-info-tab.tsx
index 7ba3320d..e4b1b8c3 100644
--- a/lib/techsales-rfq/vendor-response/detail/project-info-tab.tsx
+++ b/lib/techsales-rfq/vendor-response/detail/project-info-tab.tsx
@@ -48,7 +48,7 @@ interface ProjectInfoTabProps {
item?: {
id: number
itemCode: string | null
- itemName: string | null
+ itemList: string | null
} | null
biddingProject?: {
id: number
@@ -74,6 +74,8 @@ export function ProjectInfoTab({ quotation }: ProjectInfoTabProps) {
const projectSnapshot = rfq?.projectSnapshot
const seriesSnapshot = rfq?.seriesSnapshot
+ console.log("rfq: ", rfq)
+
if (!rfq) {
return (
<div className="flex items-center justify-center h-full">
@@ -112,8 +114,9 @@ export function ProjectInfoTab({ quotation }: ProjectInfoTabProps) {
<div className="text-sm">{rfq.materialCode || "N/A"}</div>
</div>
<div className="space-y-2">
- <div className="text-sm font-medium text-muted-foreground">품목명</div>
- <div className="text-sm">{rfq.item?.itemName || "N/A"}</div>
+ <div className="text-sm font-medium text-muted-foreground">자재명</div>
+ {/* TODO : 타입 작업 (시연을 위해 빌드 중단 상태임. 추후 수정) */}
+ <div className="text-sm"><strong>{rfq.itemShipbuilding?.itemList || "N/A"}</strong></div>
</div>
<div className="space-y-2">
<div className="text-sm font-medium text-muted-foreground">마감일</div>