diff --git a/static/css/style.css b/static/css/style.css
index e056bda..404b164 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -1974,6 +1974,7 @@ input[type="checkbox"] {
border: 1px dashed #cbd5e1;
border-radius: 8px;
padding: 0.75rem;
+ margin-bottom: 1.5rem;
display: flex;
justify-content: space-between;
align-items: center;
diff --git a/static/index.html b/static/index.html
index 14cd0e5..a373be1 100644
--- a/static/index.html
+++ b/static/index.html
@@ -411,7 +411,7 @@
×
업로드 날짜 지정
-
발주 데이터의 주문 날짜로 입력될 날짜를 선택해주세요.
+
발주 데이터의 주문 날짜로 날짜를 선택해주세요.
diff --git a/static/js/app.js b/static/js/app.js
index 5500f7c..160bc8b 100644
--- a/static/js/app.js
+++ b/static/js/app.js
@@ -397,13 +397,21 @@ document.addEventListener('DOMContentLoaded', () => {
fileUpload.addEventListener('change', (e) => {
const files = e.target.files;
if (!files || files.length === 0) return;
-
+
pendingFiles = files;
- calendarActiveDate = new Date();
- calendarSelectedDate = null;
- btnSubmitUploadDate.disabled = true;
- selectedDateText.textContent = '선택 안 됨';
-
+
+ // 기본 선택값: 오늘 날짜 (사용자가 명시적으로 다시 고를 수도 있음)
+ const today = new Date();
+ const yyyy = today.getFullYear();
+ const mm = String(today.getMonth() + 1).padStart(2, '0');
+ const dd = String(today.getDate()).padStart(2, '0');
+ const weekdayNames = ["일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일"];
+
+ calendarActiveDate = new Date(yyyy, today.getMonth(), today.getDate());
+ calendarSelectedDate = `${yyyy}-${mm}-${dd}`;
+ selectedDateText.textContent = `${yyyy}년 ${today.getMonth() + 1}월 ${today.getDate()}일 (${weekdayNames[today.getDay()]})`;
+ btnSubmitUploadDate.disabled = false;
+
renderCalendar();
uploadDateModal.classList.add('show');
});