📄 itemedit.jsp
字号:
<%@ page contentType = "text/html;charset=GBK"%>
<%@ taglib uri="/WEB-INF/tag.tld" prefix="tag" %>
<%@ page import="cn.com.juneng.system.common.COMMON"%>
<%@ page import="cn.com.juneng.system.vo.SysDicItemVOImpl"%>
<link href="<%=request.getContextPath()%>/css/commonPage.css" rel="stylesheet" type="text/css">
<title>字典条目</title>
<script type='text/javascript' language='JavaScript' src='<%=request.getContextPath()%>/js/COMMON.js'></script>
<script type='text/javascript' language='JavaScript' src='<%=request.getContextPath()%>/js/calendar.js'></script>
<script language="JavaScript" src="<%=request.getContextPath()%>/js/xmlhttp.js"></script>
<script>
function toSpell(){
var hz = event.srcElement.value;
var spell = "";
var wholeSpell = "";
if(hz!=""){
var res = new methodInvoke("cn.com.juneng.system.common.util.CnToSpell","getFirstSpell",hz);
spell = res[1];
res = new methodInvoke("cn.com.juneng.system.common.util.CnToSpell","getFullSpell",hz);
wholeSpell = res[1];
}
form1.spell.value = spell;
form1.wholeSpell.value = wholeSpell;
}
</script>
<%
SysDicItemVOImpl vo = (SysDicItemVOImpl)request.getAttribute("VO");
%>
<table >
<tr>
<td class="tHeading"><div align='center'><b>字典条目<%=vo.isReadonly()?"":".编辑"%></b></div></td>
</tr>
<%
if(request.getAttribute("Error")!=null){%>
<tr>
<td ><font color='red'><%=request.getAttribute("Error")%></font></td>
</tr>
<%}%>
</table>
<form name="form1" action="<tag:attr source="ActionUrl" />" method="post">
<input type="hidden" name="readonly" value="<tag:attr source="VO" attr="readonly" />">
<input type="hidden" name="currentPage" value="<tag:attr source="VO" attr="currentPage" />">
<input type="hidden" name="actionType" value="<tag:attr source="VO" attr="actionType" />">
<input type="hidden" name="rid" value="<tag:attr source="VO" attr="rid" />">
<table <%=COMMON.TABLE_STYLE %> >
<tr>
<td class="list_condition_td_title">字典种类</td>
<td class="list_condition_td_input" ><input type="text" required="true" name="kind" value="<tag:attr source="VO" attr="kind" />"></td>
<td class="list_condition_td_title">字典编码</td>
<td class="list_condition_td_input" ><input type="text" required="true" name="code" value="<tag:attr source="VO" attr="code" />"></td>
</tr>
<tr>
<td class="list_condition_td_title">父字典ID</td>
<td class="list_condition_td_input" ><input type="text" name="parentId" readonly value="<tag:attr source="VO" attr="parentId" />"></td>
<td class="list_condition_td_title">中文描述</td>
<td class="list_condition_td_input" ><input type="text" required="true" name="detail" onblur="toSpell()" value="<tag:attr source="VO" attr="detail" />"></td>
</tr>
<tr>
<td class="list_condition_td_title">拼音头</td>
<td class="list_condition_td_input" ><input type="text" name="spell" value="<tag:attr source="VO" attr="spell" />"></td>
<td class="list_condition_td_title">全拼</td>
<td class="list_condition_td_input" ><input type="text" name="wholeSpell" value="<tag:attr source="VO" attr="wholeSpell" />"></td>
</tr>
<tr>
<td class="list_condition_td_title">备注说明</td>
<td class="list_condition_td_input" ><input type="text" name="remark" value="<tag:attr source="VO" attr="remark" />"></td>
</tr>
</table><br>
<%if(!vo.isReadonly()){%><input type=button value="保存" onclick="return CheckForm(form1)"><%}%>
<input type=button value="返回" onclick='back()'>
</form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -