feat(performance): upload manual-input sales from an Excel file
- [엑셀 업로드] button on the daily x marketplace table opens a popup with a sample download (module upload_sample.xlsx) and a file picker - Format: column 1 = date, columns 2+ = marketplace names as headers (setting name / short name / code, spaces and case ignored) - Only filled cells of marketplaces with manual input ON are saved (overwrite same day, blank cells keep existing values); other columns are skipped and reported - Any bad cell (not a number, unreadable/future date, duplicate day) rejects the whole file with cell references; saving is one transaction - Ignore Excel lock files (~$*) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -75,6 +75,12 @@ a.perf-seg.is-active, a.perf-seg.is-active:link, a.perf-seg.is-active:visited {
|
||||
.perf-notice[hidden] { display: none; }
|
||||
.perf-notice.is-warn { background: #fff7f5; border-color: #f3d2ca; }
|
||||
.perf-notice.is-ok { background: #f3fbf5; border-color: #cdeccf; }
|
||||
/* 수동 입력 엑셀 업로드 — 버튼은 표시 기준 버튼 바로 왼쪽, 창 안 파일 칸·오류 목록 */
|
||||
.perf-manual-upload-btn { margin-left: auto; }
|
||||
.perf-upload-file { width: 100%; box-sizing: border-box; }
|
||||
.perf-upload-result { margin-top: 10px; }
|
||||
.perf-upload-result .perf-notice { margin: 0; display: block; line-height: 1.6; }
|
||||
.perf-upload-errors { margin: 6px 0 0; padding-left: 18px; max-height: 220px; overflow-y: auto; font-size: 12px; line-height: 1.6; color: #b42318; }
|
||||
.perf-problem { padding: 1px 8px; border-radius: 999px; background: #fbe9e6; color: var(--perf-down); font-weight: 500; }
|
||||
|
||||
/* KPI */
|
||||
|
||||
Reference in New Issue
Block a user