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.
63 lines
2.0 KiB
63 lines
2.0 KiB
<%--
|
|
Created by IntelliJ IDEA.
|
|
User: W
|
|
Date: 2026/5/8
|
|
Time: 15:27
|
|
To change this template use File | Settings | File Templates.
|
|
--%>
|
|
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
|
<html>
|
|
<head>
|
|
<title>新增家庭预算</title>
|
|
</head>
|
|
<body>
|
|
<h3>家庭预算新增表单</h3>
|
|
<form action="${pageContext.request.contextPath}/budget/add" method="post">
|
|
<table border="1" cellpadding="8">
|
|
<tr>
|
|
<td>预算编号:</td>
|
|
<td><input type="number" name="bid" required></td>
|
|
</tr>
|
|
<tr>
|
|
<td>预算名称:</td>
|
|
<td><input type="text" name="budgetName" required></td>
|
|
</tr>
|
|
<tr>
|
|
<td>预算类型:</td>
|
|
<td>
|
|
<input type="radio" name="budgetType" value="日常消费" checked>日常消费
|
|
<input type="radio" name="budgetType" value="餐饮美食">餐饮美食
|
|
<input type="radio" name="budgetType" value="交通出行">交通出行
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>总预算金额:</td>
|
|
<td><input type="number" step="0.01" name="totalMoney" required></td>
|
|
</tr>
|
|
<tr>
|
|
<td>已使用金额:</td>
|
|
<td><input type="number" step="0.01" name="usedMoney" required></td>
|
|
</tr>
|
|
<!-- 这里替换为日期选择器,再也不会格式错误 -->
|
|
<tr>
|
|
<td>预算起始日期:</td>
|
|
<td><input type="date" name="startTime" required></td>
|
|
</tr>
|
|
<tr>
|
|
<td>预算结束日期:</td>
|
|
<td><input type="date" name="endTime" required></td>
|
|
</tr>
|
|
<tr>
|
|
<td>备注说明:</td>
|
|
<td><textarea name="remark" rows="4" cols="30"></textarea></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" align="center">
|
|
<input type="submit" value="提交新增">
|
|
<input type="reset" value="重置表单">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</body>
|
|
</html> |