<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>添加员工信息</title>
</head>
<body>
<h1>添加员工基本信息</h1>
<form action="433.jsp" method="post">
<label for="id">工号(2019开头):</label>
<input type="text" name="id" id="id" readonly>
<br><br>
<label for="name">员工姓名:</label>
<input type="text" name="name" id="name" required>
<br><br>
<label for="sex">员工性别:</label>
<select name="sex" id="sex" required>
<option value="男">男</option>
<option value="女">女</option>
</select>
<br><br>
<label for="birthday">出生日期:</label>
<input type="date" name="birthday" id="birthday" min="<?php echo date('Y-m-d'); ?>" required>
<br><br>
<label for="department">所属部门编号:</label>
<select name="department" id="department" required>
<option value="01">办公室</option>
<option value="02">财务部门</option>
<option value="03">销售部门</option>
<option value="04">生产一部</option>
<option value="05">生产二部</option>
<option value="06">生产三部</option>
<!-- 添加其他部门选项 -->
</select>
<br><br>
<label for="role">角色:</label>
<input type="text" name="role" id="role" value="员工" readonly>
<br><br>
<label for="password">登录密码:</label>
<input type="text" name="password" id="password" required>
<br><br>
<!-- 添加其他四项基本信息的字段 -->
<input type="submit" value="添加">
</form>
</body>
</html>