fix : 1:1문의 사용자 조회/수정

This commit is contained in:
jazz
2025-12-30 09:49:28 +09:00
parent 342b01f32f
commit dc4e554d47
13 changed files with 186 additions and 48 deletions

View File

@@ -192,11 +192,15 @@
/*상품 상세 등록시 qna 목록 재조회*/
if ($("#listAt").val() === 'list') {
fn_select_qna(1);
}else if ($("#listAt").val() === 'm2m') {
/*1:1 문의*/
setMenuCode('39','/sopmal/mpage/act/selectM2mQnaInqire?bbsId=mbrqna');
}
});
});
/*********************************************************
* 게시글 등록
*********************************************************/
@@ -243,6 +247,7 @@
processData: false,
contentType: false,
success: function (result) {
console.log(result);
enableButton("#regBtn");
$("#resultAlert").text("<spring:message code="success.common.insert"/>");
$("#result-alert-regist").modal();
@@ -278,6 +283,7 @@
<div class="modal-content">
<div class="table-wrapper">
<form id="bbsRegForm">
<input type='hidden' name='bbsTyCd' id='bbsTyCd' value='<c:out value="${bbsInfo.bbsTyCd}"/>'>
<table class="table write">
<caption>게시글 등록</caption>
<colgroup>
@@ -301,6 +307,13 @@
</c:choose>
</td>
</tr>
<%-- 1:1 문의--%>
<c:if test="${bbsInfo.bbsTyCd eq '12'}">
<tr>
<th>주문번호<span class="required-asterisk">*</span></th>
<td><c:out value="${bbscttVO.ordrInnb}"/><input type='hidden' name='ordrInnb' value='<c:out value="${bbscttVO.ordrInnb}"/>'></td>
</tr>
</c:if>
<c:if test="${bbsInfo.answRegist eq 'Y'&& bbsInfo.bbscttSndngMthCd ne '03'}"><%--답변사용여부와 게시글 문자사용여부 체크--%>
<tr>
<th>답변수신</th>
@@ -595,7 +608,6 @@
</p>
</div>
<div class="alert-btn-container">
<a href="#" rel="modal:close" class="btn large outline close"><spring:message code="button.close"/></a>
<button class="alert-btn alert-btn--confirm" id="alertBtn"><spring:message code="button.ok"/></button>
</div>
</div>