Browse Source

虫害监测功能中虫害登记设置为下拉

fanxiongwei 2 years ago
parent
commit
895932d000

+ 5 - 3
src/main/resources/static/app/intelligent/grainDetection/views/insectPestDetection-edit.html

@@ -87,9 +87,11 @@
87
 											</th>
87
 											</th>
88
 											<th>
88
 											<th>
89
 												<section>
89
 												<section>
90
-													<label class="input">
91
-														<input class="form-control" type="text" ng-model="insectPests.cldjpd"
92
-															   name="cldjpd" validFrequency="true" required>
90
+													<label class="select">
91
+														<select ng-model="insectPests.cldjpd" name="cldjpd"
92
+																ng-options="enum.enumid as enum.enumname for enum in dicDataList[5281]" required>
93
+															<option value="">--请选择--</option>
94
+														</select><i></i>
93
 													</label>
95
 													</label>
94
 												</section>
96
 												</section>
95
 											</th>
97
 											</th>