diff --git a/app/modules/cupang/templates/cupang/box_rules.html b/app/modules/cupang/templates/cupang/box_rules.html index 783efb5..66d1108 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 %}
@@ -9,15 +9,17 @@ ◀◀ 달력 - -
+
+ + +

박스 입수량 추가 / 수정

- 같은 제품코드는 덮어씁니다. 쿠팡박스 1박스당 들어가는 수량. + 같은 제품코드는 덮어씁니다.
-
+
+ + + + + +
@@ -41,24 +46,24 @@ {% if not products %}

설정에서 제품명을 먼저 등록하면 드롭다운에 표시됩니다.

{% endif %} + +
- - - -
+ +

입수량 규칙 ({{ box_rules|length }})

@@ -89,5 +94,7 @@ + + {% endblock %} diff --git a/app/modules/cupang/templates/cupang/centers.html b/app/modules/cupang/templates/cupang/centers.html index bfd5c6c..1e02ee6 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/detail.html b/app/modules/cupang/templates/cupang/detail.html index c4afea1..ef160a0 100644 --- a/app/modules/cupang/templates/cupang/detail.html +++ b/app/modules/cupang/templates/cupang/detail.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/form.html b/app/modules/cupang/templates/cupang/form.html index 1a54dc4..fae0be9 100644 --- a/app/modules/cupang/templates/cupang/form.html +++ b/app/modules/cupang/templates/cupang/form.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
@@ -118,4 +118,4 @@ {% endblock %} -{% block scripts %}{% endblock %} +{% block scripts %}{% endblock %} diff --git a/app/modules/cupang/templates/cupang/index.html b/app/modules/cupang/templates/cupang/index.html index 4b125ae..3bd7faf 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 a4c1aca..c4d55ac 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/static/cupang.css b/app/static/cupang.css index afb8aa2..eacf321 100644 --- a/app/static/cupang.css +++ b/app/static/cupang.css @@ -239,6 +239,28 @@ .cpg-src-item.cpg-registered .cpg-src-code { color: #d4d4d4; } .cpg-src-item.cpg-registered:hover { background: #3a3a3a; } +/* ── 박스 입수량 (좌: 추가/수정 480 / 우: 목록 900) ── */ +.cpg-brule-layout { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; } +.cpg-brule-add { flex: 0 0 480px; width: 480px; min-width: 0; margin-bottom: 0; } +.cpg-brule-list { flex: 0 0 900px; width: 900px; min-width: 0; margin-bottom: 0; } +@media (max-width: 1420px) { .cpg-brule-list { flex-basis: auto; width: 100%; } } +@media (max-width: 540px) { .cpg-brule-add { flex-basis: 100%; width: 100%; } } + +.cpg-brule-fields { display: flex; flex-wrap: wrap; gap: 12px 16px; } +/* 제품명·제품코드·박스이름 140px 고정 (erp.css min-width:240 오버라이드) */ +.cpg .cpg-brule-fields .erp-field > .erp-input, +.cpg .cpg-brule-fields .erp-field > .erp-select { + width: 140px; min-width: 140px; max-width: 140px; box-sizing: border-box; +} +/* 박스당 입수량 60px + "개" */ +.cpg-upb-wrap { display: inline-flex; align-items: center; gap: 4px; } +.cpg .cpg-brule-fields .cpg-upb-wrap > .cpg-brule-upb { + width: 60px; min-width: 60px; max-width: 60px; box-sizing: border-box; +} +.cpg-upb-unit { font-size: 13px; color: var(--color-midtone-gray); } +/* 메모는 넓게 */ +.cpg .cpg-brule-fields .cpg-brule-memo { width: 300px; min-width: 300px; max-width: 300px; } + /* ── 상품 검색 드롭다운 ── */ .cpg-search-pop { position: absolute; z-index: 50; diff --git a/app/templates/erp_base.html b/app/templates/erp_base.html index 1f3c17e..23f9c4c 100644 --- a/app/templates/erp_base.html +++ b/app/templates/erp_base.html @@ -4,8 +4,8 @@ {{ page_title or "ERP" }} — DBX Corporation - - + + {% block head_extra %}{% endblock %}