[FO] 수정 : 60. 은행 자동이체 내역 등록내역 노출 시 등록한 항목만 노출
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user