fix: 주문 확인 모달 도매상명 동적 변경
- orderConfirmWholesaler span 추가
- '지오영에 주문합니다' → '{도매상명}에 주문합니다' 동적 변경
This commit is contained in:
parent
f625a08091
commit
78f6f21228
@ -1140,11 +1140,11 @@
|
||||
|
||||
const modal = document.getElementById('orderConfirmModal');
|
||||
const tbody = document.getElementById('orderConfirmBody');
|
||||
const header = modal.querySelector('.order-modal-header h3');
|
||||
const headerDiv = modal.querySelector('.order-modal-header');
|
||||
|
||||
// 도매상별 헤더 스타일
|
||||
header.innerHTML = `${ws.icon} ${ws.name} 주문 확인`;
|
||||
// 도매상별 헤더 및 본문 텍스트 변경
|
||||
document.getElementById('orderConfirmTitle').innerHTML = `${ws.icon} ${ws.name} 주문 확인`;
|
||||
document.getElementById('orderConfirmWholesaler').textContent = ws.name;
|
||||
headerDiv.style.background = ws.gradient;
|
||||
|
||||
let html = '';
|
||||
@ -2035,12 +2035,12 @@
|
||||
<div class="order-modal" id="orderConfirmModal">
|
||||
<div class="order-modal-content">
|
||||
<div class="order-modal-header">
|
||||
<h3>🏭 지오영 주문 확인</h3>
|
||||
<h3 id="orderConfirmTitle">🏭 지오영 주문 확인</h3>
|
||||
<button class="order-close" onclick="closeOrderConfirmModal()">✕</button>
|
||||
</div>
|
||||
<div class="order-modal-body">
|
||||
<p style="margin-bottom:12px;color:var(--text-secondary);">
|
||||
<span id="orderConfirmCount">0</span>개 품목을 지오영에 주문합니다.
|
||||
<span id="orderConfirmCount">0</span>개 품목을 <span id="orderConfirmWholesaler">지오영</span>에 주문합니다.
|
||||
</p>
|
||||
<table class="order-confirm-table">
|
||||
<thead><tr><th>품목명</th><th>규격</th><th>수량</th></tr></thead>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user