From 2a2c436013c7add2e04171c89fa9e8c35feaa1dc Mon Sep 17 00:00:00 2001 From: king Date: Mon, 19 Oct 2026 14:13:57 +0900 Subject: [PATCH] =?UTF-8?q?style(inout):=20=EC=9E=85=EA=B3=A0=20=EC=A4=84?= =?UTF-8?q?=20=EB=B2=84=ED=8A=BC=C2=B7=EC=9E=85=EB=A0=A5=EC=B9=B8=20?= =?UTF-8?q?=EB=86=92=EC=9D=B4=2034px=20=ED=86=B5=EC=9D=BC=20=C2=B7=20[?= =?UTF-8?q?=EC=9E=85=EA=B3=A0=EC=A6=9D=20=EC=97=85=EB=A1=9C=EB=93=9C]=20?= =?UTF-8?q?=EC=9D=B4=EB=A6=84=C2=B7=EC=82=AC=EC=A7=84=20=EC=95=84=EC=9D=B4?= =?UTF-8?q?=EC=BD=98=2028px?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- app/modules/inout/templates/inout/index.html | 2 +- app/modules/inout/templates/inout/order_detail.html | 6 +++--- app/modules/inout/templates/inout/order_form.html | 2 +- app/modules/inout/templates/inout/pending.html | 2 +- app/static/inout.css | 7 +++++++ docs/INOUT_MODULE.md | 2 +- 6 files changed, 14 insertions(+), 7 deletions(-) diff --git a/app/modules/inout/templates/inout/index.html b/app/modules/inout/templates/inout/index.html index 2470ac4..af64f58 100644 --- a/app/modules/inout/templates/inout/index.html +++ b/app/modules/inout/templates/inout/index.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} {% from "inout/_macros.html" import order_badge, progress, due, n, ymd %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
diff --git a/app/modules/inout/templates/inout/order_detail.html b/app/modules/inout/templates/inout/order_detail.html index 243f39a..ae5f1dc 100644 --- a/app/modules/inout/templates/inout/order_detail.html +++ b/app/modules/inout/templates/inout/order_detail.html @@ -20,7 +20,7 @@ {%- endmacro -%} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %} {% set active = order.status in ('open', 'partial') %} @@ -158,8 +158,8 @@ 입고증 사진 (최대 {{ max_photos }}장) diff --git a/app/modules/inout/templates/inout/order_form.html b/app/modules/inout/templates/inout/order_form.html index 278d6bd..4d95e70 100644 --- a/app/modules/inout/templates/inout/order_form.html +++ b/app/modules/inout/templates/inout/order_form.html @@ -1,5 +1,5 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
diff --git a/app/modules/inout/templates/inout/pending.html b/app/modules/inout/templates/inout/pending.html index 6789dd9..4fe598e 100644 --- a/app/modules/inout/templates/inout/pending.html +++ b/app/modules/inout/templates/inout/pending.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} {% from "inout/_macros.html" import due, n, ymd %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
diff --git a/app/static/inout.css b/app/static/inout.css index 35521df..f2822a6 100644 --- a/app/static/inout.css +++ b/app/static/inout.css @@ -305,3 +305,10 @@ .io-receipt-bar.is-locked .erp-btn, .io-receipt-bar.is-locked .io-photo-pick, .io-receipt-bar.is-locked input { cursor: not-allowed; pointer-events: none; } .io-table .io-recv:disabled { opacity: .5; cursor: not-allowed; background: #f3f4f6; } .io-recv-done-note { color: #1e7a34; font-weight: 600; } + +/* 입고 줄 — 입력칸·[입고증 업로드]·[남은 수량 모두 채우기]·[입고 저장] 높이를 34px 로 맞춤(2026-10-19). + 입고증 업로드의 사진 아이콘은 버튼 높이에 거의 꽉 차게(28px, 위아래 여백 없이) */ +.io-receipt-bar .erp-field input, .io-receipt-bar .erp-btn, .io-receipt-bar .io-photo-pick { height: 34px; box-sizing: border-box; } +.io-receipt-bar .erp-btn { display: inline-flex; align-items: center; justify-content: center; padding-top: 0; padding-bottom: 0; } +.io-receipt-bar .io-photo-pick { padding: 0 12px 0 8px; gap: 6px; } +.io-receipt-bar .io-photo-pick-icon { flex: none; width: 28px; height: 28px; } diff --git a/docs/INOUT_MODULE.md b/docs/INOUT_MODULE.md index c7944a6..6a9e36f 100644 --- a/docs/INOUT_MODULE.md +++ b/docs/INOUT_MODULE.md @@ -128,7 +128,7 @@ cupang·malaysia 와 같은 DSN). 화면에서 코드·이름으로 검색(`GET ## 6-2. 입고증 사진(2026-10-16, 마이그레이션 003) -- 입고 담당이 **입고 저장 때** [사진 고르기·찍기](여러 장, 휴대폰은 카메라) — 브라우저가 긴 변 2000px JPEG 로 줄여 올린다 +- 입고 담당이 **입고 저장 때** [입고증 업로드](2026-10-19 이름 변경 — 예전 "사진 고르기·찍기", 여러 장, 휴대폰은 카메라) — 브라우저가 긴 변 2000px JPEG 로 줄여 올린다 (4032×3024 7.9MB → 2000×1500 약 0.8MB, 줄인 게 더 크면 원본, HEIC·GIF 는 그대로). 입고 한 건에 **10장**, 한 장 **10MB**까지. - 서버는 파일 머리로 종류를 판단(`store.sniff_image` — JPG·PNG·WEBP·GIF·HEIC, SVG·PDF 등 거절)하고 **입고와 한 트랜잭션**으로 `inout_receipt_photos`(bytea — 백업에 함께)에 넣는다 — 사진이 틀리면 입고도 저장 안 함, 초과 확인에 막혀도 사진 저장 안 함.