-
- ?�시 ?�?�레?�, 벤포?�워, 8806418067510, LB000001423
+ 예시 타이레놀, 벤포파워, 8806418067510, LB000001423
| ?��?지 | -?�품�?/th> - | ?�품코드 | -바코??/th> - | ?�치 | -?�고 | -?�매가 | +이미지 | +상품명 | +상품코드 | +바코드 | +위치 | +재고 | +판매가 | QR |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
- ?��
- ?�품�? 바코?? ?�품코드�?검?�하?�요 +🔍
+ 상품명, 바코드, 상품코드로 검색하세요 |
||||||||||||||
검??�?.. | ||||||||||||||
검색 중... | ||||||||||||||
?�류: ${data.error} | ||||||||||||||
오류: ${data.error} | ||||||||||||||
검???�패 | ||||||||||||||
검색 실패 | ||||||||||||||
?�� 검??결과가 ?�습?�다 | ||||||||||||||
📭 검색 결과가 없습니다 |
${escapeHtml(item.product_name)}
- ${item.is_animal_drug ? '?�� ?�물??/span>' : ''}
+ ${item.is_animal_drug ? '🐾 동물약' : ''}
${categoryBadge}
${escapeHtml(item.supplier) || ''}
@@ -904,18 +904,18 @@
| ${item.drug_code} | ${item.barcode ? `` - : `?�음`} | -${item.location ? `${escapeHtml(item.location)}` : ''} | + : `없음`} +${item.location ? `${escapeHtml(item.location)}` : ''} | ${item.stock || 0}${wsStock} | ${formatPrice(item.sale_price)} |
- |
`}).join('');
}
- // ?�?� QR ?�쇄 관???�?�
+ // ── QR 인쇄 관련 ──
function adjustQty(delta) {
printQty = Math.max(MIN_QTY, Math.min(MAX_QTY, printQty + delta));
updateQtyUI();
@@ -925,7 +925,7 @@
document.getElementById('qtyValue').textContent = printQty;
document.getElementById('qtyMinus').disabled = printQty <= MIN_QTY;
document.getElementById('qtyPlus').disabled = printQty >= MAX_QTY;
- document.getElementById('printBtn').textContent = printQty > 1 ? `${printQty}???�쇄` : '?�쇄';
+ document.getElementById('printBtn').textContent = printQty > 1 ? `${printQty}장 인쇄` : '인쇄';
}
function printQR(idx) {
@@ -936,12 +936,12 @@
const preview = document.getElementById('qrPreview');
const info = document.getElementById('qrInfo');
- preview.innerHTML = '||||||