초기소스
This commit is contained in:
@@ -0,0 +1,101 @@
|
||||
<%@ page import="java.util.Date" %>
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<%@ taglib prefix="ui" uri="http://www.winbit.kr/ctl/ui"%>
|
||||
|
||||
|
||||
<%--
|
||||
Class Name : ItrntCnsltDtlsRForm.jsp
|
||||
Description : CRM 상담 내역 jsp
|
||||
Modification Information
|
||||
|
||||
수정일 수정자 수정내용
|
||||
------- -------- ---------------------------
|
||||
2024-02-19 추지훈 최초 생성
|
||||
--%>
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
|
||||
let selText = $('select[name="strInnb"] option:selected').text();
|
||||
$('#strNmCheck').val(selText);
|
||||
|
||||
|
||||
$('select[name="strInnb"]').change(function() {
|
||||
var selectedOption = $(this).find('option:selected');
|
||||
var selectedText = selectedOption.text();
|
||||
$('.strNmCheck').val(selectedText);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<!-- 관리매장 변경 모달 -->
|
||||
<div id="store-change-pop" class="modal" style="max-width: 600px; max-height: 1200px;">
|
||||
<div class="modal-header">
|
||||
<h4>관리매장 변경</h4>
|
||||
</div>
|
||||
<div class="modal-content" style="height: 300px;">
|
||||
<div class="table-wrapper">
|
||||
<form id="manageStrUpdtFrom">
|
||||
<table class="table">
|
||||
<caption>해당 테이블에 대한 설명</caption>
|
||||
<colgroup>
|
||||
<col style="width: 24%;">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>매장 변경</th>
|
||||
<td>
|
||||
<div class="td-inner vertical">
|
||||
<div class="select-box">
|
||||
<select title="해당 셀렉트에 대한 설명" id="selectStrInnb" onchange="fn_change_str_change();">
|
||||
<c:choose>
|
||||
<c:when test="${ not empty resultMap.mbrPosStr}">
|
||||
<option value="">쇼핑몰[PC]</option>
|
||||
<c:forEach var="list" items="${ resultMap.resultList }" varStatus="status">
|
||||
<c:choose>
|
||||
<c:when test="${ list.strInnb eq resultMap.mbrPosStr.strInnb }">
|
||||
<option value="<c:out value="${ list.strInnb }"/>" selected="selected">${ list.tentcpnNm }</option>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<option value="<c:out value="${ list.strInnb }"/>">${ list.tentcpnNm }</option>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</c:forEach>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<option value="">쇼핑몰[PC]</option>
|
||||
<c:forEach var="list" items="${ resultMap.resultList }" varStatus="status">
|
||||
<option value="<c:out value="${ list.strInnb }"/>">${ list.tentcpnNm }</option>
|
||||
</c:forEach>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</select>
|
||||
</div>
|
||||
<input class="input-text full strNmCheck" type="text" title="해당 인풋에 대한 설명" placeholder="" name="strNm" value="" readonly>
|
||||
<input type="hidden" name="mbrInnb" value="<c:out value="${ resultMap.paramVO.mbrInnb }"/>"/>
|
||||
<input type="hidden" name="mbrDvCd" value="<c:out value="${ resultMap.paramVO.mbrDvCd }"/>"/>
|
||||
<input type="hidden" name="beforeStrNm" value="<c:out value="${ resultMap.mbrPosStr.strNm}"/>"/>
|
||||
<input type="hidden" name="extrlIntrlckSnb" value="<c:out value="${ resultMap.mbrPosStr.extrlIntrlckSnb}"/>"/>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<a href="#" rel="modal:close" class="btn outline" id="StrCloseBtn">닫기</a>
|
||||
<button class="btn outline primary" type="button" onclick="fn_manage_str_change();" >적용</button>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user