[FO] 마이페이지 수정사항 반영

This commit is contained in:
kangsunlee
2025-06-27 10:58:40 +09:00
parent 48fc15838e
commit 38451478e4
8 changed files with 52 additions and 42 deletions

View File

@@ -361,7 +361,6 @@
}
}
if (!form.sourcePurpose.value) errors.push({field: 'sourcePurpose', message: '용도 입력해주세요.'});
if(form.count.value){
if(!form.unitCode.value){
errors.push({
@@ -552,7 +551,9 @@
${buttonGroupHtml}
</div>
<ul class="detail-list">
<li><p>용도</p><span>${product.sourcePurpose}</span></li>
${product.sourcePurpose != null && product.sourcePurpose != ''
? `<li><p>용도</p><span>${product.sourcePurpose}</span></li>`
: ''}
${tagCount}
<li><p>현금</p><span>${format(product.price)}원</span></li>
</ul>