[FO] 수정 : 60. 은행 자동이체 내역 등록내역 노출 시 등록한 항목만 노출

This commit is contained in:
kangsunlee
2025-06-27 16:08:57 +09:00
parent 4885ad736d
commit 92e30edc7c
2 changed files with 14 additions and 6 deletions

View File

@@ -531,10 +531,14 @@
: `${getCategory(categoryCode)}`; : `${getCategory(categoryCode)}`;
let tagCount = ''; let tagCount = '';
if(product.count && product.unitCode != "code.record.unit.self"){ if (product.count > 0) {
tagCount = `<li><p>수량</p><span>${format(product.count)}${getUnit(product.unitCode)}</span></li>`; const unitText = product.unitCode !== 'code.record.unit.self'
? getUnit(product.unitCode)
: product.unit;
tagCount = `<li><p>수량</p><span>${format(product.count)}${unitText}</span></li>`;
} else { } else {
tagCount = `<li><p>수량</p><span>${format(product.count)}${product.unit}</span></li>` tagCount = '';
} }
const buttonGroupHtml = isEdit const buttonGroupHtml = isEdit

View File

@@ -524,10 +524,14 @@
: `${getCategory(categoryCode)}`; : `${getCategory(categoryCode)}`;
let tagCount = ''; let tagCount = '';
if(product.count && product.unitCode != "code.record.unit.self"){ if (product.count > 0) {
tagCount = `<li><p>수량</p><span>${format(product.count)}${getUnit(product.unitCode)}</span></li>`; const unitText = product.unitCode !== 'code.record.unit.self'
? getUnit(product.unitCode)
: product.unit;
tagCount = `<li><p>수량</p><span>${format(product.count)}${unitText}</span></li>`;
} else { } else {
tagCount = `<li><p>수량</p><span>${format(product.count)}${product.unit}</span></li>` tagCount = '';
} }
const buttonGroupHtml = isEdit const buttonGroupHtml = isEdit