summaryrefslogtreecommitdiff
path: root/lib/techsales-rfq/vendor-response/detail/quotation-response-tab.tsx
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-06-25 08:44:24 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-06-25 08:44:24 +0000
commit2a60945bf9eb50cd5cb28d7d3782290f92879361 (patch)
treecacbd593430cedd27f6e8041c8344901ba98076e /lib/techsales-rfq/vendor-response/detail/quotation-response-tab.tsx
parentb30f5f1ef4b1167d955ac5e9f4c4a4c393b58436 (diff)
(최겸) 기술영업 rfq 첨부 오류 수정 0625
Diffstat (limited to 'lib/techsales-rfq/vendor-response/detail/quotation-response-tab.tsx')
-rw-r--r--lib/techsales-rfq/vendor-response/detail/quotation-response-tab.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/techsales-rfq/vendor-response/detail/quotation-response-tab.tsx b/lib/techsales-rfq/vendor-response/detail/quotation-response-tab.tsx
index 20b2703c..0425ccc9 100644
--- a/lib/techsales-rfq/vendor-response/detail/quotation-response-tab.tsx
+++ b/lib/techsales-rfq/vendor-response/detail/quotation-response-tab.tsx
@@ -17,6 +17,7 @@ import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@
import { Alert, AlertDescription } from "@/components/ui/alert"
import { formatDate, cn } from "@/lib/utils"
import { toast } from "sonner"
+import { useSession } from "next-auth/react"
interface QuotationResponseTabProps {
quotation: {
@@ -75,6 +76,7 @@ export function QuotationResponseTab({ quotation }: QuotationResponseTabProps) {
}>>([])
const [isUploadingFiles, setIsUploadingFiles] = useState(false)
const router = useRouter()
+ const session = useSession()
// // 초기 첨부파일 데이터 로드
// useEffect(() => {
@@ -175,7 +177,7 @@ export function QuotationResponseTab({ quotation }: QuotationResponseTabProps) {
validUntil: validUntil!,
remark,
attachments: uploadedFiles,
- updatedBy: 1 // TODO: 실제 사용자 ID로 변경
+ updatedBy: parseInt(session.data?.user.id || "0")
})
if (result.error) {