From 4fe733d7d9d3d873fa395133e9a42cf9fc8c44dc Mon Sep 17 00:00:00 2001 From: dujinkim Date: Wed, 24 Sep 2025 07:59:35 +0000 Subject: (최겸) 구매 피드백 반영(용어 수정, 견적유형, 조건설정, 첨부파일 선택사항 등) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../vendor/batch-update-conditions-dialog.tsx | 59 ++++++++--- lib/rfq-last/vendor/rfq-vendor-table.tsx | 118 +++++++++++++++------ lib/rfq-last/vendor/send-rfq-dialog.tsx | 9 +- lib/rfq-last/vendor/vendor-detail-dialog.tsx | 4 +- 4 files changed, 137 insertions(+), 53 deletions(-) (limited to 'lib/rfq-last/vendor') diff --git a/lib/rfq-last/vendor/batch-update-conditions-dialog.tsx b/lib/rfq-last/vendor/batch-update-conditions-dialog.tsx index af38ff45..893fd9a3 100644 --- a/lib/rfq-last/vendor/batch-update-conditions-dialog.tsx +++ b/lib/rfq-last/vendor/batch-update-conditions-dialog.tsx @@ -128,6 +128,7 @@ export function BatchUpdateConditionsDialog({ const [shippingOpen, setShippingOpen] = React.useState(false); const [destinationOpen, setDestinationOpen] = React.useState(false); const [calendarOpen, setCalendarOpen] = React.useState(false); + const [currencyOpen, setCurrencyOpen] = React.useState(false); // 체크박스로 각 필드 업데이트 여부 관리 const [fieldsToUpdate, setFieldsToUpdate] = React.useState({ @@ -381,7 +382,28 @@ export function BatchUpdateConditionsDialog({ {/* 기본 조건 설정 */} - 기본 조건 +
+ 기본 조건 + +
{/* 통화 */} @@ -405,11 +427,12 @@ export function BatchUpdateConditionsDialog({
- + + + {/* RFQ 발송 버튼 */} + + {/* Short List 확정 버튼 */} {rfqCode?.startsWith("I") && - - {/* 정보 일괄 입력 버튼 */} - - - {/* RFQ 발송 버튼 */} - )} @@ -1679,6 +1719,18 @@ export function RfqVendorTable({ }} /> )} + + {/* AVL 벤더 연동 다이얼로그 */} + { + setIsAvlDialogOpen(false); + router.refresh(); + }} + /> ); } \ No newline at end of file diff --git a/lib/rfq-last/vendor/send-rfq-dialog.tsx b/lib/rfq-last/vendor/send-rfq-dialog.tsx index 34777864..ed43d87f 100644 --- a/lib/rfq-last/vendor/send-rfq-dialog.tsx +++ b/lib/rfq-last/vendor/send-rfq-dialog.tsx @@ -653,10 +653,7 @@ export function SendRfqDialog({ return; } - if (selectedAttachments.length === 0) { - toast.warning("최소 하나 이상의 첨부파일을 선택해주세요."); - return; - } + // 첨부파일은 선택사항 - 없어도 발송 가능 // 재발송 업체 확인 const resendVendors = vendorsWithRecipients.filter(v => v.sendVersion && v.sendVersion > 0); @@ -1350,12 +1347,12 @@ export function SendRfqDialog({
-- cgit v1.2.3