Bladeren bron

fix: 通风模块bug

lufeng 2 jaren geleden
bovenliggende
commit
968fd6ead6

+ 1 - 0
src/main/resources/static/app/intelligent/aeration/controller/aerationJobCtrl.js

@@ -180,6 +180,7 @@ angular.module('app.intelligent')
180 180
     $scope.save = function () {
181 181
     	$scope.aerationJob.tfkssj = $("#tfkssj").val();
182 182
     	$scope.aerationJob.tfjssj = $("#tfjssj").val();
183
+    	$scope.aerationJob.djrq = $("#djrq").val();
183 184
     	
184 185
     	if (!$scope.saveFlag) {
185 186
     		if (validator.form()) {

+ 3 - 3
src/main/resources/static/app/intelligent/aeration/views/aerationJob-edit.html

@@ -170,8 +170,8 @@
170 170
 											</th>
171 171
 											<th>
172 172
 												<label class="input">
173
-													<input type="text" ng-model="aerationJob.djrq" ng-disabled="isNotEdit"
174
-														name="djrq" class="form-control datepicker" required data-smart-datepicker>
173
+													<input type="text" ng-model="aerationJob.djrq" ng-disabled="isNotEdit" id="djrq"
174
+														name="djrq" class="form-control datepicker" required onClick="WdatePicker({lang:'zh-cn'})" >
175 175
 												</label>
176 176
 											</th>
177 177
 											<th>
@@ -449,7 +449,7 @@
449 449
 											</th>
450 450
 											<th>
451 451
 												<label class="input">
452
-													<input type="text" ng-model="aerationJob.zfdjmj"
452
+													<input type="text" ng-model="aerationJob.zfdjmjZhi"
453 453
 														ng-disabled="isNotEdit" name="zfdjmj" min="0" onkeyup="this.value= this.value.match(/\d+(\.\d{0,2})?/) ? this.value.match(/\d+(\.\d{0,2})?/)[0] : ''"
454 454
 														class="form-control" />
455 455
 												</label>