summaryrefslogtreecommitdiff
path: root/components/form-data
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-07-28 11:44:16 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-07-28 11:44:16 +0000
commitc228a89c2834ee63b209bad608837c39643f350e (patch)
tree39c9a121b556af872072dd80750dedf2d2d62335 /components/form-data
parent50ae0b8f02c034e60d4cbb504620dfa1575a836f (diff)
(대표님) 의존성 docx 추가, basicContract API, gtc(계약일반조건), 벤더평가 esg 평가데이터 내보내기 개선, S-EDP 피드백 대응(CLS_ID, ITEM NO 등)
Diffstat (limited to 'components/form-data')
-rw-r--r--components/form-data/import-excel-form.tsx6
1 files changed, 6 insertions, 0 deletions
diff --git a/components/form-data/import-excel-form.tsx b/components/form-data/import-excel-form.tsx
index 82c7afc8..e3ac9e0e 100644
--- a/components/form-data/import-excel-form.tsx
+++ b/components/form-data/import-excel-form.tsx
@@ -53,6 +53,12 @@ interface GenericData {
* Create error sheet with import validation results
*/
function createImportErrorSheet(workbook: ExcelJS.Workbook, errors: ImportError[], headerErrors?: string[]) {
+
+ const existingErrorSheet = workbook.getWorksheet("Import_Errors");
+ if (existingErrorSheet) {
+ workbook.removeWorksheet("Import_Errors");
+ }
+
const errorSheet = workbook.addWorksheet("Import_Errors");
// Add header error section if exists