公司类目编辑选项回显

This commit is contained in:
HH 2023-03-23 00:17:57 +08:00
parent 71f310224f
commit 8ba5a72c87
1 changed files with 3 additions and 3 deletions

View File

@ -117,7 +117,7 @@
<div class="form-group"> <div class="form-group">
<label class="col-sm-6 control-label">是否热门类目:</label> <label class="col-sm-6 control-label">是否热门类目:</label>
<div class="col-sm-6"> <div class="col-sm-6">
<select name="isHot" class="form-control m-b" th:with="type=${@dict.getType('sys_user_sex')}"> <select name="isHot" class="form-control m-b" th:field="*{isHot}" th:with="type=${@dict.getType('sys_user_sex')}">
<option th:text="否" th:value="0"/> <option th:text="否" th:value="0"/>
<option th:text="是" th:value="1"/> <option th:text="是" th:value="1"/>
</select> </select>
@ -151,7 +151,7 @@
<div class="form-group"> <div class="form-group">
<label class="col-sm-6 control-label">是否需要证书:</label> <label class="col-sm-6 control-label">是否需要证书:</label>
<div class="col-sm-6"> <div class="col-sm-6">
<select name="isCert" class="form-control m-b" th:with="type=${@dict.getType('sys_user_sex')}"> <select name="isCert" class="form-control m-b" th:field="*{isCert}" th:with="type=${@dict.getType('sys_user_sex')}">
<option th:text="否" th:value="0"/> <option th:text="否" th:value="0"/>
<option th:text="是" th:value="1"/> <option th:text="是" th:value="1"/>
</select> </select>
@ -162,7 +162,7 @@
<div class="form-group"> <div class="form-group">
<label class="col-sm-6 control-label">是否需要保险:</label> <label class="col-sm-6 control-label">是否需要保险:</label>
<div class="col-sm-6"> <div class="col-sm-6">
<select name="isSure" class="form-control m-b" th:with="type=${@dict.getType('sys_user_sex')}"> <select name="isSure" class="form-control m-b" th:field="*{isSure}" th:with="type=${@dict.getType('sys_user_sex')}">
<option th:text="否" th:value="0"/> <option th:text="否" th:value="0"/>
<option th:text="是" th:value="1"/> <option th:text="是" th:value="1"/>
</select> </select>