ui(malaysia): Code 컬럼 nowrap+고정폭, Qty 폭 축소(110px)

입출고/재고조사/재고현황 표의 Code(Set Code) 줄바꿈 방지, Qty 입력폭 축소

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-11 16:23:28 +09:00
parent ea03a7aa18
commit 3d85ccf43e
3 changed files with 19 additions and 16 deletions
@@ -6,8 +6,9 @@
.mys-compact .erp-table td { padding-top:4px; padding-bottom:4px; }
.mys-compact .erp-input { padding-top:4px; padding-bottom:4px; }
.mys-compact td.nm { white-space:nowrap; }
.mys-compact .qcol { width:150px; }
.mys-compact .qcol .erp-input { width:140px; }
.mys-compact th.ccol, .mys-compact td.ccol { white-space:nowrap; width:88px; }
.mys-compact .qcol { width:110px; }
.mys-compact .qcol .erp-input { width:100px; }
</style>
{% endblock %}
@@ -50,11 +51,11 @@
<div class="cpg-card-head"><h2>낱개 상품</h2></div>
<div class="erp-table-wrap" style="margin-top:8px;">
<table class="erp-table">
<thead><tr><th>Code</th><th>Name</th><th class="qcol">Qty</th></tr></thead>
<thead><tr><th class="ccol">Code</th><th>Name</th><th class="qcol">Qty</th></tr></thead>
<tbody>
{% for it in individual_items %}
<tr>
<td>{{ it.item_code }}</td>
<td class="ccol">{{ it.item_code }}</td>
<td class="nm">{{ it.item_name }}</td>
<td class="qcol"><input class="erp-input" type="number" min="0" name="qty_{{ it.item_code }}"
value="{{ entered.get(it.item_code, '') }}" placeholder="—" {% if not is_draft %}disabled{% endif %} /></td>
@@ -70,11 +71,11 @@
<div class="cpg-card-head"><h2>콤보 상품</h2></div>
<div class="erp-table-wrap" style="margin-top:8px;">
<table class="erp-table">
<thead><tr><th>Set Code</th><th>Set Name</th><th class="qcol">Qty</th></tr></thead>
<thead><tr><th class="ccol">Set Code</th><th>Set Name</th><th class="qcol">Qty</th></tr></thead>
<tbody>
{% for it in set_items %}
<tr>
<td>{{ it.item_code }}</td>
<td class="ccol">{{ it.item_code }}</td>
<td class="nm">{{ it.item_name }}</td>
<td class="qcol"><input class="erp-input" type="number" min="0" name="qty_{{ it.item_code }}"
value="{{ entered.get(it.item_code, '') }}" placeholder="—" {% if not is_draft %}disabled{% endif %} /></td>