Browse Source

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

maopixin 2 years ago
parent
commit
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
 			$scope.form.houseType = $rootScope.storehouseObj[$scope.form.houseId].storehouseType
39
 			$scope.form.houseType = $rootScope.storehouseObj[$scope.form.houseId].storehouseType
40
 			warehouseService.getStorehouse($rootScope.orgInfo.orgId, $scope.form.houseId, "0").then(function(data){
40
 			warehouseService.getStorehouse($rootScope.orgInfo.orgId, $scope.form.houseId, "0").then(function(data){
41
 				$scope.wareList = data.wareList;  //下拉列表数据
41
 				$scope.wareList = data.wareList;  //下拉列表数据
42
+				
43
+				$scope.onTimeChange()
42
 			},function(data){
44
 			},function(data){
43
 				console.log(data);
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
 			$scope.form.houseType = $rootScope.storehouseObj[$scope.form.houseId].storehouseType
39
 			$scope.form.houseType = $rootScope.storehouseObj[$scope.form.houseId].storehouseType
40
 			warehouseService.getStorehouse($rootScope.orgInfo.orgId, $scope.form.houseId, "0").then(function(data){
40
 			warehouseService.getStorehouse($rootScope.orgInfo.orgId, $scope.form.houseId, "0").then(function(data){
41
 				$scope.wareList = data.wareList;  //下拉列表数据
41
 				$scope.wareList = data.wareList;  //下拉列表数据
42
+
43
+				$scope.onTimeChange()
42
 			},function(data){
44
 			},function(data){
43
 				console.log(data);
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
 			$scope.form.houseType = $rootScope.storehouseObj[$scope.form.houseId].storehouseType
31
 			$scope.form.houseType = $rootScope.storehouseObj[$scope.form.houseId].storehouseType
32
 			warehouseService.getStorehouse($rootScope.orgInfo.orgId, $scope.form.houseId, "0").then(function(data){
32
 			warehouseService.getStorehouse($rootScope.orgInfo.orgId, $scope.form.houseId, "0").then(function(data){
33
 				$scope.wareList = data.wareList;  //下拉列表数据
33
 				$scope.wareList = data.wareList;  //下拉列表数据
34
+				
35
+				$scope.onTimeChange()
34
 			},function(data){
36
 			},function(data){
35
 				console.log(data);
37
 				console.log(data);
36
 			});
38
 			});