|
|
|
@@ -1,5 +1,5 @@
|
|
|
|
|
{% extends "erp_base.html" %}
|
|
|
|
|
{% block head_extra %}<link rel="stylesheet" href="/static/inout.css?v=20261021d" />{% endblock %}
|
|
|
|
|
{% block head_extra %}<link rel="stylesheet" href="/static/inout.css?v=20261021e" />{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
<div class="io-split">{# 2열 — 왼쪽 화면 | 오른쪽 달력(2026-10-21) #}
|
|
|
|
@@ -43,7 +43,7 @@
|
|
|
|
|
placeholder="코드 또는 이름" {% if received %}readonly title="입고된 제품은 바꿀 수 없습니다(수량은 바꿀 수 있음)"{% endif %} />
|
|
|
|
|
{% if received %}<div class="erp-row-sub">입고 {{ '{:,}'.format(received) }}개 — 제품은 그대로, 수량만 바꿀 수 있습니다</div>{% endif %}
|
|
|
|
|
</td>
|
|
|
|
|
<td class="io-col-qty"><input class="erp-input io-qty" type="text" inputmode="numeric" name="qty" value="{{ ln.qty }}" placeholder="0" /></td>
|
|
|
|
|
<td class="io-col-qty"><span class="io-qty-wrap"><input class="erp-input io-qty" type="text" inputmode="numeric" name="qty" value="{{ ln.qty }}" placeholder="0" />{% if boxes_ready %}<span class="io-steps"><button type="button" class="io-step" data-step="-1" aria-label="공배수만큼 줄이기" disabled><svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M15 6l-6 6 6 6"/></svg></button><button type="button" class="io-step" data-step="1" aria-label="공배수만큼 늘리기" disabled><svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M9 6l6 6-6 6"/></svg></button></span>{% endif %}</span></td>
|
|
|
|
|
<td class="io-col-money io-price">{{ ln.price_label or '-' }}</td>
|
|
|
|
|
<td class="io-col-money io-amount">-</td>
|
|
|
|
|
{% if boxes_ready %}<td class="io-col-box io-box">-</td>{% endif %}
|
|
|
|
@@ -60,6 +60,8 @@
|
|
|
|
|
<div class="io-pallet" id="io-pallet" aria-live="polite">
|
|
|
|
|
<span>통 <b data-k="body">0</b>박스</span><span>뚜껑 <b data-k="lid">0</b>박스</span><span>전체 <b data-k="boxes">0</b>박스</span>
|
|
|
|
|
<span class="io-pallet-main">→ <b data-k="pallets">0</b>파렛트</span>
|
|
|
|
|
{# 파렛트 그림 — 꽉 찬 파렛트 + 잔량 파렛트(실린 박스만큼 색, %·몇 박스 더) #}
|
|
|
|
|
<span class="io-pallet-vis" data-k="vis"></span>
|
|
|
|
|
<span class="erp-muted" data-k="note">1파렛트 = {{ pallet_boxes }}박스</span>
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
|
|
|
@@ -75,7 +77,7 @@
|
|
|
|
|
<input type="hidden" name="item_name" value="" />
|
|
|
|
|
<input class="erp-input io-item-search" type="text" value="" autocomplete="off" placeholder="코드 또는 이름" />
|
|
|
|
|
</td>
|
|
|
|
|
<td class="io-col-qty"><input class="erp-input io-qty" type="text" inputmode="numeric" name="qty" value="" placeholder="0" /></td>
|
|
|
|
|
<td class="io-col-qty"><span class="io-qty-wrap"><input class="erp-input io-qty" type="text" inputmode="numeric" name="qty" value="" placeholder="0" />{% if boxes_ready %}<span class="io-steps"><button type="button" class="io-step" data-step="-1" aria-label="공배수만큼 줄이기" disabled><svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M15 6l-6 6 6 6"/></svg></button><button type="button" class="io-step" data-step="1" aria-label="공배수만큼 늘리기" disabled><svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M9 6l6 6-6 6"/></svg></button></span>{% endif %}</span></td>
|
|
|
|
|
<td class="io-col-money io-price">-</td>
|
|
|
|
|
<td class="io-col-money io-amount">-</td>
|
|
|
|
|
{% if boxes_ready %}<td class="io-col-box io-box">-</td>{% endif %}
|
|
|
|
@@ -93,4 +95,4 @@
|
|
|
|
|
{% include "inout/_calendar.html" %}
|
|
|
|
|
</div>
|
|
|
|
|
{% endblock %}
|
|
|
|
|
{% block scripts %}<script src="/static/inout.js?v=20261021d" defer></script>{% endblock %}
|
|
|
|
|
{% block scripts %}<script src="/static/inout.js?v=20261021e" defer></script>{% endblock %}
|
|
|
|
|