summaryrefslogtreecommitdiff
path: root/lib/bidding/detail/table/bidding-detail-content.tsx
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-09-08 10:29:19 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-09-08 10:29:19 +0000
commitf93493f68c9f368e10f1c3379f1c1384068e3b14 (patch)
treea9dada58741750fa7ca6e04b210443ad99a6bccc /lib/bidding/detail/table/bidding-detail-content.tsx
parente832a508e1b3c531fb3e1b9761e18e1b55e3d76a (diff)
(대표님, 최겸) rfqLast, bidding, prequote
Diffstat (limited to 'lib/bidding/detail/table/bidding-detail-content.tsx')
-rw-r--r--lib/bidding/detail/table/bidding-detail-content.tsx15
1 files changed, 3 insertions, 12 deletions
diff --git a/lib/bidding/detail/table/bidding-detail-content.tsx b/lib/bidding/detail/table/bidding-detail-content.tsx
index 50f0941e..91bea2f4 100644
--- a/lib/bidding/detail/table/bidding-detail-content.tsx
+++ b/lib/bidding/detail/table/bidding-detail-content.tsx
@@ -7,13 +7,11 @@ import { QuotationDetails, QuotationVendor } from '@/lib/bidding/detail/service'
import { BiddingDetailVendorTableContent } from './bidding-detail-vendor-table'
import { BiddingDetailItemsDialog } from './bidding-detail-items-dialog'
import { BiddingDetailTargetPriceDialog } from './bidding-detail-target-price-dialog'
-import { BiddingDetailSelectionReasonDialog } from './bidding-detail-selection-reason-dialog'
interface BiddingDetailContentProps {
bidding: Bidding
quotationDetails: QuotationDetails | null
quotationVendors: QuotationVendor[]
- biddingCompanies: any[]
prItems: any[]
}
@@ -21,13 +19,13 @@ export function BiddingDetailContent({
bidding,
quotationDetails,
quotationVendors,
- biddingCompanies,
prItems
}: BiddingDetailContentProps) {
const [dialogStates, setDialogStates] = React.useState({
items: false,
targetPrice: false,
- selectionReason: false
+ selectionReason: false,
+ award: false
})
const [refreshTrigger, setRefreshTrigger] = React.useState(0)
@@ -50,11 +48,11 @@ export function BiddingDetailContent({
biddingId={bidding.id}
bidding={bidding}
vendors={quotationVendors}
- biddingCompanies={biddingCompanies}
onRefresh={handleRefresh}
onOpenItemsDialog={() => openDialog('items')}
onOpenTargetPriceDialog={() => openDialog('targetPrice')}
onOpenSelectionReasonDialog={() => openDialog('selectionReason')}
+ onOpenAwardDialog={() => openDialog('award')}
onEdit={undefined}
onDelete={undefined}
onSelectWinner={undefined}
@@ -74,13 +72,6 @@ export function BiddingDetailContent({
bidding={bidding}
onSuccess={handleRefresh}
/>
-
- <BiddingDetailSelectionReasonDialog
- open={dialogStates.selectionReason}
- onOpenChange={(open) => closeDialog('selectionReason')}
- bidding={bidding}
- onSuccess={handleRefresh}
- />
</div>
)
}