[FO] 은행자동이체 칼럼 추가로 create service 수정 + 오류 수정
This commit is contained in:
@@ -521,30 +521,29 @@
|
||||
|
||||
const buttonGroupHtml = isEdit
|
||||
? `
|
||||
<div class="btn-group">
|
||||
<button type="button" class="delete" onclick="formControl.deleteItemById(${product.id})">
|
||||
<span class="hide-txt">삭제</span>
|
||||
</button>
|
||||
<button type="button" class="edit" onclick="formControl.editItemById(${product.id})">
|
||||
<span class="hide-txt">수정</span>
|
||||
</button>
|
||||
</div>
|
||||
`
|
||||
<div class="btn-group">
|
||||
<button type="button" class="delete" onclick="formControl.deleteItemById(${product.id})">
|
||||
<span class="hide-txt">삭제</span>
|
||||
</button>
|
||||
<button type="button" class="edit" onclick="formControl.editItemById(${product.id})">
|
||||
<span class="hide-txt">수정</span>
|
||||
</button>
|
||||
</div>
|
||||
`
|
||||
: '';
|
||||
|
||||
const itemHtml = `
|
||||
|
||||
<div class="item-tit-group">
|
||||
<p class="item-name">${tagTitle}</p>
|
||||
${buttonGroupHtml}
|
||||
</div>
|
||||
<ul class="detail-list">
|
||||
<li><p>재배형태</p><span>${getCrop(product.cropCode)}</span></li>
|
||||
<li><p>수입원</p><span>${product.sourcePurpose}</span></li>
|
||||
${tagCount}
|
||||
<li><p>현금</p><span>${format(product.price)}원</span></li>
|
||||
</ul>
|
||||
`;
|
||||
<div class="item-tit-group">
|
||||
<p class="item-name">${tagTitle}</p>
|
||||
${buttonGroupHtml}
|
||||
</div>
|
||||
<ul class="detail-list">
|
||||
<li><p>재배형태</p><span>${getCrop(product.cropCode)}</span></li>
|
||||
<li><p>수입원</p><span>${product.sourcePurpose}</span></li>
|
||||
${tagCount}
|
||||
<li><p>현금</p><span>${format(product.price)}원</span></li>
|
||||
</ul>
|
||||
`;
|
||||
|
||||
const item = document.createElement('div');
|
||||
item.className = 'list-item';
|
||||
|
||||
Reference in New Issue
Block a user