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

📄 inshopping_add.jsp

📁 是一个企业的进销存系统。账号问1001密码为123456
💻 JSP
字号:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<head>
		<style type="text/css">
<!--
.style3 {
	font-size: 12px;
	font-weight: bold;
}
.style5 {color: #FF00FF}
.style8 {
	font-size: 12px;
	color: #FF00FF;
}
-->
        </style></head>
<body bgcolor="#F1F4F8">  <%
  	if (session.getAttribute("yid")==null) {
	%>

	<script language=javascript>
    alert("对不起,您没有登录,请先登录!");
    window.location.href="../erro.jsp";
    </script>
  <%} %>
<table width="660" height="480">
<tr>
   <td bgcolor="#FFCCFF" width="660" height="30">
	<jsp:include flush="true" page="inshopping_top.jsp"/>
	</td>
  </tr>
  <tr>
    <td height="25"><strong><span class="style3"><font color="#CC33CC">----带*为必填下项----</font></span></strong></td>
  </tr>
  <tr>
    <td width="660" height="350"><form name="form1" method="post" action="<%=path %>/InShopping/InShoppingInsertTreat">
      <div align="center"><span class="style8">
     <%if(session.getAttribute("erro")=="null"){ %> 
     请将信息填写完整!
     <% session.removeAttribute("erro");}else if(session.getAttribute("erro")=="succ"){
     %>
        进货成功!
        <%
     session.removeAttribute("erro");}else if(session.getAttribute("erro")=="succ"){
      %>
        %>进货失败!
        <%session.removeAttribute("erro");}%>
        </span>      </div>
      <table width="391" height="175" align="center" bgcolor="#cccccc">
        <tr>
          <td bgcolor="#F1F4F8"><div align="right" class="style3">商品编号:</div></td>
          <td width="248" bgcolor="#F1F4F8">  &nbsp; &nbsp; &nbsp; &nbsp;   <input name="sid" type="text" size="20">
            <span class="style5">*</span></td>
        </tr>
        <tr>
          <td bgcolor="#F1F4F8"><div align="right" class="style3">进货单价:</div></td>
          <td bgcolor="#F1F4F8">    &nbsp; &nbsp; &nbsp; &nbsp; <input name="intprince" type="text" size="20">
            <span class="style5">*</span></td>
        </tr>
        <tr>
          <td bgcolor="#F1F4F8"><div align="right" class="style3">进货数量:</div></td>
          <td bgcolor="#F1F4F8">  &nbsp; &nbsp; &nbsp; &nbsp;  <input name="innum" type="text" size="20"> 
            <span class="style5">*</span></td>
        </tr>
        <tr>
          <td colspan="2" bgcolor="#F1F4F8">
            <div align="center">
              <input type="submit" name="Submit" value="添加">
			   &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
               <input type="reset" name="Submit2" value="重置">
            </div></td>
          </tr>
      </table>
    </form></td>
  </tr>
  <tr>
    <td width="660" height="50">&nbsp;</td>
  </tr>
</table>
</body>

⌨️ 快捷键说明

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