📄 add.jsp
字号:
<%@ page contentType="text/html;charset=GBK"%>
<%@ include file="/inc/pv/user.jsp"%>
<%@ include file="/inc/public/msg.jsp"%>
<%
//判断是否已经进行过试用申请
String strOfficeStyle = site.bean.SitePara.strVirtualName + "/member/" + igec.util.CookieUtil.getCookieValue(request,site.bean.SitePara.strCookieUserTheme,"stand");
%>
<%
String strType = request.getParameter("type");
if(igec.util.Tool.IsEmpty(strType)) strType = "0";
String strCurMenuName = igec.site.base.business.DataUtilBusiness.getFieldValue("TITLE","TAB_IGECMENU","WHERE ID='" + strMenuId + "'");
String strCurMenuPic = igec.site.base.business.DataUtilBusiness.getFieldValue("SHOWIMG","TAB_IGECMENU","WHERE ID='" + strMenuId + "'");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
<title> 会员办公室--<%=strCurMenuName%></title>
<style>
.font_12{
font-size:12px;
line-height:20px;
}
</style>
<script language="JavaScript" src="<%=site.bean.SitePara.strVirtualName%>/js/AjaxRequest.js"></script>
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/CalendarDlg.js"></script>
<script language="javascript" src="<%=strSkinBase%>/js/forbid.js"></script>
<link rel="stylesheet" rev="stylesheet" href="<%=strOfficeStyle%>/css/content.css" type="text/css" />
<link rel="stylesheet" rev="stylesheet" href="<%=strOfficeStyle%>/css/tree.css" type="text/css" />
<link rel="stylesheet" rev="stylesheet" href="<%=strOfficeStyle%>/css/mainframe.css" type="text/css" />
<link rel="stylesheet" rev="stylesheet" href="<%=strOfficeStyle%>/css/css.css" type="text/css" />
<script type="text/javascript" src="<%=site.bean.SitePara.strVirtualName%>/member/js/tree.jsp?baseurl=<%=strOfficeStyle%>"></script>
<script language="JavaScript" src="<%=site.bean.SitePara.strVirtualName%>/js/public.js"></script>
<script language="JavaScript" src="<%=site.bean.SitePara.strVirtualName%>/js/xmlhttp.js"></script>
<script language="JavaScript" src="<%=site.bean.SitePara.strVirtualName%>/js/check.js"></script>
<link rel="shortcut icon" href="<%=site.bean.SitePara.strVirtualName%>/favicon.ico">
<script language="javascript">
<!--
function setCodeName(loObj){
var loTargetObj = getObject("codeName");
if(loTargetObj==null){
alert("接受对象为空!");
return;
}
if(loObj==null) return;
if(typeof(loObj.length)=="undefined"){
loTargetObj.value = loObj.label;
}else{
for(var i=0;i<loObj.length;i++){
if(loObj[i].selected){
loTargetObj.value = loObj[i].label;
}
}
}
}
//-->
</script>
</head>
<body>
<%@ include file="../top.jsp"%>
<div id="screen">
<!--content-->
<div id="contentfloat">
<div id="content">
<table width="100%" border="0" align="center">
<tr>
<td width="98%" class="TableHeader"><strong><%=strCurMenuName%></strong></td>
</tr>
</table>
<table border="0" name="objBody" id="objBody" width="700" cellpadding="2" cellspacing="1" align="center" class="small">
<form action="?action=save&iid=<%=strMenuId%>&type=<%=strType%>" method="post" name="form1" onsubmit="return Check(this);" target="_IGEC_YL_IFRAME">
<input type="hidden" name="codeName" id="codeName" value="">
<tr>
<td colspan="4" class="font_12"><img src="<%=strSkinBase%>/images/menu/sys/<%=strCurMenuPic%>" align="absmiddle"> 基本信息 带<font color="#FF0000">*</font>号为必填项</td>
<td width="1%"></td>
</tr>
<%if(igec.site.extend.bean.SupplyPara.bOpenSetTitle){%>
<tr height="30">
<td width="15%" align="right" nowrap class="font_12"> 标题:</td>
<td class="font_12" colspan="3">
<input type="text" name="title" id="title" class="BigInput" size="35" maxlength="80" value="" EmptyDisable label="标题" > <font color="#FF0000">*</font> </td>
</tr>
<%}%>
<%if(!igec.site.extend.bean.SupplyPara.bOpenCodeSelect){%>
<tr height="30">
<td width="15%" align="right" nowrap class="font_12"> 品种:</td>
<td class="font_12" colspan="3">
<input type="text" name="codeName" id="codeName" class="BigInput" size="25" maxlength="40" value="" EmptyDisable label="品种名称" > <font color="#FF0000">*</font> </td>
</tr>
<%}else{%>
<tr height="30">
<td nowrap class="font_12" width="15%" align="right"> 品种:</td>
<td class="font_12" colspan="3" >
<select name="codeId" id="codeId" EmptyDisable label="品种" onchange="setCodeName(this);">
<option value="">请选择对应的品种</option>
<script language="javascript" src="<%=igec.site.base.bean.SitePara.strVirtualName%>/file/static/js/supplycode.js"></script>
</select> <font color="#FF0000">*</font> </td>
</tr>
<%}%>
<tr height="30">
<td align="right" nowrap class="font_12"> 有效期(截止):</td>
<td class="font_12" colspan="3"><input type="text" name="endDate" id="endDate" class="BigInput" size="12" maxlength="10" label="有效期截止时间" value="<%=igec.util.Tool.getStrTime(igec.util.DateBean.getNextTime(igec.util.Tool.getCurTime(),7,4),1)%>" ValueFormat="Date"> <img src="<%=strSkinBase%>/images/menu/calendar.gif" border="0" align="absMiddle" style="cursor:hand" onclick="fPopUpCalendarDlg('<%=igec.site.base.bean.SitePara.strVirtualName%>',document.getElementById('endDate'));"> </td>
</tr>
<%if(igec.site.extend.bean.SupplyPara.bOpenUseArea){%>
<tr height="30">
<td width="15%" align="right" nowrap class="font_12"> 地区:</td>
<td class="font_12" colspan="3">
<script language="javascript" src="<%=igec.site.base.bean.SitePara.strVirtualName%>/file/static/js/supplyareal.js"></script>
<font color="#FF0000">*</font> </td>
</tr>
<%}%>
<%if(igec.site.extend.bean.SupplyPara.bOpenDwInfo){%>
<tr height="30">
<td width="15%" align="right" nowrap class="font_12"> 单位名称:</td>
<td class="TableData" colspan="3">
<input type="text" name="corpName" id="corpName" class="font_12" size="35" maxlength="80" value="" label="单位名称" > </td>
</tr>
<tr height="30">
<td width="15%" align="right" nowrap class="font_12"> 单位地址:</td>
<td class="TableData" colspan="3">
<input type="text" name="corpAddr" id="corpAddr" class="font_12" size="45" maxlength="100" value="" label="单位地址" > </td>
</tr>
<%}%>
<tr height="30">
<td width="15%" align="right" nowrap class="font_12"> 联系人:</td>
<td width="26%" class="font_12">
<input type="text" name="linkname" id="linkname" class="BigInput" size="15" maxlength="20" value="" EmptyDisable label="联系人" > <font color="#FF0000">*</font> </td>
<td width="15%" align="right" nowrap class="font_12"> 联系电话:</td>
<td width="43%" class="TableData">
<input type="text" name="linktel" id="linktel" class="BigInput" size="20" maxlength="25" value="" EmptyDisable label="联系电话" > <font color="#FF0000">*</font>
</td>
</tr>
<%if(igec.site.extend.bean.SupplyPara.bOpenPriceCount){%>
<tr height="30">
<td width="15%" align="right" nowrap class="font_12"> 价格:(<%=igec.site.extend.bean.SupplyPara.strPriceDw%>)</td>
<td class="font_12">
<input type="text" name="price" id="price" class="BigInput" size="10" maxlength="10" value="" ValueFormat="num" label="价格" > 空为面谈 </td>
<td width="15%" align="right" nowrap class="font_12"> 数量:(<%=igec.site.extend.bean.SupplyPara.strCountDw%>)</td>
<td class="font_12">
<input type="text" name="count" id="count" class="BigInput" size="10" maxlength="15" value="" label="数量" ValueFormat="num" > 空为不限 </td>
</tr>
<%}%>
<tr>
<td align="right" nowrap class="TableData"> 备注:</td>
<td class="font_12" colspan="3">
<textarea name="intro" id="intro" label="备注" onchange="return CheckLength(this,125);" rows=5 cols=60></textarea> 注:不超过125个汉字 </td>
</tr>
<tr align="center" class="TableControl">
<td colspan="4" nowrap class="font_12">
<input type="hidden" name="passFlag" value="0" id="passFlag">
<input type="submit" value="保 存" class="BigButton" title="保存<%=strCurMenuName%>">
<!--<input type="button" value="关 闭" class="BigButton" onClick="javascript:window.close();">-->
</td>
</tr>
</form>
</table>
<iframe id="_IGEC_YL_IFRAME" name="_IGEC_YL_IFRAME" src="" width="0" height="0" style="display:none"></iframe>
<br />
<br />
</div>
</div>
<!--end/content-->
<!--left-->
<div id="leftmenu">
<!--menu-->
<div id="tree1"></div>
<!--end/menu-->
</div>
<!--end/left-->
</div>
<script language="javascript" src="<%=strOfficeStyle%>/menu.jsp?iid=<%=request.getParameter("iid")%>"></script>
<script type="text/javascript">treeInit();</script>
<%@ include file="../bot.jsp"%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -