⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 edit.jsp

📁 华东粮油电子交易市场网站源码华东粮油电子交易市场网站源码华东粮油电子交易市场网站源码
💻 JSP
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ include file="/inc/pv/developer.jsp"%>
<%@ include file="/inc/public/msg.jsp"%>
<%
	String strId = igec.util.Tool.getStr(request.getParameter("id"));
	if(igec.util.Tool.IsEmpty(strId)){
		showError("未指定模板组类型!",out);
		return;
	}
	String strModelZID = igec.util.Tool.getStr(request.getParameter("type"));
	if(igec.util.Tool.IsEmpty(strModelZID)){
		showError("未指定模板类型!",out);
		return;
	}
	String strModelZM = igec.site.base.business.DataUtilBusiness.getFieldValue("TITLE","TAB_IGECMODELZ","WHERE TYPE='" + strModelZID + "'");
	String strDataInfo[] = igec.site.base.business.DataUtilBusiness.getValue("SELECT SHOWTP,TITLE,XH FROM TAB_IGECMODELT WHERE ID='" + strId + "'");
	if(strDataInfo==null){
		showError("不存在您要编辑的模板组信息!",out);
		return;
	}
%>
<html>
<head>
<title>编辑<%=strModelZM%>类型</title>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<link rel="stylesheet" type="text/css" href="<%=strCssPath%>">
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/public.js"></script>
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/check.js"></script>
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/xmlhttp.js"></script>
<script language="javascript" src="<%=strSkinBase%>/js/forbid.js"></script>
<script language="javascript">
<!--
	function sendForm(loForm){
		if(!Check(loForm)){
			return false;
		}
		document.getElementById("mr").value = Math.random();
		try{
			aJax_SendForm(loForm,"");	
		}catch(eee){
			alert(eee.description);
		}
	}
//-->
</script>
</script>
</head>

<body class="bodycolor" topmargin="5" onload="setFocus('TNAME');resizeWin('objBody');">
<table name="objBody" id="objBody" border="0" cellspacing="1" width="450" class="small" bgcolor="#000000" cellpadding="3" align="center" >
<form action="<%=site.bean.SitePara.strVirtualName + site.bean.SitePara.strManageFolder%>/model.do?action=zupdate&id=<%=strId%>&type=<%=strModelZID%>" method="post" name="form1" onsubmit="javascript:sendForm(this);return false;">
<input type="hidden" name="mr" id="mr" value="">
 <tr>
    <td class="TableHeader" colspan="2"><img src="<%=strSkinBase%>/images/edit.gif" WIDTH="22" HEIGHT="20" align="absmiddle"><span class="big3"> 编辑<%=strModelZM%>类型</span>
    </td>
  </tr>  
    <tr>
    <td nowrap class="TableData">序号:</td>
    <td nowrap class="TableData">
        <input type="text" name="XH" class="BigInput" size="5" maxlength="8" value="<%=strDataInfo[2]%>" EmptyDisable label="序号">&nbsp;控制显示顺序<br>
    </td>
   </tr>
   <tr>
    <td nowrap class="TableData">类型关键字:</td>
    <td nowrap class="TableData">
        <input type="text" name="TKEY" class="BigInput" size="8" maxlength="10" value="<%=strDataInfo[0]%>" EmptyDisable label="类型关键字">&nbsp;不能为空
    </td>
   </tr>
   <tr>
    <td nowrap class="TableData">类型名称:</td>
    <td nowrap class="TableData">
        <input type="text" name="TNAME" class="BigInput" size="25" maxlength="40" value="<%=strDataInfo[1]%>" EmptyDisable label="类型名称">&nbsp;不能为空
    </td>
   </tr>
    <td nowrap  class="TableControl" colspan="2" align="center">
        <input type="submit" value="确定" class="BigButton">&nbsp;&nbsp;
        <input type="button" value="关闭" class="BigButton" onclick="window.close();">
    </td>
  </form>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -