summaryrefslogtreecommitdiff
path: root/lib/techsales-rfq/vendor-response/detail
diff options
context:
space:
mode:
Diffstat (limited to 'lib/techsales-rfq/vendor-response/detail')
-rw-r--r--lib/techsales-rfq/vendor-response/detail/project-info-tab.tsx9
-rw-r--r--lib/techsales-rfq/vendor-response/detail/quotation-tabs.tsx2
2 files changed, 7 insertions, 4 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>
diff --git a/lib/techsales-rfq/vendor-response/detail/quotation-tabs.tsx b/lib/techsales-rfq/vendor-response/detail/quotation-tabs.tsx
index a800dd95..97bba2bd 100644
--- a/lib/techsales-rfq/vendor-response/detail/quotation-tabs.tsx
+++ b/lib/techsales-rfq/vendor-response/detail/quotation-tabs.tsx
@@ -56,7 +56,7 @@ interface QuotationData {
item?: {
id: number
itemCode: string | null
- itemName: string | null
+ itemList: string | null
} | null
biddingProject?: {
id: number