Merge branch 'kangsun' into 'dev'

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

See merge request korea-research/korea-research!62
This commit is contained in:
이강선 매니저/ST
2025-06-27 07:09:22 +00:00
2 changed files with 14 additions and 6 deletions

View File

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

View File

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