From 2fc9e5492e220041ba322d9a1479feb7803228cf Mon Sep 17 00:00:00 2001 From: dujinkim Date: Wed, 29 Oct 2025 06:20:56 +0000 Subject: (최겸) 구매 PQ수정, 정규업체 결재 개발(진행중) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/vendor-regular-registrations/service.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'lib/vendor-regular-registrations/service.ts') diff --git a/lib/vendor-regular-registrations/service.ts b/lib/vendor-regular-registrations/service.ts index e163b147..372212fc 100644 --- a/lib/vendor-regular-registrations/service.ts +++ b/lib/vendor-regular-registrations/service.ts @@ -1238,11 +1238,8 @@ export async function submitRegistrationRequest( console.log('✅ MDG 송신 성공:', mdgResult.message); } - // TODO: Knox 결재 연동 - // - 사업자등록증, 신용평가보고서, 개인정보동의서, 통장사본 - // - 실사결과 보고서 - // - CP문서, GTC문서, 비밀유지계약서 - // await initiateKnoxApproval(registrationRequestData); + // Knox 결재 연동은 별도의 결재 워크플로우에서 처리됩니다. + // UI에서 registerVendorWithApproval()을 호출하여 결재 프로세스를 시작합니다. console.log("✅ 정규업체 등록 요청 데이터:", { registrationId, @@ -1260,7 +1257,7 @@ export async function submitRegistrationRequest( return { success: true, - message: `정규업체 등록 요청이 성공적으로 제출되었습니다.\n${mdgResult.success ? 'MDG 인터페이스 연동이 완료되었습니다.' : 'MDG 인터페이스 연동에 실패했습니다. (재시도 가능)'}\nKnox 결재 시스템 연동은 추후 구현 예정입니다.` + message: `정규업체 등록 요청이 성공적으로 제출되었습니다.\n${mdgResult.success ? 'MDG 인터페이스 연동이 완료되었습니다.' : 'MDG 인터페이스 연동에 실패했습니다. (재시도 가능)'}\n결재 승인 후 정규업체 등록이 완료됩니다.` }; } catch (error) { @@ -1406,6 +1403,7 @@ export async function sendRegistrationRequestToMDG( }; // MDG로 데이터 전송 + console.log('📤 MDG 송신 데이터:', mdgData); const result = await sendTestVendorDataToMDG(mdgData); console.log('📤 MDG 송신 결과:', result); -- cgit v1.2.3