<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ include file="../../language.jsp" %>

<script src="../scripts/itsm/config/basicConfig/currencyGrid.js?random=<%=new java.util.Date().getTime()%>"></script>


<div class="loading" id="currencyMain_loading"><img src="../images/icons/loading.gif" /></div>

<!-- 树形主面板开始-->
<div class="content" id="currencyMain_content">

<!-- Customer start -->
<table id="currencyGrid"></table>
<div id="currencyGridPager"></div>
<div id="currencyGridToolbar" style="display: none">
<sec:authorize url="/pages/currency!saveOrUpdateCurrency.action">
<a class="easyui-linkbutton" plain="true" icon="icon-add" id="addCurrencyBtn"><fmt:message key="common.add"/></a>
</sec:authorize>
<sec:authorize url="/pages/currency!saveOrUpdateCurrency.action">
<a class="easyui-linkbutton" plain="true" icon="icon-edit" id="editCurrencyBtn"><fmt:message key="common.edit"/></a>
</sec:authorize>
<sec:authorize url="/pages/currency!deleteCurrencys.action">
<a class="easyui-linkbutton" plain="true" icon="icon-cancel" id="deleteCurrencyBtn"><fmt:message key="common.delete"/></a> 
</sec:authorize>
</div>




<!-- 新增编辑货币单位 -->

<div id="addEditCurrencyGrid" class="easyui-window" closed="true" collapsible="false" minimizable="false" maximizable="false" modal="true" title="<fmt:message key="title.basicConfig.addOrEditCurrency"/>" style="width: 400px; height:auto">

<form id="addEditCurrencyForm">

  <div class="lineTableBgDiv" >
    <table  class="lineTable" width="100%" cellspacing="1"> 

	<tr>
		<td>
		<fmt:message key="label.basicConfig.currencyName"/>
		</td>
		<td>
		<input name="currencyDTO.cname" id="currency_cname" class="easyui-validatebox input" required="true"/>
		</td>
	</tr>

	<tr>
		<td>
		<fmt:message key="label.basicConfig.currencySign"/>
		</td>
		<td>
		<select name="currencyDTO.sign" id="currency_sign">
			<option value="">--<fmt:message key="label.basicConfig.currencySign"/>--</option>
			<option value="￥： CNY">￥： CNY</option>
			<option value="＄:USD">＄:USD</option>
			<option value="GBP">GBP</option>
			<option value="EUR">EUR</option>
			<option value="J.￥:JPY">J.￥:JPY</option>
			<option value="CHF">CHF</option>
			<option value="＄A: AUD">＄A: AUD</option>
			<option value="Can.＄:CAD">Can.＄:CAD</option>
			<option value="S.＄：SGD">S.＄：SGD</option>
			<option value="HK＄ : HKD">HK＄ : HKD</option>
			<option value="ISK">ISK</option>
			<option value="DKK">DKK</option>
			<option value="NOK">NOK</option>
			<option value="SEK">SEK</option>
			<option value="FIM">FIM</option>
			<option value="SUR">SUR</option>
			<option value="INR">INR</option>
			<option value="BRC">BRC</option>
		</select>
		
		</td>
	</tr>

	<tr>
		<td>
		<fmt:message key="label.basicConfig.currencyDefault"/>
		</td>
		<td>
		<input type="checkbox" name="currencyDTO.isDefault" id="currency_isDefault" value="true"/> <fmt:message key="label.basicConfig.currencyDefaultYes"/>
		</td>
	</tr>
	

	<tr>
		<td colspan="2" style="height: 50px">
		<input type="hidden" name="currencyDTO.cno" id="currency_cno" />
		<a id="saveCurrencyBtn" class="easyui-linkbutton" icon="icon-ok"><fmt:message key="common.submit"/></a>
		</td>
	</tr>

</table>
</div>
</form>

</div>




</div>