summaryrefslogtreecommitdiff
path: root/lib/bidding/detail/table/bidding-detail-vendor-columns.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bidding/detail/table/bidding-detail-vendor-columns.tsx')
-rw-r--r--lib/bidding/detail/table/bidding-detail-vendor-columns.tsx25
1 files changed, 1 insertions, 24 deletions
diff --git a/lib/bidding/detail/table/bidding-detail-vendor-columns.tsx b/lib/bidding/detail/table/bidding-detail-vendor-columns.tsx
index 3b42cc88..782c5f7a 100644
--- a/lib/bidding/detail/table/bidding-detail-vendor-columns.tsx
+++ b/lib/bidding/detail/table/bidding-detail-vendor-columns.tsx
@@ -6,7 +6,7 @@ import { Checkbox } from "@/components/ui/checkbox"
import { Badge } from "@/components/ui/badge"
import { Button } from "@/components/ui/button"
import {
- MoreHorizontal, Edit, Trash2, Trophy
+ MoreHorizontal
} from "lucide-react"
import {
DropdownMenu,
@@ -20,8 +20,6 @@ import { QuotationVendor } from "@/lib/bidding/detail/service"
interface GetVendorColumnsProps {
onEdit: (vendor: QuotationVendor) => void
- onDelete: (vendor: QuotationVendor) => void
- onSelectWinner: (vendor: QuotationVendor) => void
onViewPriceAdjustment?: (vendor: QuotationVendor) => void
onViewItemDetails?: (vendor: QuotationVendor) => void
onSendBidding?: (vendor: QuotationVendor) => void
@@ -30,9 +28,6 @@ interface GetVendorColumnsProps {
export function getBiddingDetailVendorColumns({
onEdit,
- onDelete,
- onSelectWinner,
- onViewPriceAdjustment,
onViewItemDetails,
onSendBidding,
onUpdateParticipation
@@ -182,17 +177,6 @@ export function getBiddingDetailVendorColumns({
<span className="text-xs text-muted-foreground ml-2">(입찰참여 필요)</span>
)}
</DropdownMenuItem>
- {vendor.status !== 'selected' && (
- <DropdownMenuItem
- onClick={() => onSelectWinner(vendor)}
- disabled={vendor.isBiddingParticipated !== true}
- >
- 낙찰 선정
- {vendor.isBiddingParticipated !== true && (
- <span className="text-xs text-muted-foreground ml-2">(입찰참여 필요)</span>
- )}
- </DropdownMenuItem>
- )}
{/* 입찰 참여여부 관리 */}
{vendor.isBiddingParticipated === null && onUpdateParticipation && (
@@ -217,13 +201,6 @@ export function getBiddingDetailVendorColumns({
</>
)}
- <DropdownMenuSeparator />
- <DropdownMenuItem
- onClick={() => onDelete(vendor)}
- className="text-destructive"
- >
- 삭제
- </DropdownMenuItem>
</DropdownMenuContent>
</DropdownMenu>
)