<div class="select-list">
<ul>
<li th:each="iterStat,iterStat1: ${publicProcessBadList}">
<input type='text' th:attr="name='badList['+${iterStat1.index}+'].badName'" th:value='${iterStat.badName}' style="border: hidden;width: 85px;text-align:right;" readonly='readonly'>
<input type="text" th:attr="name='badList['+${iterStat1.index}+'].badNumber'" style="width: 120px" onkeyup="value=value.replace(/[^\d.]/g,'')" th:value="${iterStat.badNumber}"/>
</li>
</ul>
</div>
thymeleaf 动态生成数据及回显并提交
最新推荐文章于 2024-03-31 16:23:57 发布