111 lines
3.7 KiB
Plaintext
111 lines
3.7 KiB
Plaintext
<%@ 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>
|