feat(WEB): 수입검사 관리 대폭 개선, 캘린더 DayTimeView 추가 및 출고 기능 보완

- 수입검사: InspectionCreate/Detail/List 대폭 개선, OrderSelectModal/문서 컴포넌트 신규 추가
- 수입검사: actions/types/mockData/inspectionConfig 전면 리팩토링
- QMS: InspectionModalV2/ImportInspectionDocument 개선
- 캘린더: DayTimeView 신규 추가, CalendarHeader/ScheduleCalendar/utils 확장
- 출고: ShipmentDetail/List/actions 개선, ShipmentOrderDocument/ShippingSlip 수정

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
유병철
2026-02-02 16:46:52 +09:00
parent 1a69324d59
commit ca6247286a
28 changed files with 4195 additions and 1776 deletions

View File

@@ -345,6 +345,41 @@ export function assignGlobalEventRows(events: ScheduleEvent[]): Map<string, numb
return rowMap;
}
/**
* 다음 날로 이동
*/
export function getNextDay(date: Date): Date {
return addDays(date, 1);
}
/**
* 이전 날로 이동
*/
export function getPrevDay(date: Date): Date {
return addDays(date, -1);
}
/**
* 다음 주로 이동
*/
export function getNextWeek(date: Date): Date {
return addDays(date, 7);
}
/**
* 이전 주로 이동
*/
export function getPrevWeek(date: Date): Date {
return addDays(date, -7);
}
/**
* 년월일 포맷 (예: "2026년 2월 2일 (월)")
*/
export function formatYearMonthDay(date: Date): string {
return format(date, 'yyyy년 M월 d일 (EEE)', { locale: ko });
}
/**
* 월간 뷰에서 주 단위로 날짜 분할
*/