2 Commits e1a666ba6b ... d501e8a7c3

Author SHA1 Message Date
  maopixin d501e8a7c3 Merge branch 'master' of http://101.36.160.140:21044/depot-tianjin/depot-web-tianjin 2 years ago
  maopixin d4562973a8 fix: 提交人 2 years ago

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

@@ -114,7 +114,7 @@ angular.module('app.storage').controller("monthDetailCtrl", function ($scope, $r
114
 		$scope.form.bh = 'YB_' + $filter('date')(now, 'yyyy-MM-dd_HHmmss')
114
 		$scope.form.bh = 'YB_' + $filter('date')(now, 'yyyy-MM-dd_HHmmss')
115
 		$scope.form.tjrq = $filter('date')(now, 'yyyy-MM-dd')
115
 		$scope.form.tjrq = $filter('date')(now, 'yyyy-MM-dd')
116
 		$scope.form.lkmc = $rootScope.orgInfo.orgName
116
 		$scope.form.lkmc = $rootScope.orgInfo.orgName
117
-		$scope.form.tjr = $rootScope.orgInfo.orgName
117
+		$scope.form.tjr = $rootScope.userInfo.realName
118
 	}
118
 	}
119
 
119
 
120
 	var validator = $("#violation-form").validate();
120
 	var validator = $("#violation-form").validate();

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

@@ -114,7 +114,7 @@ angular.module('app.storage').controller("quarterDetailCtrl", function ($scope,
114
 		$scope.form.bh = 'JB_' + $filter('date')(now, 'yyyy-MM-dd_HHmmss')
114
 		$scope.form.bh = 'JB_' + $filter('date')(now, 'yyyy-MM-dd_HHmmss')
115
 		$scope.form.tjrq = $filter('date')(now, 'yyyy-MM-dd')
115
 		$scope.form.tjrq = $filter('date')(now, 'yyyy-MM-dd')
116
 		$scope.form.lkmc = $rootScope.orgInfo.orgName
116
 		$scope.form.lkmc = $rootScope.orgInfo.orgName
117
-		$scope.form.tjr = $rootScope.orgInfo.orgName
117
+		$scope.form.tjr = $rootScope.userInfo.realName
118
 	}
118
 	}
119
 
119
 
120
 	var validator = $("#violation-form").validate();
120
 	var validator = $("#violation-form").validate();

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

@@ -106,7 +106,7 @@ angular.module('app.storage').controller("weekDetailCtrl", function ($scope, $ro
106
 		$scope.form.bh = 'ZB_' + $filter('date')(now, 'yyyy-MM-dd_HHmmss')
106
 		$scope.form.bh = 'ZB_' + $filter('date')(now, 'yyyy-MM-dd_HHmmss')
107
 		$scope.form.tjrq = $filter('date')(now, 'yyyy-MM-dd')
107
 		$scope.form.tjrq = $filter('date')(now, 'yyyy-MM-dd')
108
 		$scope.form.lkmc = $rootScope.orgInfo.orgName
108
 		$scope.form.lkmc = $rootScope.orgInfo.orgName
109
-		$scope.form.tjr = $rootScope.orgInfo.orgName
109
+		$scope.form.tjr = $rootScope.userInfo.realName
110
 	}
110
 	}
111
 	var validator = $("#violation-form").validate();
111
 	var validator = $("#violation-form").validate();
112
 	$scope.save = function() {
112
 	$scope.save = function() {