fix : 설정 > 원가 설정 - 기준일자 datepicker 적용
This commit is contained in:
@@ -14,7 +14,7 @@ public class BOCostVO extends AbstractVO {
|
|||||||
private int[] ctInnbArr;
|
private int[] ctInnbArr;
|
||||||
|
|
||||||
/** 기준일자 */
|
/** 기준일자 */
|
||||||
private int[] stdrDeArr;
|
private String[] stdrDeArr;
|
||||||
|
|
||||||
/** USD 환율 (1,000 円) */
|
/** USD 환율 (1,000 円) */
|
||||||
private BigDecimal[] usdRateArr;
|
private BigDecimal[] usdRateArr;
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
|
<%@ 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="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||||
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
|
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
|
||||||
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||||
<%@ taglib prefix="ui" uri="http://www.winbit.kr/ctl/ui" %>
|
<%@ taglib prefix="ui" uri="http://www.winbit.kr/ctl/ui" %>
|
||||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
|
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
|
||||||
<%--
|
<%--
|
||||||
@@ -20,6 +21,12 @@
|
|||||||
<%-- 공통 include --%>
|
<%-- 공통 include --%>
|
||||||
<%@include file ="/WEB-INF/views/comm/mngr/Include.jsp" %>
|
<%@include file ="/WEB-INF/views/comm/mngr/Include.jsp" %>
|
||||||
</head>
|
</head>
|
||||||
|
<style>
|
||||||
|
.datepicker {
|
||||||
|
text-align: left;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
// 숫자 처리
|
// 숫자 처리
|
||||||
@@ -45,48 +52,49 @@
|
|||||||
+ ' </td>'
|
+ ' </td>'
|
||||||
+ ' <td>'
|
+ ' <td>'
|
||||||
+ ' <div class="td-inner">'
|
+ ' <div class="td-inner">'
|
||||||
+ ' <input type="text" class="input-text number xl" name="stdrDeArr" title="기준일자" maxlength="8">'
|
+ ' <input type="text" class="datepicker" name="stdrDeArr" title="기준일자" autocomplete="off">'
|
||||||
+ ' </div>'
|
+ ' </div>'
|
||||||
+ ' </td>'
|
+ ' </td>'
|
||||||
+ ' <td>'
|
+ ' <td>'
|
||||||
+ ' <div class="td-inner">'
|
+ ' <div class="td-inner">'
|
||||||
+ ' <input type="text" class="input-text digit2 xl" name="usdRateArr" title="USD 환율 (1,000 円)" maxlength="25">'
|
+ ' <input type="text" class="input-text digit2 xl right" name="usdRateArr" title="USD 환율 (1,000 円)" maxlength="25">'
|
||||||
+ ' </div>'
|
+ ' </div>'
|
||||||
+ ' </td>'
|
+ ' </td>'
|
||||||
+ ' <td>'
|
+ ' <td>'
|
||||||
+ ' <div class="td-inner">'
|
+ ' <div class="td-inner">'
|
||||||
+ ' <input type="text" class="input-text sep xl" name="jpDlvyCtArr" title="일본 내 물류비" maxlength="25">'
|
+ ' <input type="text" class="input-text sep xl right" name="jpDlvyCtArr" title="일본 내 물류비" maxlength="25">'
|
||||||
+ ' </div>'
|
+ ' </div>'
|
||||||
+ ' </td>'
|
+ ' </td>'
|
||||||
+ ' <td>'
|
+ ' <td>'
|
||||||
+ ' <div class="td-inner">'
|
+ ' <div class="td-inner">'
|
||||||
+ ' <input type="text" class="input-text sep xl" name="intlDlvyAmtArr" title="운임비용(JP)" maxlength="25">'
|
+ ' <input type="text" class="input-text sep xl right" name="intlDlvyAmtArr" title="운임비용(JP)" maxlength="25">'
|
||||||
+ ' </div>'
|
+ ' </div>'
|
||||||
+ ' </td>'
|
+ ' </td>'
|
||||||
+ ' <td>'
|
+ ' <td>'
|
||||||
+ ' <div class="td-inner">'
|
+ ' <div class="td-inner">'
|
||||||
+ ' <input type="text" class="input-text digit2 xl" name="pltfomFeeArr" title="플랫폼 수수료율" maxlength="25">'
|
+ ' <input type="text" class="input-text digit2 xl right" name="pltfomFeeArr" title="플랫폼 수수료율" maxlength="25">'
|
||||||
+ ' </div>'
|
+ ' </div>'
|
||||||
+ ' </td>'
|
+ ' </td>'
|
||||||
+ ' <td>'
|
+ ' <td>'
|
||||||
+ ' <div class="td-inner">'
|
+ ' <div class="td-inner">'
|
||||||
+ ' <input type="text" class="input-text digit3 xl" name="expctTaxArr" title="예상세율" maxlength="25">'
|
+ ' <input type="text" class="input-text digit3 xl right" name="expctTaxArr" title="예상세율" maxlength="25">'
|
||||||
+ ' </div>'
|
+ ' </div>'
|
||||||
+ ' </td>'
|
+ ' </td>'
|
||||||
+ ' <td>'
|
+ ' <td>'
|
||||||
+ ' <div class="td-inner">'
|
+ ' <div class="td-inner">'
|
||||||
+ ' <input type="text" class="input-text sep xl" name="cstmsFeeArr" title="통관수수료" maxlength="25">'
|
+ ' <input type="text" class="input-text sep xl right" name="cstmsFeeArr" title="통관수수료" maxlength="25">'
|
||||||
+ ' </div>'
|
+ ' </div>'
|
||||||
+ ' </td>'
|
+ ' </td>'
|
||||||
+ ' <td>'
|
+ ' <td>'
|
||||||
+ ' <div class="td-inner">'
|
+ ' <div class="td-inner">'
|
||||||
+ ' <input type="text" class="input-text sep xl" name="krDlvyCtArr" title="운임비용(KR)" maxlength="25">'
|
+ ' <input type="text" class="input-text sep xl right" name="krDlvyCtArr" title="운임비용(KR)" maxlength="25">'
|
||||||
+ ' </div>'
|
+ ' </div>'
|
||||||
+ ' </td>'
|
+ ' </td>'
|
||||||
+ '</tr>';
|
+ '</tr>';
|
||||||
|
|
||||||
$('#tableCostSorting').append(trClone);
|
$('#tableCostSorting').append(trClone);
|
||||||
$('#noData').hide();
|
$('#noData').hide();
|
||||||
|
fn_set_datepicker('.datepicker');
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ********************************************************
|
/* ********************************************************
|
||||||
@@ -250,42 +258,42 @@
|
|||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="td-inner">
|
<div class="td-inner">
|
||||||
<input type="text" class="input-text number xl" name="stdrDeArr" title="기준일자" maxlength="8" value="${cost.stdrDe}">
|
<input type="text" class="datepicker" name="stdrDeArr" title="기준일자" value="${cost.stdrDe}" autocomplete="off">
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="td-inner">
|
<div class="td-inner">
|
||||||
<input type="text" class="input-text digit2 xl" name="usdRateArr" title="USD 환율 (1,000 円)" maxlength="25" value="${cost.usdRate}">
|
<input type="text" class="input-text digit2 xl right" name="usdRateArr" title="USD 환율 (1,000 円)" maxlength="25" value="${cost.usdRate}">
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="td-inner">
|
<div class="td-inner">
|
||||||
<input type="text" class="input-text sep xl" name="jpDlvyCtArr" title="일본 내 물류비" maxlength="25" value="${cost.jpDlvyCt}">
|
<input type="text" class="input-text sep xl right" name="jpDlvyCtArr" title="일본 내 물류비" maxlength="25" value="${cost.jpDlvyCt}">
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="td-inner">
|
<div class="td-inner">
|
||||||
<input type="text" class="input-text sep xl" name="intlDlvyAmtArr" title="운임비용(JP)" maxlength="25" value="${cost.intlDlvyAmt}">
|
<input type="text" class="input-text sep xl right" name="intlDlvyAmtArr" title="운임비용(JP)" maxlength="25" value="${cost.intlDlvyAmt}">
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="td-inner">
|
<div class="td-inner">
|
||||||
<input type="text" class="input-text digit2 xl" name="pltfomFeeArr" title="플랫폼 수수료율" maxlength="25" value="${cost.pltfomFee}">
|
<input type="text" class="input-text digit2 xl right" name="pltfomFeeArr" title="플랫폼 수수료율" maxlength="25" value="${cost.pltfomFee}">
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="td-inner">
|
<div class="td-inner">
|
||||||
<input type="text" class="input-text digit3 xl" name="expctTaxArr" title="예상세율" maxlength="25" value="${cost.expctTax}">
|
<input type="text" class="input-text digit3 xl right" name="expctTaxArr" title="예상세율" maxlength="25" value="${cost.expctTax}">
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="td-inner">
|
<div class="td-inner">
|
||||||
<input type="text" class="input-text sep xl" name="cstmsFeeArr" title="통관수수료" maxlength="25" value="${cost.cstmsFee}">
|
<input type="text" class="input-text sep xl right" name="cstmsFeeArr" title="통관수수료" maxlength="25" value="${cost.cstmsFee}">
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="td-inner">
|
<div class="td-inner">
|
||||||
<input type="text" class="input-text sep xl" name="krDlvyCtArr" title="운임비용(KR)" maxlength="25" value="${cost.krDlvyCt}">
|
<input type="text" class="input-text sep xl right" name="krDlvyCtArr" title="운임비용(KR)" maxlength="25" value="${cost.krDlvyCt}">
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user