summaryrefslogtreecommitdiff
path: root/lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-09-24 08:01:37 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-09-24 08:01:37 +0000
commit1bda7f20f113737f4af32495e7ff24f6022dc283 (patch)
treeadc6e61ff9b546b277804c82bc6ca24db0347fd6 /lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx
parent4fe733d7d9d3d873fa395133e9a42cf9fc8c44dc (diff)
(최겸) 구매 피드백 반영(품목 납기일 일괄설정, 마감일 기본값 설정 등)
Diffstat (limited to 'lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx')
-rw-r--r--lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx b/lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx
index c6e81f32..6da704cd 100644
--- a/lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx
+++ b/lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx
@@ -297,7 +297,9 @@ export default function VendorResponseEditor({
await uploadPromise
toast.success(isSubmit ? "견적서가 제출되었습니다." : "견적서가 저장되었습니다.")
- router.push('/partners/rfq-last')
+ if (isSubmit) {
+ router.push('/partners/rfq-last')
+ }
router.refresh()
} catch (error) {
console.error('Submit error:', error) // 더 상세한 에러 로깅