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

📄 attachadd.jsp

📁 tomcat最新安装程序
💻 JSP
字号:
<%@ page contentType="text/html;charset=GB2312"%>
<%@ page import="cn.com.aheadsoft.recordset.DetailRecordSet,cn.com.aheadsoft.recordset.DEAttachRecordSet" %>
<%
	//DEAttachRecordSet set = (DEAttachRecordSet) request.getAttribute("result");
	DetailRecordSet detail = (DetailRecordSet) request.getAttribute("detail");
	String D_Serial = (String)request.getAttribute("D_Serial");
%>
                  <%                  
			detail.next();
			String P_Serial = detail.getP_Serial();
			String P_Code = detail.getP_Code();
			String A_Serial = detail.getA_Serial();%>
<html>
<head>
<link rel="stylesheet" type="text/css" href="/krm/jsp/css/css.css">
<title>任务实施附件页</title></head>
<script language="JavaScript" type="text/JavaScript">
<!--

	function isSubmit(){
		isok = false;
		if(document.addplan.P_File.value == null || document.addplan.P_File.value == ""){
			alert("至少还有一项没填!");
		}else{
			document.addplan.submit();
		}
		
	}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function isproject(){
	if(document.addproject.searchItem2.checked = true){
			document.addproject.searchItem3.checked = false;
			document.addproject.A_Serial.disabled = false;
			document.addproject.P_Serial.disabled = true;
	}
	if(document.addproject.searchItem3.checked = true){
			document.addproject.searchItem2.checked = false;
			document.addproject.A_Serial.disabled = true;
			document.addproject.P_Serial.disabled = false;
	}
}
//-->
</script>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
        <form name="addplan" method="POST" action="/krm/servlet/TaskUploadServlet?D_Serial=<%=D_Serial%>&&A_Serial=<%=A_Serial%>&&P_Serial=<%=P_Serial%>&&P_Code=<%=P_Code%>" enctype="multipart/form-data">
        <!--<form name="addplan" method="POST" action="/krm/jsp/tskmanage/detail/doattachadd.jsp" enctype="multipart/form-data">  -->
<!--<form name="addplan" method="POST" action="/krm/servlet/TotalItemServlet?module=deattach&&status=i&&D_Serial=<%=D_Serial%>" >-->
<table width="102%" border="0" cellpadding="0" cellspacing="0"  align="center">
  <tr height="8">
    <td></td>
  </tr>
  <tr>
    <td align="center"  valign="top">
 
      <table border="0" width="100%" align="center"  class="collapse">
                  <!--<tr>
		      <input type="hidden" name="A_Serial" value="<%=A_Serial%>">
		      <input type="hidden" name="P_Serial" value="<%=P_Serial%>">
		      <input type="hidden" name="P_Code" value="<%=P_Code%>">
		      <input type="hidden" name="D_Serial" value="<%=D_Serial%>">
                  </tr>-->
	  
             <tr>
		     <td  colspan="6" class="tdA">上传相关附件</td></tr>
		   		  		
  		<tr>
		    <td class="common bgcolor" >附件</td>
		    <td colspan="2" class="common bgcolor">&nbsp;&nbsp;&nbsp;<input type="file" name="P_File" size=50 class="biglong">
		    </td>
		  </tr>
		  <tr>
	              
            <td colspan="3" align="center" class="common"><font color="#FF0000">请把附件大小限制在2M以下</font></td>
	  </tr>
		<tr>
		  
		<td align="center" colspan="3" class="tdC">
				<input type="button" value="添 加" onmouseover="this.className='button2'" onmouseout="this.className='button1'"  class="button1" onClick="isSubmit();">
		        <input type="button" value="返 回" onmouseover="this.className='button2'" onmouseout="this.className='button1'"  class="button1" onClick="history.back(1);">

		</td>
		</tr>
        </table>
        </td>
</tr>	
</table>
</form>
</body>
</html>		

⌨️ 快捷键说明

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