Преглед изворни кода

项目附件类型设置代码变更

user5 пре 4 година
родитељ
комит
5cb17c3225

+ 4 - 5
src/main/webapp/webpage/modules/projectAccessory/projectAccessoryRelation/projectAccessoryRelationList.jsp

@@ -271,11 +271,10 @@
 						<div class="layui-item query athird ">
 							<label class="layui-form-label">项目类型:</label>
 							<div class="layui-input-block">
-								<select name="attachmentProjectType" id="attachmentProjectType" lay-filter="typeFilter">
-									<option value=""></option>
-									<option value="1" <c:if test="${attachmentProjectType=='1'}">selected</c:if>>工程咨询</option>
-									<option value="2" <c:if test="${attachmentProjectType=='2'}">selected</c:if>>造价审核</option>
-								</select>
+								<form:select path="attachmentProjectType" class=" form-control  simple-select" lay-filter="typeFilter">
+									<form:option value="" label=""/>
+									<form:options items="${fns:getMainDictList('attachment_project_type')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
+								</form:select>
 							</div>
 						</div>
 						<div class="layui-item query athird">