You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.1 KiB
37 lines
1.1 KiB
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
|
<html>
|
|
<head>
|
|
<title>新增持股</title>
|
|
</head>
|
|
<body>
|
|
<h3>持股新增表单</h3>
|
|
<form action="${pageContext.request.contextPath}/stock/add" method="post">
|
|
<table border="1" cellpadding="8">
|
|
<tr> <td>股票代码:</td>
|
|
<td><input type="text" name="stockCode" required></td>
|
|
</tr>
|
|
<tr>
|
|
<td>股票名称:</td>
|
|
<td><input type="text" name="stockName" required></td>
|
|
</tr>
|
|
<tr>
|
|
<td>持股数量:</td>
|
|
<td><input type="number" name="holdCount" required></td>
|
|
</tr>
|
|
<tr>
|
|
<td>成本价:</td>
|
|
<td><input type="number" step="0.01" name="costPrice" required></td>
|
|
</tr>
|
|
<tr>
|
|
<td>当前价:</td>
|
|
<td><input type="number" step="0.01" name="currentPrice"></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" align="center">
|
|
<input type="submit" value="提交持股信息">
|
|
</td>
|
|
</tr>
|
|
</table></br>
|
|
</form>
|
|
</body>
|
|
</html> |