설정 > 패밀리사이트 설정, 환율 설정, 안내문구 설정 - 추가

This commit is contained in:
이대환
2026-04-29 13:53:41 +09:00
parent 6bf80ca297
commit fd385fe898
14 changed files with 1186 additions and 1 deletions

View File

@@ -0,0 +1,110 @@
<%@ 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="ui" uri="http://www.winbit.kr/ctl/ui" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%--
Class Name : ExchngrtUpdtU.jsp
Description : 환율 설정 상세
Modification Information
수정일 수정자 수정내용
------- -------- ---------------------------
2026-04-27 이대환 최초 생성
--%>
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<%-- 공통 include --%>
<%@include file ="/WEB-INF/views/comm/mngr/Include.jsp" %>
</head>
<script>
$(document).ready(function () {
});
/* ********************************************************
* 환율 설정 저장
******************************************************** */
const fn_update_exchngrt = function () {
if (confirm('환율 설정을 <spring:message code="confirm.common.save"/>')) {
$.ajax({
type: 'post',
url: '<c:url value="/mngr/setup/exchngrt/updateExchngrtSetup"/>',
data: $('#updtForm').serialize(),
success: function () {
alert("<spring:message code="success.common.save"/>");
location.reload();
}
});
}
}
</script>
<body>
<%-- 상단메뉴 공통화 적용 : 2023-11-30 / 박철민 추가 --%>
<%@include file="/WEB-INF/views/comm/mngr/Header.jsp" %>
<main class="main">
<%-- 좌측메뉴 공통화 적용 : 2023-11-30 / 박철민 추가 --%>
<%@include file="/WEB-INF/views/comm/mngr/Left.jsp" %>
<div class="content">
<div class="content__inner">
<button class="side-nav__fold"><span class="visually-hidden">좌측메뉴 펼치기/닫기</span></button>
<div class="page-title">
<h2 class="page-title__title">환율 설정</h2>
<div class="page-title__btn-container">
<button class="btn primary" onclick="fn_update_exchngrt()">저장하기
</button>
</div>
</div>
<form id="updtForm">
<section class="content-section">
<div class="form-control-container mb-8">
<div class="left">
<h3 class="content-section__inner-title">주문 설정</h3>
</div>
<div class="center"></div>
<div class="right"></div>
</div>
<div class="table-wrapper">
<table class="table ">
<caption>주문 설정</caption>
<colgroup>
<col style="width: 14%;">
<col style="width: 38%;">
<col style="width: 14%;">
<col style="width: 38%;">
</colgroup>
<tbody>
<tr>
<th>환율(살때) 일본 1円(엔)기준</th>
<td colspan="3">
<div class="td-inner">
<div class="input-container">
<input type="text" class="input-text sm right" name="buyRate" id="buyRate" title="1엔 환율(살때)" value="${resultMap.sopmalDetailList[0].buyRate}">
<span class="input-unit-text">원</span>
</div>
</div>
</td>
<%-- <th>환율(팔때) 일본 1円(엔)기준</th>
<td>
<div class="td-inner">
<div class="input-container">
<input type="text" class="input-text sm right" name="sellRate" id="sellRate" title="1엔 환율(팔때)" value="${resultMap.sopmalDetailList[0].sellRate}">
<span class="input-unit-text">원</span>
</div>
</div>
</td>--%>
</tr>
</tbody>
</table>
</div>
</section>
</form>
<button class="scroll-to-top"><span class="visually-hidden">위로가기</span></button>
</div>
</div>
</main>
</body>
</html>