feat(inout): 옵션 상품 정보 탭 — 단가·무게(PP)·은 함유량, 발주서·메일 금액, 입고 담당 화면 줄이기
- 마이그레이션 004: inout_products(단가·개당 무게 g·은 함유량 %), inout_products_excluded(지운 단품), inout_order_lines 에 발주할 때 값 사본(unit_price·weight_g·silver_pct) - 옵션 → 상품 정보: [단품 불러오기](값을 넣은 상품은 그대로, 지운 단품은 다음에도 빠짐), 바뀐 줄만 저장, 은 g = 무게 × % 자동, 지우기·되살리기 - 상품 정보가 있으면 발주서 제품은 그 목록에서(단가 함께), 금액 = 수량 × 단가 실시간 합계 - 발주서 화면(발주 담당)·발주 메일에 단가·금액·PP(g/개)·은 함유량과 합계(금액·PP kg·은 g) - 입고 담당(발주 담당 아님)은 품목을 제품 이름·발주 수량(+ 이번 입고)만, 입고 기록 칩도 이름 - 고침: 그날 100번째 발주서부터 번호가 겹치던 문제(순번 숫자 비교), 시각을 DB 시간대와 무관하게 KST 로 읽음 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -250,3 +250,30 @@
|
||||
@media (max-width: 900px) {
|
||||
.io-mail-fields { grid-template-columns: 1fr; }
|
||||
}
|
||||
|
||||
/* ── 상품 정보 탭(004) — 단가·무게(PP)·은 함유량 ── */
|
||||
.io-prod-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
|
||||
.io-prod-search { width: 220px; }
|
||||
.io-prod-scroll { max-height: min(440px, calc(100vh - 340px)); overflow-y: auto; border: 1px solid var(--color-subtle-ash); border-radius: 8px; }
|
||||
.io-prod-table thead th { position: sticky; top: 0; z-index: 1; background: #fafbfc; }
|
||||
.io-prod-table col.w-code { width: 128px; }
|
||||
.io-prod-table col.w-num { width: 120px; }
|
||||
.io-prod-table col.w-ag { width: 92px; }
|
||||
.io-prod-table col.w-del { width: 44px; }
|
||||
.io-prod-table th.io-r, .io-r { text-align: right; }
|
||||
.io-prod-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.io-ag { color: var(--color-midtone-gray); font-variant-numeric: tabular-nums; }
|
||||
.io-prod-table tr.is-dirty td { background: #fff8e1; }
|
||||
.io-icon-btn { width: 26px; height: 26px; padding: 0; border: 0; border-radius: 6px; background: none; color: #8a8b8c; font-size: 13px; cursor: pointer; }
|
||||
.io-icon-btn:hover { background: #fbe9e6; color: #a1261b; }
|
||||
.io-excluded { margin-top: 12px; font-size: 13px; }
|
||||
.io-excluded summary { cursor: pointer; color: var(--color-midtone-gray); }
|
||||
.io-excluded ul { margin: 8px 0 0; padding: 0; list-style: none; }
|
||||
.io-excluded li { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--color-subtle-ash); }
|
||||
.io-excluded li .io-link-btn { margin-left: auto; }
|
||||
/* 발주서 단가·금액 칸 */
|
||||
.io-col-money { width: 110px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
|
||||
.io-col-spec { width: 96px; white-space: nowrap; font-variant-numeric: tabular-nums; }
|
||||
.io-table tfoot .io-total-row td { background: #fafbfc; font-weight: 500; border-top: 1px solid var(--color-subtle-ash); }
|
||||
.io-suggest-price { float: right; margin-left: 12px; color: var(--color-midtone-gray); font-size: 12px; font-variant-numeric: tabular-nums; }
|
||||
.io-table th.io-col-money, .io-table th.io-col-spec { text-align: right; }
|
||||
|
||||
Reference in New Issue
Block a user