人员登记,添加表单岗位必填校验修改

kingbase
dshclm 10 months ago
parent 12e4cb0f43
commit 92df044d0b

@ -104,8 +104,8 @@
<div class="form-group"> <div class="form-group">
<label class="col-sm-4 control-label is-required">岗位:</label> <label class="col-sm-4 control-label is-required">岗位:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select id="post" class="form-control select2-multiple" multiple> <select id="post" class="form-control select2-multiple" required multiple>
<option th:each="post:${posts}" th:value="${post.postId}" th:text="${post.postName}" th:disabled="${post.status == '1'}" required></option> <option th:each="post:${posts}" th:value="${post.postId}" th:text="${post.postName}" th:disabled="${post.status == '1'}"></option>
</select> </select>
</div> </div>
</div> </div>

Loading…
Cancel
Save