summaryrefslogtreecommitdiff
path: root/lib/rfq-last/table/rfq-table.tsx
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-09-04 08:31:31 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-09-04 08:31:31 +0000
commitb67e36df49f067cbd5ba899f9fbcc755f38d4b4f (patch)
tree5a71c5960f90d988cd509e3ef26bff497a277661 /lib/rfq-last/table/rfq-table.tsx
parentb7f54b06c1ef9e619f5358fb0a5caad9703c8905 (diff)
(대표님, 최겸, 임수민) 작업사항 커밋
Diffstat (limited to 'lib/rfq-last/table/rfq-table.tsx')
-rw-r--r--lib/rfq-last/table/rfq-table.tsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/rfq-last/table/rfq-table.tsx b/lib/rfq-last/table/rfq-table.tsx
index e8db116b..974662d9 100644
--- a/lib/rfq-last/table/rfq-table.tsx
+++ b/lib/rfq-last/table/rfq-table.tsx
@@ -271,16 +271,16 @@ export function RfqTable({
{ id: "vendorCount", label: "업체수", type: "number" },
{ id: "dueDate", label: "마감일", type: "date" },
{ id: "rfqSendDate", label: "발송일", type: "date" },
- ...(rfqCategory === "general" || rfqCategory === "all" ? [
+ ...(rfqCategory === "general" ? [
{ id: "rfqType", label: "견적 유형", type: "text" },
{ id: "rfqTitle", label: "견적 제목", type: "text" },
] as DataTableAdvancedFilterField<RfqsLastView>[] : []),
- ...(rfqCategory === "itb" || rfqCategory === "all" ? [
+ ...(rfqCategory === "itb" ? [
{ id: "projectCompany", label: "프로젝트 회사", type: "text" },
{ id: "projectSite", label: "프로젝트 사이트", type: "text" },
{ id: "smCode", label: "SM 코드", type: "text" },
] as DataTableAdvancedFilterField<RfqsLastView>[] : []),
- ...(rfqCategory === "rfq" || rfqCategory === "all" ? [
+ ...(rfqCategory === "rfq" ? [
{ id: "prNumber", label: "PR 번호", type: "text" },
{ id: "prIssueDate", label: "PR 발행일", type: "date" },
{
@@ -387,12 +387,12 @@ export function RfqTable({
)}
</Button>
- {rfqCategory !== "all" && (
+
<Badge variant="outline" className="text-sm">
{rfqCategory === "general" ? "일반견적" :
rfqCategory === "itb" ? "ITB" : "RFQ"}
</Badge>
- )}
+
</div>
<div className="flex items-center gap-4">