maopixin 2 роки тому
батько
коміт
d4562973a8

+ 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 114
 		$scope.form.bh = 'YB_' + $filter('date')(now, 'yyyy-MM-dd_HHmmss')
115 115
 		$scope.form.tjrq = $filter('date')(now, 'yyyy-MM-dd')
116 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 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 114
 		$scope.form.bh = 'JB_' + $filter('date')(now, 'yyyy-MM-dd_HHmmss')
115 115
 		$scope.form.tjrq = $filter('date')(now, 'yyyy-MM-dd')
116 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 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 106
 		$scope.form.bh = 'ZB_' + $filter('date')(now, 'yyyy-MM-dd_HHmmss')
107 107
 		$scope.form.tjrq = $filter('date')(now, 'yyyy-MM-dd')
108 108
 		$scope.form.lkmc = $rootScope.orgInfo.orgName
109
-		$scope.form.tjr = $rootScope.orgInfo.orgName
109
+		$scope.form.tjr = $rootScope.userInfo.realName
110 110
 	}
111 111
 	var validator = $("#violation-form").validate();
112 112
 	$scope.save = function() {