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:
@@ -5,6 +5,7 @@
|
|||||||
.mys-compact .erp-table th,
|
.mys-compact .erp-table th,
|
||||||
.mys-compact .erp-table td { padding-top:4px; padding-bottom:4px; }
|
.mys-compact .erp-table td { padding-top:4px; padding-bottom:4px; }
|
||||||
.mys-compact td.nm { white-space:nowrap; }
|
.mys-compact td.nm { white-space:nowrap; }
|
||||||
|
.mys-compact th.ccol, .mys-compact td.ccol { white-space:nowrap; width:88px; }
|
||||||
</style>
|
</style>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
@@ -24,12 +25,12 @@
|
|||||||
<div class="erp-table-wrap">
|
<div class="erp-table-wrap">
|
||||||
<table class="erp-table">
|
<table class="erp-table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr><th>Item Code</th><th>Product Name</th><th style="text-align:right">Current Qty</th><th>Last Stocktake</th></tr>
|
<tr><th class="ccol">Item Code</th><th>Product Name</th><th style="text-align:right">Current Qty</th><th>Last Stocktake</th></tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for r in rows %}
|
{% for r in rows %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ r.item_code }}</td>
|
<td class="ccol">{{ r.item_code }}</td>
|
||||||
<td class="nm">{{ r.item_name }}</td>
|
<td class="nm">{{ r.item_name }}</td>
|
||||||
<td style="text-align:right;font-weight:600;">{{ r.current_qty }}</td>
|
<td style="text-align:right;font-weight:600;">{{ r.current_qty }}</td>
|
||||||
<td>{{ r.last_stocktake_date or '—' }}</td>
|
<td>{{ r.last_stocktake_date or '—' }}</td>
|
||||||
@@ -51,11 +52,11 @@
|
|||||||
</span>
|
</span>
|
||||||
<div class="erp-table-wrap" style="margin-top:8px;">
|
<div class="erp-table-wrap" style="margin-top:8px;">
|
||||||
<table class="erp-table">
|
<table class="erp-table">
|
||||||
<thead><tr><th>Set Code</th><th>Set Name</th><th style="text-align:right">Qty</th></tr></thead>
|
<thead><tr><th class="ccol">Set Code</th><th>Set Name</th><th style="text-align:right">Qty</th></tr></thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for s in set_rows %}
|
{% for s in set_rows %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ s.set_code }}</td>
|
<td class="ccol">{{ s.set_code }}</td>
|
||||||
<td class="nm">{{ s.set_name }}</td>
|
<td class="nm">{{ s.set_name }}</td>
|
||||||
<td style="text-align:right;font-weight:600;">{{ s.qty }}</td>
|
<td style="text-align:right;font-weight:600;">{{ s.qty }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -6,8 +6,9 @@
|
|||||||
.mys-compact .erp-table td { padding-top:4px; padding-bottom:4px; }
|
.mys-compact .erp-table td { padding-top:4px; padding-bottom:4px; }
|
||||||
.mys-compact .erp-input { 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 td.nm { white-space:nowrap; }
|
||||||
.mys-compact .qcol { width:150px; }
|
.mys-compact th.ccol, .mys-compact td.ccol { white-space:nowrap; width:88px; }
|
||||||
.mys-compact .qcol .erp-input { width:140px; }
|
.mys-compact .qcol { width:110px; }
|
||||||
|
.mys-compact .qcol .erp-input { width:100px; }
|
||||||
</style>
|
</style>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
@@ -47,11 +48,11 @@
|
|||||||
<div class="cpg-card-head"><h2>낱개 상품</h2></div>
|
<div class="cpg-card-head"><h2>낱개 상품</h2></div>
|
||||||
<div class="erp-table-wrap" style="margin-top:8px;">
|
<div class="erp-table-wrap" style="margin-top:8px;">
|
||||||
<table class="erp-table">
|
<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>
|
<tbody>
|
||||||
{% for it in individual_items %}
|
{% for it in individual_items %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ it.item_code }}</td>
|
<td class="ccol">{{ it.item_code }}</td>
|
||||||
<td class="nm">{{ it.item_name }}</td>
|
<td class="nm">{{ it.item_name }}</td>
|
||||||
<td class="qcol"><input class="erp-input" type="number" name="qty_{{ it.item_code }}" placeholder="—" /></td>
|
<td class="qcol"><input class="erp-input" type="number" name="qty_{{ it.item_code }}" placeholder="—" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -66,11 +67,11 @@
|
|||||||
<div class="cpg-card-head"><h2>콤보 상품</h2></div>
|
<div class="cpg-card-head"><h2>콤보 상품</h2></div>
|
||||||
<div class="erp-table-wrap" style="margin-top:8px;">
|
<div class="erp-table-wrap" style="margin-top:8px;">
|
||||||
<table class="erp-table">
|
<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>
|
<tbody>
|
||||||
{% for it in set_items %}
|
{% for it in set_items %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ it.item_code }}</td>
|
<td class="ccol">{{ it.item_code }}</td>
|
||||||
<td class="nm">{{ it.item_name }}</td>
|
<td class="nm">{{ it.item_name }}</td>
|
||||||
<td class="qcol"><input class="erp-input" type="number" min="0" name="qty_{{ it.item_code }}" placeholder="—" /></td>
|
<td class="qcol"><input class="erp-input" type="number" min="0" name="qty_{{ it.item_code }}" placeholder="—" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -6,8 +6,9 @@
|
|||||||
.mys-compact .erp-table td { padding-top:4px; padding-bottom:4px; }
|
.mys-compact .erp-table td { padding-top:4px; padding-bottom:4px; }
|
||||||
.mys-compact .erp-input { 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 td.nm { white-space:nowrap; }
|
||||||
.mys-compact .qcol { width:150px; }
|
.mys-compact th.ccol, .mys-compact td.ccol { white-space:nowrap; width:88px; }
|
||||||
.mys-compact .qcol .erp-input { width:140px; }
|
.mys-compact .qcol { width:110px; }
|
||||||
|
.mys-compact .qcol .erp-input { width:100px; }
|
||||||
</style>
|
</style>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
@@ -50,11 +51,11 @@
|
|||||||
<div class="cpg-card-head"><h2>낱개 상품</h2></div>
|
<div class="cpg-card-head"><h2>낱개 상품</h2></div>
|
||||||
<div class="erp-table-wrap" style="margin-top:8px;">
|
<div class="erp-table-wrap" style="margin-top:8px;">
|
||||||
<table class="erp-table">
|
<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>
|
<tbody>
|
||||||
{% for it in individual_items %}
|
{% for it in individual_items %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ it.item_code }}</td>
|
<td class="ccol">{{ it.item_code }}</td>
|
||||||
<td class="nm">{{ it.item_name }}</td>
|
<td class="nm">{{ it.item_name }}</td>
|
||||||
<td class="qcol"><input class="erp-input" type="number" min="0" name="qty_{{ it.item_code }}"
|
<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>
|
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="cpg-card-head"><h2>콤보 상품</h2></div>
|
||||||
<div class="erp-table-wrap" style="margin-top:8px;">
|
<div class="erp-table-wrap" style="margin-top:8px;">
|
||||||
<table class="erp-table">
|
<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>
|
<tbody>
|
||||||
{% for it in set_items %}
|
{% for it in set_items %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ it.item_code }}</td>
|
<td class="ccol">{{ it.item_code }}</td>
|
||||||
<td class="nm">{{ it.item_name }}</td>
|
<td class="nm">{{ it.item_name }}</td>
|
||||||
<td class="qcol"><input class="erp-input" type="number" min="0" name="qty_{{ it.item_code }}"
|
<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>
|
value="{{ entered.get(it.item_code, '') }}" placeholder="—" {% if not is_draft %}disabled{% endif %} /></td>
|
||||||
|
|||||||
Reference in New Issue
Block a user