diff --git a/app/modules/cupang/templates/cupang/box_calc.html b/app/modules/cupang/templates/cupang/box_calc.html index ad8e3b2..0010c26 100644 --- a/app/modules/cupang/templates/cupang/box_calc.html +++ b/app/modules/cupang/templates/cupang/box_calc.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
diff --git a/app/modules/cupang/templates/cupang/box_rules.html b/app/modules/cupang/templates/cupang/box_rules.html index dfb8e53..707d33d 100644 --- a/app/modules/cupang/templates/cupang/box_rules.html +++ b/app/modules/cupang/templates/cupang/box_rules.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
diff --git a/app/modules/cupang/templates/cupang/centers.html b/app/modules/cupang/templates/cupang/centers.html index 9a9badf..e4d1bb2 100644 --- a/app/modules/cupang/templates/cupang/centers.html +++ b/app/modules/cupang/templates/cupang/centers.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
diff --git a/app/modules/cupang/templates/cupang/index.html b/app/modules/cupang/templates/cupang/index.html index 01f85e8..9334a10 100644 --- a/app/modules/cupang/templates/cupang/index.html +++ b/app/modules/cupang/templates/cupang/index.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
diff --git a/app/modules/cupang/templates/cupang/products.html b/app/modules/cupang/templates/cupang/products.html index 9db77dc..54dc8f3 100644 --- a/app/modules/cupang/templates/cupang/products.html +++ b/app/modules/cupang/templates/cupang/products.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
diff --git a/app/modules/cupang/templates/cupang/view.html b/app/modules/cupang/templates/cupang/view.html index d707244..d382999 100644 --- a/app/modules/cupang/templates/cupang/view.html +++ b/app/modules/cupang/templates/cupang/view.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %} {# 출고 묶음 보기 — 상자 계산 화면과 같은 3열 구성. 읽기 전용(수정 없음). #} @@ -49,7 +49,8 @@

② 상자 목록

상자마다 담긴 제품과 수량 - 체크 0/{{ box_list|length }} + 엑셀 다운로드
@@ -86,7 +87,7 @@ {% for b in box_list %} {% for it in b['items'] %} - + {% if loop.first %} {{ b.no }} {% endif %} @@ -165,4 +166,41 @@
+ + {% endblock %} diff --git a/app/static/cupang.css b/app/static/cupang.css index b4bb3ed..8dbb922 100644 --- a/app/static/cupang.css +++ b/app/static/cupang.css @@ -1400,7 +1400,17 @@ body.cpg-dragging { cursor: grabbing; user-select: none; } /* 출고 보기(읽기 전용) — ③ 하단 메타 정보 */ /* ── 출고 보기 ② 상자 목록 — 상자번호 · 제품명 · 제품코드 · 수량 ── */ -.cpg-boxno-dl { margin-left: auto; font-size: 12px; padding: 4px 10px; } +.cpg-boxno-dl { + font-size: 12px; padding: 4px 10px; + background: #217346; border-color: #217346; color: #fff; +} +.cpg-boxno-dl:hover { background: #1a5c38; border-color: #1a5c38; color: #fff; } +.cpg-boxno-count { + margin-left: auto; + font-size: 12px; color: var(--color-midtone-gray); + font-family: var(--font-geist-mono); +} +.cpg-boxno-count.is-on { color: #217346; font-weight: 700; } .cpg-boxno-table { table-layout: fixed; width: 100%; } .cpg-boxno-table th, .cpg-boxno-table td { box-sizing: border-box; @@ -1412,8 +1422,10 @@ body.cpg-dragging { cursor: grabbing; user-select: none; } .cpg-boxno-table thead th { position: sticky; top: 0; z-index: 2; background: var(--color-ghost-gray); + overflow: visible; text-overflow: clip; /* 머리글은 줄여 쓰지 않는다 */ + padding-left: 6px; padding-right: 6px; } -.cpg-boxno-c-no { width: 66px; } +.cpg-boxno-c-no { width: 74px; } .cpg-boxno-c-name { width: auto; } .cpg-boxno-c-code { width: 92px; } .cpg-boxno-c-qty { width: 58px; } @@ -1425,6 +1437,15 @@ body.cpg-dragging { cursor: grabbing; user-select: none; } } .cpg-boxno-code { color: var(--color-midtone-gray); font-family: var(--font-geist-mono); } .cpg-boxno-table tbody tr.is-boxtop td { border-top: 1px solid var(--color-cloud-gray); } +.cpg-boxno-table tbody tr { cursor: pointer; } +.cpg-boxno-table tbody tr:hover td { background: var(--color-ghost-gray); } +/* 클릭 = 셌다는 표시. 상자 단위로 함께 켜진다. */ +.cpg-boxno-table tbody tr.is-checked td { + background: #d8efe0; + color: #12502f; +} +.cpg-boxno-table tbody tr.is-checked .cpg-boxno-cell { color: #217346; } +.cpg-boxno-table tbody tr.is-checked .cpg-boxno-code { color: #2f7a55; } .cpg-view-meta { margin: 12px 0 0; padding: 10px 12px;