From 7eb63ff664302b464a028bd44948c75e7bca4819 Mon Sep 17 00:00:00 2001 From: king Date: Fri, 28 Aug 2026 12:13:22 +0900 Subject: [PATCH] =?UTF-8?q?feat(cupang):=20=EB=93=B1=EB=A1=9D=20=EC=A0=9C?= =?UTF-8?q?=ED=92=88=EB=AA=85=20=ED=91=9C=20=EC=A0=95=EB=A0=AC=20+=20?= =?UTF-8?q?=EB=B0=95=EC=8A=A4=20=EC=9E=85=EC=88=98=EB=9F=89=20=EC=8B=9C?= =?UTF-8?q?=EB=93=9C=20SQL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 제품명/제품코드 헤더 클릭으로 오름·내림차순 토글. Intl.Collator(ko, numeric) 사용해 "미라네 2호"가 "미라네 10호"보다 앞에 오도록 정렬. 검색 비활성 상태에서도 동작하게 스크립트를 search_enabled 밖에 배치. 박스 입수량 14건(미라네 1~7호, 황토 김치통 1~7호) 시드 SQL 추가. 피킹비 전용 컬럼이 없어 memo 에 기록. Co-Authored-By: Claude Opus 5 --- .../cupang/templates/cupang/box_rules.html | 2 +- .../cupang/templates/cupang/centers.html | 2 +- .../cupang/templates/cupang/detail.html | 2 +- app/modules/cupang/templates/cupang/form.html | 2 +- .../cupang/templates/cupang/index.html | 2 +- .../cupang/templates/cupang/products.html | 54 +++++++++++++++++-- app/static/cupang.css | 21 ++++++++ scripts/sql/cupang_box_rules_seed.sql | 43 +++++++++++++++ 8 files changed, 118 insertions(+), 10 deletions(-) create mode 100644 scripts/sql/cupang_box_rules_seed.sql diff --git a/app/modules/cupang/templates/cupang/box_rules.html b/app/modules/cupang/templates/cupang/box_rules.html index 77ae755..44b7752 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 33d2c86..711a3a2 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 59b8b55..8c7e6c6 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 45f9560..69799e1 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 %}
diff --git a/app/modules/cupang/templates/cupang/index.html b/app/modules/cupang/templates/cupang/index.html index aff9227..1cc50dc 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 2331745..b41afad 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 %}
@@ -38,10 +38,17 @@ 폼의 제품명 드롭다운에 노출
- - + + + + + + + + + {% for p in products %} - + @@ -67,7 +74,7 @@ {% endfor %} {% if not products %} - + {% endif %}
제품명제품코드상태동작
상태동작
{{ p.product_name }} {{ p.product_code }} {% if p.active %}활성{% else %}비활성{% endif %}
등록된 제품명이 없습니다. 왼쪽에서 선택해 등록하세요.
등록된 제품명이 없습니다. 왼쪽에서 선택해 등록하세요.
@@ -77,6 +84,43 @@
+ + {% if search_enabled %}