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

📄 economy_login.jsp

📁 JSP科技企业信息管理系统[Eclipse]版.rarjsp+javabean
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" %>
<%@ page import="java.util.Date,java.text.SimpleDateFormat" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>


<script language="javascript">
<!--
function check() {
var sign;
sign="1"

if(form1.this_year_GDP.value.length>15)
   {sign="0"
    alert("今年GDP无效!")
   }
if(form1.this_year_high_tech_income.value.length>15)
   {sign="0"
    alert("今年高新收入无效!")
   }
if(form1.this_year_tech_income.value.length>15)
   {sign="0"
    alert("今年技术性收入无效!")
   }
if(form1.this_year_export.value.length>15)
   {sign="0"
    alert("今年出口收入无效!")
   }
if(form1.this_year_tax.value.length>15)
   {sign="0"
    alert("今年利税无效!")
   }
if(form1.this_year_profit.value.length>15)
   {sign="0"
    alert("今年利润无效!")
   }
if(form1.this_year_research_fee.value.length>15)
   {sign="0"
    alert("今年研发费无效!")
   }
if(form1.next_year_GDP.value.length>15)
   {sign="0"
    alert("明年GDP无效!")
   }
if(form1.next_year_high_tech_income.value.length>15)
   {sign="0"
    alert("明年高新收入无效!")
   }
if(form1.next_year_tech_income.value.length>15)
   {sign="0"
    alert("明年技术性收入无效!")
   }
if(form1.next_year_export.value.length>15)
   {sign="0"
    alert("明年出口收入无效!")
   }
if(form1.next_year_tax.value.length>15)
   {sign="0"
    alert("明年利税无效!")
   }
if(form1.next_year_profit.value.length>15)
   {sign="0"
    alert("明年利润无效!")
   }
if(form1.next_year_research_fee.value.length>15)
   {sign="0"
    alert("明年研发费无效!")
   }

if(sign==1)
{
  form1.submit();
}
}

//-->
</script>


<style TYPE="text/css">
<!--
body {font-size:10pt;color:#415161}
td {font-size:10pt;color:#415161}
th {font-size:10pt;color:#415161}
</style>

<%
SimpleDateFormat df=new SimpleDateFormat("yyyy");
String date=df.format(new Date());
int this_year=Integer.parseInt(date);
int next_year=this_year+1; 
%>


<form name="form1" method="post" action="economy_login_co.jsp">
  <table width="100%" border="1" cellspacing="0" bordercolor="#CCCCFF">
<tr> 
      <td colspan="4" bgcolor="#CCCCFF"><strong><%=(String)session.getValue("enterprise_name")%></strong></td>
    </tr>
  
<tr> 
      <td colspan="4"><strong><%=this_year%>年总产值</strong> 
        <input name="this_year_GDP" type="text" size="10">
        <strong>万元</strong></td>
    </tr>
    <tr> 
      <td colspan="2"><strong>高新技术产品收入</strong> 
        <input name="this_year_high_tech_income" type="text" size="8">
        <strong>万元</strong></td>
      <td colspan="2"><strong>技术性收入:</strong> 
        <input name="this_year_tech_income" type="text" size="8">
        <strong>万元</strong></td>
    </tr>
    <tr> 
      <td><strong>出口创汇:</strong> 
        <input name="this_year_export" type="text" size="8">
        <strong>万元</strong></td>
      <td><strong>利税:</strong> 
        <input name="this_year_tax" type="text" size="8">
        <strong>万元</strong></td>
      <td><strong>利润:</strong> 
        <input name="this_year_profit" type="text" size="8">
        <strong>万元</strong></td>
      <td><strong>研发费: </strong> 
        <input name="this_year_research_fee" type="text" size="8">
        <strong>万元</strong></td>
    </tr>
    <tr> 
      <td colspan="4"><strong>预计<%=next_year%>年总产值</strong> 
        <input name="next_year_GDP" type="text" size="10">
        <strong> 万元</strong></td>
    </tr>
    <tr> 
      <td colspan="2"><strong>高新技术产品收入</strong> 
        <input name="next_year_high_tech_income" type="text" size="8">
        <strong>万元</strong></td>
      <td colspan="2"><strong>技术性收入:</strong> 
        <input name="next_year_tech_income" type="text" size="8">
        <strong>万元</strong></td>
    </tr>
    <tr> 
      <td><strong>出口创汇:</strong> 
        <input name="next_year_export" type="text" size="8">
        <strong>万元</strong></td>
      <td><strong>利税:</strong> 
        <input name="next_year_tax" type="text" size="8">
        <strong>万元</strong></td>
      <td><strong>利润:</strong> 
        <input name="next_year_profit" type="text" size="8">
        <strong>万元</strong></td>
      <td><strong>研发费: </strong> 
        <input name="next_year_research_fee" type="text" size="8">
        <strong>万元</strong></td>
    </tr>
  </table>
  <div align="right">
    <input type="button" name="Submit" value="提交" onclick="check()">
  </div>
</form>
</html>

⌨️ 快捷键说明

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