feat(dispatch): 한글/영문 토글(말레이시아 직원용)
- _nav 에 KO/EN 토글 버튼 + 공용 JS(data-ko/data-en 텍스트, data-*-ph placeholder 교체, localStorage 저장 → 전 페이지 공통, dsp:lang 이벤트 발행) - batches/new/detail/picking/handover 정적 라벨 이중언어화 - 동적 텍스트도 언어 반영: 완료 N/M 라벨, 일괄 토글 확인창, 업로드 안내/파일 라벨 - 카드 작업 버튼은 기존대로 한/영 동시 표기 유지 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -13,25 +13,27 @@
|
||||
|
||||
<div class="erp-card" style="max-width:560px;">
|
||||
<div class="cpg-card-head" style="display:flex;justify-content:space-between;align-items:center;">
|
||||
<h2>피킹 요약 (SKU별 총 수량)</h2>
|
||||
<span class="erp-muted">총 {{ total_qty }}개 · {{ summary|length }} SKU</span>
|
||||
<h2 data-ko="피킹 요약 (SKU별 총 수량)" data-en="Picking Summary (total qty by SKU)">피킹 요약 (SKU별 총 수량)</h2>
|
||||
<span class="erp-muted"><span data-ko="총" data-en="Total">총</span> {{ total_qty }} · {{ summary|length }} SKU</span>
|
||||
</div>
|
||||
<p class="erp-muted" style="margin:4px 0 12px;">이 화면을 보고 먼저 전체 상품을 꺼내세요.</p>
|
||||
<p class="erp-muted" style="margin:4px 0 12px;" data-ko="이 화면을 보고 먼저 전체 상품을 꺼내세요."
|
||||
data-en="Pick all items first using this list.">이 화면을 보고 먼저 전체 상품을 꺼내세요.</p>
|
||||
<div class="erp-table-wrap">
|
||||
<table class="erp-table dsp-pick">
|
||||
<thead>
|
||||
<tr><th>Seller SKU</th><th>상품명</th><th style="text-align:right">수량</th></tr>
|
||||
<tr><th>Seller SKU</th><th data-ko="상품명" data-en="Product">상품명</th>
|
||||
<th style="text-align:right" data-ko="수량" data-en="Qty">수량</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for r in summary %}
|
||||
<tr>
|
||||
<td class="sku">{{ r.seller_sku }}</td>
|
||||
<td class="erp-muted">{{ r.product_name or '—' }}</td>
|
||||
<td class="qty">{{ r.total_qty }}개</td>
|
||||
<td class="qty">{{ r.total_qty }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
{% if not summary %}
|
||||
<tr><td colspan="3" class="erp-muted">피킹할 상품이 없습니다.</td></tr>
|
||||
<tr><td colspan="3" class="erp-muted" data-ko="피킹할 상품이 없습니다." data-en="No items to pick.">피킹할 상품이 없습니다.</td></tr>
|
||||
{% endif %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user