fanxw 2 anni fa
parent
commit
bb3a2be778

+ 2 - 2
src/main/resources/static/app/intelligent/fumigation/views/plan/forRecord-list.html

@@ -46,8 +46,8 @@
46 46
                                         <th data-class="expand" style="text-align:center;">熏蒸申请单号</th>
47 47
                                         <th data-class="expand" style="text-align:center;">申请日期</th>
48 48
                                         <th data-class="expand" style="text-align:center;">仓房名称</th>
49
-                                        <th data-class="expand" style="text-align:center;">作业开始时间</th>
50
-                                        <th data-class="expand" style="text-align:center;">作业终止时间</th>
49
+                                        <th data-class="expand" style="text-align:center;">熏蒸施药开始时间</th>
50
+                                        <th data-class="expand" style="text-align:center;">熏蒸施药结束时间</th>
51 51
                                         <th data-class="expand" style="text-align:center;"> 操作</th>
52 52
                                     </tr>
53 53
                                     </thead>

+ 3 - 2
src/main/resources/static/app/system/controller/orgCtrl.js

@@ -145,14 +145,15 @@ function($scope, $rootScope, $state, $stateParams, $filter, orgService, enumServ
145 145
 	// 获取组织信息
146 146
 	$scope.loadOrg = function() {
147 147
 		orgService.editOrg($stateParams.orgId).then(function(data) {
148
-			$scope.orgInfo = data;
148
+			$scope.orgInfo = {};
149 149
 			$scope.initBasic(319);
150
-			if (!$stateParams.orgId) {
150
+			if ($stateParams.orgId == "") {
151 151
 				$scope.orgInfo.parentId = $stateParams.parentId;
152 152
 				//$scope.orgInfo.registDate = new Date();
153 153
 				$scope.orgInfo.infoRegist = $rootScope.userInfo.realName;
154 154
 				$scope.orgInfo.depotProperty = "1";
155 155
 			} else {
156
+				$scope.orgInfo = data;
156 157
 				$scope.setArea($scope.orgInfo.areaCode);
157 158
 				$scope.orgInfo.registDate = $filter('date')($scope.orgInfo.registDate, "yyyy-MM-dd");
158 159
 				$scope.orgInfo.completeDate = $filter('date')($scope.orgInfo.completeDate, "yyyy-MM-dd");