summaryrefslogtreecommitdiff
path: root/lib/bidding/selection/vendor-selection-table.tsx
diff options
context:
space:
mode:
authorjoonhoekim <26rote@gmail.com>2025-12-04 21:02:10 +0900
committerjoonhoekim <26rote@gmail.com>2025-12-04 21:02:10 +0900
commit240f4f31b3b6ff6a46436978fb988588a1972721 (patch)
treedbf81b022d861cb077e84a10b913c26fd064db8b /lib/bidding/selection/vendor-selection-table.tsx
parent5699e866201566366981ae8399a835fc7fa9fa47 (diff)
parentae211e5b9d9bf8e1566b78a85ec4522360833ea9 (diff)
(김준회) Merge branch 'dujinkim' of https://github.com/DTS-Development/SHI_EVCP into dujinkim
Diffstat (limited to 'lib/bidding/selection/vendor-selection-table.tsx')
-rw-r--r--lib/bidding/selection/vendor-selection-table.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/bidding/selection/vendor-selection-table.tsx b/lib/bidding/selection/vendor-selection-table.tsx
index 8570b5b6..40f13ec1 100644
--- a/lib/bidding/selection/vendor-selection-table.tsx
+++ b/lib/bidding/selection/vendor-selection-table.tsx
@@ -10,9 +10,10 @@ interface VendorSelectionTableProps {
biddingId: number
bidding: Bidding
onRefresh: () => void
+ readOnly?: boolean
}
-export function VendorSelectionTable({ biddingId, bidding, onRefresh }: VendorSelectionTableProps) {
+export function VendorSelectionTable({ biddingId, bidding, onRefresh, readOnly = false }: VendorSelectionTableProps) {
const [vendors, setVendors] = React.useState<any[]>([])
const [loading, setLoading] = React.useState(true)
@@ -59,6 +60,7 @@ export function VendorSelectionTable({ biddingId, bidding, onRefresh }: VendorSe
vendors={vendors}
onRefresh={onRefresh}
onOpenSelectionReasonDialog={() => {}}
+ readOnly={readOnly}
/>
</CardContent>
</Card>