WebRoot/Buy/buyinfo_add.jsp

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%> 
<html>
  <head> 
    <title>汽车采购信息录入</title>  
    <link href="<%=basePath %>css/buy.css" rel="stylesheet" type="text/css"  /> 
    <script src="<%=basePath %>js/utf-8.js" type="text/javascript"></script> 
  </head>
  
  <body>
	 <s:if test="#request.result != null"> 
		<script>alert(UTF_8.decode('<s:property value="#request.result"/>'));</script>
	</s:if>
	
  <div id="container">
  	<div id="title">
  		<img src="<%=basePath %>images/ADD.gif">汽车采购信息录入 (带*号的为必填项)
  	</div>
  	<div id="content">
  		<form action="/CarSellSystem/buy/buy_AddBuyInfo.action" method="post" name="form1">
  		<p>
  			汽车名称:
  			<select name="buyInfo.carname"> 
				<s:iterator value="carNameList">
			    	<option value='<s:property value="carName"/>'><s:property value="carName"/></option>
				</s:iterator>
		 	</select>
		</p> 
		<p>
			供应商:
			<select name="buyInfo.supplyer">
			     <s:iterator value="supplyerList">
			    	<option value='<s:property value="supplyername"/>'><s:property value="supplyername"/></option>
				</s:iterator> 
			</select>
		</p>
		<p>
			型号: <input type=text name="buyInfo.model"  class="text" >
		</p>
		<p>
			单价: <input type=text name="buyInfo.price" class="text">元
		</p>
		<p>
			数量: <input type=text name="buyInfo.number" class="text">辆
		</p>
		<p>
			进货日期:
			  <select name="buyInfo.year">
			    <% for(int i=2000;i<=2030;i++) { %>
			    <option value='<%=i %>'><%=i %></option>
			    <%} %> 
			  </select>年
			  <select name="buyInfo.month">
				  <% for(int i=1;i<=12;i++) { %>
			    <option value='<%=i %>'><%=i %></option>
			    <%} %> 
后面还有 28 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。