From 87b49abb715ded224cfd2ec7402877a5e34c5d74 Mon Sep 17 00:00:00 2001 From: king Date: Sat, 29 Aug 2026 03:37:48 +0900 Subject: [PATCH] =?UTF-8?q?feat(cupang):=20=EC=84=BC=ED=84=B0=20=EC=A6=89?= =?UTF-8?q?=EC=8B=9C=20=EC=B6=94=EA=B0=80=C2=B7=EB=8C=80=ED=99=94=EC=83=81?= =?UTF-8?q?=EC=9E=90=20=EC=84=BC=ED=84=B0=20=EB=B2=84=ED=8A=BC=20=EC=84=A0?= =?UTF-8?q?=ED=83=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - ③ 센터 분배: 목록에서 센터를 고르는 즉시 추가된다. "+ 센터 추가" 버튼 제거. 고른 뒤 선택값을 비워 같은 센터를 다시 고를 수 있게 한다. - 담기 대화상자: 센터 select 를 추가된 센터 버튼 목록으로 바꿔 한 번에 대상을 고른다(현재 대상은 검은 버튼 + aria-pressed). tests/js: 센터 추가를 change 이벤트로, 대화상자 센터 버튼 표시·전환· 선택한 센터로 담기는지까지 검증. 전체 통과. Co-Authored-By: Claude Opus 5 --- .../cupang/templates/cupang/box_calc.html | 47 +++++++++++++------ .../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 | 2 +- app/static/cupang.css | 12 ++++- tests/js/box_calc_ui.test.js | 27 +++++++++-- 9 files changed, 73 insertions(+), 25 deletions(-) diff --git a/app/modules/cupang/templates/cupang/box_calc.html b/app/modules/cupang/templates/cupang/box_calc.html index 777c6ec..8cf4a2f 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 %}
@@ -87,13 +87,13 @@ 등록된 입고센터가 없습니다. 입고센터 관리에서 먼저 센터를 추가하세요.

{% else %} -
- + {% for c in centers %} {% endfor %} -

추가한 센터가 여기에 표시됩니다.

@@ -108,8 +108,8 @@