Kaynağa Gözat

fix: 仓房选择时,搜索温湿度列表

maopixin 2 yıl önce
ebeveyn
işleme
576fa16348

+ 2 - 0
src/main/resources/static/app/storage/foodstuffAnalysis/controller/monthDetailCtrl.js

@@ -39,6 +39,8 @@ angular.module('app.storage').controller("monthDetailCtrl", function ($scope, $r
39 39
 			$scope.form.houseType = $rootScope.storehouseObj[$scope.form.houseId].storehouseType
40 40
 			warehouseService.getStorehouse($rootScope.orgInfo.orgId, $scope.form.houseId, "0").then(function(data){
41 41
 				$scope.wareList = data.wareList;  //下拉列表数据
42
+				
43
+				$scope.onTimeChange()
42 44
 			},function(data){
43 45
 				console.log(data);
44 46
 			});

+ 2 - 0
src/main/resources/static/app/storage/foodstuffAnalysis/controller/quarterDetailCtrl.js

@@ -39,6 +39,8 @@ angular.module('app.storage').controller("quarterDetailCtrl", function ($scope,
39 39
 			$scope.form.houseType = $rootScope.storehouseObj[$scope.form.houseId].storehouseType
40 40
 			warehouseService.getStorehouse($rootScope.orgInfo.orgId, $scope.form.houseId, "0").then(function(data){
41 41
 				$scope.wareList = data.wareList;  //下拉列表数据
42
+
43
+				$scope.onTimeChange()
42 44
 			},function(data){
43 45
 				console.log(data);
44 46
 			});

+ 2 - 0
src/main/resources/static/app/storage/foodstuffAnalysis/controller/weekDetailCtrl.js

@@ -31,6 +31,8 @@ angular.module('app.storage').controller("weekDetailCtrl", function ($scope, $ro
31 31
 			$scope.form.houseType = $rootScope.storehouseObj[$scope.form.houseId].storehouseType
32 32
 			warehouseService.getStorehouse($rootScope.orgInfo.orgId, $scope.form.houseId, "0").then(function(data){
33 33
 				$scope.wareList = data.wareList;  //下拉列表数据
34
+				
35
+				$scope.onTimeChange()
34 36
 			},function(data){
35 37
 				console.log(data);
36 38
 			});