feat(inout): 박스 입수·파렛트 계산·상품 그룹 탭·달력 다시 그리기 줄임

- 옵션 상품 그룹을 별도 탭으로, 상품 정보 제목 행 가운데·굵게·110%
- 상품 정보에 통 수량(박스)·뚜껑 수량(박스)(마이그레이션 007, 뚜껑 없으면 빈칸)
- 새 발주서: 줄마다 통·뚜껑 박스 수와 공배수 힌트, 합계 박스 → 파렛트(30박스) 계산
  (화면 계산만, 발주 메일은 그대로)
- 메뉴를 옮겨도 달력은 sessionStorage 에서 바로 복원, 서버 값이 바뀔 때만 다시 그림

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-21 15:13:47 +09:00
parent 16515e9095
commit cc68d5be67
16 changed files with 315 additions and 45 deletions
+21 -3
View File
@@ -126,7 +126,7 @@
.io-factory-who { display: block; font-size: 12px; color: var(--color-midtone-gray); margin-top: 2px; }
/* 옵션 팝업 */
.io-dlg { width: min(1180px, calc(100vw - 40px)); max-height: min(760px, calc(100vh - 40px)); padding: 0; border: 1px solid var(--color-subtle-ash);
.io-dlg { width: min(1440px, calc(100vw - 40px)); max-height: min(760px, calc(100vh - 40px)); padding: 0; border: 1px solid var(--color-subtle-ash);
border-radius: 12px; box-shadow: 0 12px 40px rgba(0, 0, 0, .2); color: var(--color-rich-black); overflow: hidden; }
.io-dlg[open] { display: flex; flex-direction: column; }
.io-dlg:focus { outline: none; }
@@ -411,8 +411,6 @@
.io-swatch.is-none { background: #fff !important; border-style: dashed; border-color: #b9bdc3; }
.io-color { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.io-color .io-color-select { width: auto; min-width: 96px; }
.io-groups { margin: 12px 20px 0; border: 1px solid #e6e8eb; border-radius: 10px; padding: 8px 10px; background: #fbfbfc; }
.io-groups > summary { cursor: pointer; font-weight: 600; font-size: 13px; padding: 2px 0 6px; }
.io-group-table col.w-gname { width: auto; }
.io-group-table col.w-num { width: 120px; }
.io-group-table col.w-color { width: 170px; }
@@ -427,3 +425,23 @@
.io-prod-table tr.is-grouped .io-group-val { display: inline-flex; }
.io-prod-table tr.is-grouped .io-group-val.io-r { display: block; padding-right: 9px; font-variant-numeric: tabular-nums; }
.io-prod-table tr.is-grouped td:has(> .io-group-val) { background: #f6f8fb; }
/* ── 옵션 → 상품 정보: 제목 행 가운데·110%·굵게, 통·뚜껑 박스 입수 열(2026-10-21, 007). 그룹은 따로 "상품 그룹" 탭 ── */
.io-prod-table thead th, .io-prod-table thead th.io-r { text-align: center; font-size: 13.2px; /* 예전 제목 12px × 110% */ font-weight: 700; color: var(--color-rich-black, #1d1d1f); }
.io-prod-table col.w-box { width: 96px; }
.io-prod-table col.w-num { width: 108px; }
.io-prod-table col.w-group { width: 120px; }
.io-prod-table col.w-color { width: 140px; }
.io-dlg-pane[data-pane="groups"] .io-group-table { margin-top: 12px; }
/* ── 새 발주서: 통·뚜껑 박스·파렛트(2026-10-21, 007) — 화면 계산만 ── */
.io-lines .io-col-box { min-width: 190px; white-space: normal !important; font-size: 12.5px; }
.io-box-main b { font-variant-numeric: tabular-nums; }
.io-box-hint { margin-top: 2px; font-size: 11.5px; color: var(--color-midtone-gray, #666); display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.io-box-ok { color: #1e7a34; font-weight: 600; }
.io-box-pick { border: 1px solid #cfe0fb; background: #f0f6ff; color: #1d4f91; border-radius: 6px; padding: 0 6px; height: 20px; font-size: 11.5px; cursor: pointer; }
.io-box-pick:hover { background: #dce9ff; }
.io-pallet { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: 13px; }
.io-pallet b { font-variant-numeric: tabular-nums; }
.io-pallet-main { font-size: 14px; font-weight: 600; }
.io-pallet-main b { font-size: 16px; color: #1d4f91; }