Browse Source

Merge branch 'master' of http://101.36.160.140:21044/depot-tianjin/depot-web-tianjin

XuPengHui 2 years ago
parent
commit
686eb1ef59
18 changed files with 143 additions and 41 deletions
  1. 7 0
      src/main/resources/static/app/business/purchase/controller/purchaseListCtrl.js
  2. 4 7
      src/main/resources/static/app/intelligent/aeration/views/aerationJob-edit.html
  3. 9 0
      src/main/resources/static/app/storage/foodstuffAnalysis/controller/monthCtrl.js
  4. 2 2
      src/main/resources/static/app/storage/foodstuffAnalysis/controller/monthDetailCtrl.js
  5. 8 0
      src/main/resources/static/app/storage/foodstuffAnalysis/controller/quarterCtrl.js
  6. 2 2
      src/main/resources/static/app/storage/foodstuffAnalysis/controller/quarterDetailCtrl.js
  7. 9 0
      src/main/resources/static/app/storage/foodstuffAnalysis/controller/weekCtrl.js
  8. 2 2
      src/main/resources/static/app/storage/foodstuffAnalysis/controller/weekDetailCtrl.js
  9. 1 2
      src/main/resources/static/app/storage/foodstuffAnalysis/views/monthDetail.html
  10. 1 2
      src/main/resources/static/app/storage/foodstuffAnalysis/views/quarterDetail.html
  11. 1 2
      src/main/resources/static/app/storage/foodstuffAnalysis/views/weekDetail.html
  12. 7 7
      src/main/resources/static/app/storage/grainCard/views/checkFoodSituationList.html
  13. 77 9
      src/main/resources/static/app/storage/grainCard/views/grainCarAdd.html
  14. 8 0
      src/main/resources/static/app/supervise/controller/humidityWarningThresholdCtrl.js
  15. 1 1
      src/main/resources/static/app/supervise/controller/violationWarningListCtrl.js
  16. 2 2
      src/main/resources/static/app/supervise/views/storeWarningThreshold.html
  17. 1 1
      src/main/resources/static/app/supervise/views/violationDetail.html
  18. 1 2
      src/main/resources/static/app/supervise/views/violationWarningList.html

+ 7 - 0
src/main/resources/static/app/business/purchase/controller/purchaseListCtrl.js

@@ -13,6 +13,13 @@ angular.module('app.supervise').controller("purchaseListCtrl", function ($scope,
13
 	};
13
 	};
14
 	$scope.loadData();
14
 	$scope.loadData();
15
 
15
 
16
+	$scope.goPage = function(pageNum) {
17
+		if ($scope.pageInfo.pageNum != pageNum && pageNum > 0) {
18
+			$scope.pageInfo.pageNum = pageNum;
19
+			$scope.loadData();
20
+		}
21
+	}
22
+
16
 	$scope.addRow = function() {
23
 	$scope.addRow = function() {
17
 		$state.go("app.business.gxhttz-add", {
24
 		$state.go("app.business.gxhttz-add", {
18
 			info: 0,
25
 			info: 0,

+ 4 - 7
src/main/resources/static/app/intelligent/aeration/views/aerationJob-edit.html

@@ -359,13 +359,10 @@
359
 													<select ng-model="aerationJob.fwszfs" required name="fwszfs"
359
 													<select ng-model="aerationJob.fwszfs" required name="fwszfs"
360
 													class="form-control" ng-disabled="isNotEdit">
360
 													class="form-control" ng-disabled="isNotEdit">
361
 														<option value="">--请选择--</option>
361
 														<option value="">--请选择--</option>
362
-														<option value="1">地槽</option>
363
-														<option value="2">地上笼</option>
364
-														<option value="3">移动式</option>
365
-														<option value="4">箱式</option>
366
-														<option value="5">径向</option>
367
-														<option value="6">维持通风</option>
368
-														<option value="9">其他</option>
362
+														<option value="1">地上槽</option>
363
+														<option value="2">地下槽</option>
364
+														<option value="3">横向</option>
365
+														<option value="4">径向</option>
369
 													</select>
366
 													</select>
370
 												</label>
367
 												</label>
371
 											</th>
368
 											</th>

+ 9 - 0
src/main/resources/static/app/storage/foodstuffAnalysis/controller/monthCtrl.js

@@ -29,6 +29,15 @@ angular.module('app.storage').controller("monthCtrl", function ($scope, $rootSco
29
 	};
29
 	};
30
 	$scope.loadData();
30
 	$scope.loadData();
31
 
31
 
32
+
33
+	// 翻页
34
+	$scope.goPage = function(pageNum) {
35
+		if ($scope.pageInfo.pageNum != pageNum && pageNum > 0) {
36
+			 $scope.pageInfo.pageNum = pageNum;
37
+			 $scope.loadData();
38
+		 }
39
+	}
40
+
32
 	$scope.addRow = function() {
41
 	$scope.addRow = function() {
33
 		$state.go("app.storage.foodstuffAnalysis.month-detail", {
42
 		$state.go("app.storage.foodstuffAnalysis.month-detail", {
34
 			id: 0,
43
 			id: 0,

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

@@ -96,7 +96,7 @@ angular.module('app.storage').controller("monthDetailCtrl", function ($scope, $r
96
 						swjcbzqk: '',
96
 						swjcbzqk: '',
97
 						swjcsgqk: '',
97
 						swjcsgqk: '',
98
 						clfahclxg: '',
98
 						clfahclxg: '',
99
-						jcsj: e.updatetime
99
+						jcsj: e.tTime
100
 					})
100
 					})
101
 				}
101
 				}
102
 				$scope.form.grainAnalysisAbnormalList = arr2
102
 				$scope.form.grainAnalysisAbnormalList = arr2
@@ -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();

+ 8 - 0
src/main/resources/static/app/storage/foodstuffAnalysis/controller/quarterCtrl.js

@@ -48,6 +48,14 @@ angular.module('app.storage').controller("quarterCtrl", function ($scope, $rootS
48
 	};
48
 	};
49
 	$scope.loadData();
49
 	$scope.loadData();
50
 
50
 
51
+	// 翻页
52
+	$scope.goPage = function(pageNum) {
53
+		if ($scope.pageInfo.pageNum != pageNum && pageNum > 0) {
54
+			 $scope.pageInfo.pageNum = pageNum;
55
+			 $scope.loadData();
56
+		 }
57
+	}
58
+
51
 	$scope.addRow = function() {
59
 	$scope.addRow = function() {
52
 		$state.go("app.storage.foodstuffAnalysis.quarter-detail", {
60
 		$state.go("app.storage.foodstuffAnalysis.quarter-detail", {
53
 			id: 0,
61
 			id: 0,

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

@@ -96,7 +96,7 @@ angular.module('app.storage').controller("quarterDetailCtrl", function ($scope,
96
 						swjcbzqk: '',
96
 						swjcbzqk: '',
97
 						swjcsgqk: '',
97
 						swjcsgqk: '',
98
 						clfahclxg: '',
98
 						clfahclxg: '',
99
-						jcsj: e.updatetime
99
+						jcsj: e.tTime
100
 					})
100
 					})
101
 				}
101
 				}
102
 				$scope.form.grainAnalysisAbnormalList = arr2
102
 				$scope.form.grainAnalysisAbnormalList = arr2
@@ -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();

+ 9 - 0
src/main/resources/static/app/storage/foodstuffAnalysis/controller/weekCtrl.js

@@ -20,6 +20,15 @@ angular.module('app.storage').controller("weekCtrl", function ($scope, $rootScop
20
 	};
20
 	};
21
 	$scope.loadData();
21
 	$scope.loadData();
22
 
22
 
23
+
24
+	// 翻页
25
+	$scope.goPage = function(pageNum) {
26
+		if ($scope.pageInfo.pageNum != pageNum && pageNum > 0) {
27
+			 $scope.pageInfo.pageNum = pageNum;
28
+			 $scope.loadData();
29
+		 }
30
+	}
31
+	
23
 	$scope.addRow = function() {
32
 	$scope.addRow = function() {
24
 		$state.go("app.storage.foodstuffAnalysis.week-detail", {
33
 		$state.go("app.storage.foodstuffAnalysis.week-detail", {
25
 			id: 0,
34
 			id: 0,

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

@@ -87,7 +87,7 @@ angular.module('app.storage').controller("weekDetailCtrl", function ($scope, $ro
87
 						swjcbzqk: '',
87
 						swjcbzqk: '',
88
 						swjcsgqk: '',
88
 						swjcsgqk: '',
89
 						clfahclxg: '',
89
 						clfahclxg: '',
90
-						jcsj: e.updatetime
90
+						jcsj: e.tTime
91
 					})
91
 					})
92
 				}
92
 				}
93
 				$scope.form.grainAnalysisAbnormalList = arr
93
 				$scope.form.grainAnalysisAbnormalList = arr
@@ -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() {

+ 1 - 2
src/main/resources/static/app/storage/foodstuffAnalysis/views/monthDetail.html

@@ -234,8 +234,7 @@
234
 											<tr ng-repeat="item in form.grainAnalysisAbnormalList" class="ng-scope">
234
 											<tr ng-repeat="item in form.grainAnalysisAbnormalList" class="ng-scope">
235
 												<th>
235
 												<th>
236
 													<label class="label ng-binding" style="margin-top: 9px;text-align: center;width: 80px;">
236
 													<label class="label ng-binding" style="margin-top: 9px;text-align: center;width: 80px;">
237
-														<input type="hidden" ng-model="item.jcsj" ng-disabled="true" name="jcsj" required="" class="form-control datepicker ng-pristine ng-untouched ng-valid ng-isolate-scope hasDatepicker ng-valid-required" data-smart-datepicker="" autocomplete="off" id="dp1650105345692" disabled="disabled">
238
-														2019-10-06
237
+														{{ item.jcsj }}
239
 													</label>
238
 													</label>
240
 												</th>
239
 												</th>
241
 												<th>
240
 												<th>

+ 1 - 2
src/main/resources/static/app/storage/foodstuffAnalysis/views/quarterDetail.html

@@ -234,8 +234,7 @@
234
 											<tr ng-repeat="item in form.grainAnalysisAbnormalList" class="ng-scope">
234
 											<tr ng-repeat="item in form.grainAnalysisAbnormalList" class="ng-scope">
235
 												<th>
235
 												<th>
236
 													<label class="label ng-binding" style="margin-top: 9px;text-align: center;width: 80px;">
236
 													<label class="label ng-binding" style="margin-top: 9px;text-align: center;width: 80px;">
237
-														<input type="hidden" ng-model="item.jcsj" ng-disabled="true" name="jcsj" required="" class="form-control datepicker ng-pristine ng-untouched ng-valid ng-isolate-scope hasDatepicker ng-valid-required" data-smart-datepicker="" autocomplete="off" id="dp1650105345692" disabled="disabled">
238
-														2019-10-06
237
+														{{ item.jcsj }}
239
 													</label>
238
 													</label>
240
 												</th>
239
 												</th>
241
 												<th>
240
 												<th>

+ 1 - 2
src/main/resources/static/app/storage/foodstuffAnalysis/views/weekDetail.html

@@ -250,8 +250,7 @@
250
 											<tr ng-repeat="item in form.grainAnalysisAbnormalList" class="ng-scope">
250
 											<tr ng-repeat="item in form.grainAnalysisAbnormalList" class="ng-scope">
251
 												<th>
251
 												<th>
252
 													<label class="label ng-binding" style="margin-top: 9px;text-align: center;width: 80px;">
252
 													<label class="label ng-binding" style="margin-top: 9px;text-align: center;width: 80px;">
253
-														<input type="hidden" ng-model="item.jcsj" ng-disabled="true" name="jcsj" required="" class="form-control datepicker ng-pristine ng-untouched ng-valid ng-isolate-scope hasDatepicker ng-valid-required" data-smart-datepicker="" autocomplete="off" id="dp1650105345692" disabled="disabled">
254
-														2019-10-06
253
+														{{ item.jcsj }}
255
 													</label>
254
 													</label>
256
 												</th>
255
 												</th>
257
 												<th>
256
 												<th>

+ 7 - 7
src/main/resources/static/app/storage/grainCard/views/checkFoodSituationList.html

@@ -378,7 +378,7 @@
378
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;" height="45px">仓内宽</td>
378
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;" height="45px">仓内宽</td>
379
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">{{grainCardView.width}}</td>
379
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">{{grainCardView.width}}</td>
380
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">建卡日期</td>
380
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">建卡日期</td>
381
-                                                <td class="text-center" style="vertical-align: middle;text-align: center;">{{GrainCardByIdObj.acceptDate}}</td>
381
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;">{{GrainCardByIdObj.acceptDate | date:'yyyy-MM-dd'}}</td>
382
                                                 
382
                                                 
383
                                                 <!--小麦及混合小麦3164,玉米3165,大豆2777,稻谷3166-->
383
                                                 <!--小麦及混合小麦3164,玉米3165,大豆2777,稻谷3166-->
384
 
384
 
@@ -423,9 +423,9 @@
423
                                             </tr>
423
                                             </tr>
424
                                             <tr>
424
                                             <tr>
425
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">状态</td>
425
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">状态</td>
426
-                                                <td class="text-center" style="vertical-align: middle;text-align: center;">封</td>
426
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;">封</td>
427
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">存储类型</td>
427
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">存储类型</td>
428
-                                                <td class="text-center" style="vertical-align: middle;text-align: center;">{{grainCardView.storeType == 1 ? "直储" : "代储"}}</td>
428
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;">{{GrainCardByIdObj.storeType == 1 ? "直储" : "代储"}}</td>
429
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">收储地点</td>
429
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">收储地点</td>
430
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">库内</td>
430
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">库内</td>
431
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">计价数量</td>
431
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">计价数量</td>
@@ -435,11 +435,11 @@
435
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">入仓年度</td>
435
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">入仓年度</td>
436
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">{{grainCardView.inputTime.slice(0, 4)}}</td>
436
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">{{grainCardView.inputTime.slice(0, 4)}}</td>
437
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">散存粮体积</td>
437
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">散存粮体积</td>
438
-                                                <td class="text-center" style="vertical-align: middle;text-align: center;">{{grainCardView.looseGrainVolume}}</td>
438
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;">{{GrainCardByIdObj.looseGrainVolume}}</td>
439
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">包存粮包数</td>
439
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">包存粮包数</td>
440
-                                                <td class="text-center" style="vertical-align: middle;text-align: center;">{{grainCardView.grainPacks}}</td>
440
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;">{{GrainCardByIdObj.grainPacks}}</td>
441
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">粮权所属</td>
441
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">粮权所属</td>
442
-                                                <td class="text-center" style="vertical-align: middle;text-align: center;">{{grainCardView.grainRights == 1 ? "市粮食局" : orgInfo.orgName}}</td>
442
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;">{{GrainCardByIdObj.grainRights == 1 ? "市粮食局" : orgInfo.orgName}}</td>
443
                                             </tr>
443
                                             </tr>
444
                                             <!-- <tr>
444
                                             <!-- <tr>
445
                                                 
445
                                                 
@@ -461,7 +461,7 @@
461
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;" height="45px">设计仓容</td>
461
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;" height="45px">设计仓容</td>
462
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">{{grainCardView.designCapacity}}</td>
462
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">{{grainCardView.designCapacity}}</td>
463
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">备注</td>
463
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">备注</td>
464
-                                                <td class="text-center" style="vertical-align: middle;text-align: center;" colspan="3">{{grainCardView.remark}}</td>
464
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;" colspan="3">{{GrainCardByIdObj.remark}}</td>
465
                                             </tr>
465
                                             </tr>
466
                                            
466
                                            
467
                                             <table class="table table-striped table-bordered table-hover"
467
                                             <table class="table table-striped table-bordered table-hover"

+ 77 - 9
src/main/resources/static/app/storage/grainCard/views/grainCarAdd.html

@@ -27,7 +27,7 @@
27
                                     <table class="table table-striped table-bordered table-hover" width="100%">
27
                                     <table class="table table-striped table-bordered table-hover" width="100%">
28
                                         <tr>
28
                                         <tr>
29
                                             <th width='10%'>
29
                                             <th width='10%'>
30
-                                                <label class="label" style="margin-top: 9px;text-align: center;">仓房名称<span style="color: red;">*</span></label>
30
+                                                <label class="label" style="margin-top: 9px;text-align: center;">仓房名称:<span style="color: red;">*</span></label>
31
                                             </th>
31
                                             </th>
32
                                             <th width='20%'>
32
                                             <th width='20%'>
33
                                                 <section>
33
                                                 <section>
@@ -43,7 +43,7 @@
43
                                                 </section>
43
                                                 </section>
44
                                             </th>
44
                                             </th>
45
                                             <th width='10%'>
45
                                             <th width='10%'>
46
-                                                <label class="label" style="margin-top: 9px;text-align: center;">货位名称<span style="color: red;margin-left: 5px;text-align: center;">*</span></label>
46
+                                                <label class="label" style="margin-top: 9px;text-align: center;">货位名称:<span style="color: red;margin-left: 5px;text-align: center;">*</span></label>
47
                                             </th>
47
                                             </th>
48
                                             <th width='20%'>
48
                                             <th width='20%'>
49
                                                 <section>
49
                                                 <section>
@@ -59,7 +59,7 @@
59
                                                 </section>
59
                                                 </section>
60
                                             </th>
60
                                             </th>
61
                                             <th width='10%'>
61
                                             <th width='10%'>
62
-                                                <label class="label" style="margin-top: 9px;text-align: center;">粮油品种<span style="color: red;">*</span></label>
62
+                                                <label class="label" style="margin-top: 9px;text-align: center;">粮油品种:<span style="color: red;">*</span></label>
63
                                             </th>
63
                                             </th>
64
                                             <th width='20%'>
64
                                             <th width='20%'>
65
                                                 <section>
65
                                                 <section>
@@ -72,7 +72,7 @@
72
                                         </tr>
72
                                         </tr>
73
                                         <tr>
73
                                         <tr>
74
                                             <th>
74
                                             <th>
75
-                                                <label class="label" style="margin-top: 9px;text-align: center;">建卡日期<span style="color: red;">*</span></label>
75
+                                                <label class="label" style="margin-top: 9px;text-align: center;">建卡日期:<span style="color: red;">*</span></label>
76
                                             </th>
76
                                             </th>
77
                                             <th>
77
                                             <th>
78
                                                 <section>
78
                                                 <section>
@@ -84,7 +84,7 @@
84
                                                 </section>
84
                                                 </section>
85
                                             </th>
85
                                             </th>
86
                                             <th>
86
                                             <th>
87
-                                                <label class="label" style="margin-top: 9px;text-align: center;">类型<span style="color: red;">*</span></label>
87
+                                                <label class="label" style="margin-top: 9px;text-align: center;">类型:<span style="color: red;">*</span></label>
88
                                             </th>
88
                                             </th>
89
                                             <th width='20%'>
89
                                             <th width='20%'>
90
                                                 <section>
90
                                                 <section>
@@ -99,7 +99,7 @@
99
                                                 </section>
99
                                                 </section>
100
                                             </th>
100
                                             </th>
101
                                             <th style="border-bottom-width:1px">
101
                                             <th style="border-bottom-width:1px">
102
-                                                <label class="label" style="margin-top: 9px;text-align: center;">数量(吨)</label>
102
+                                                <label class="label" style="margin-top: 9px;text-align: center;">数量(吨):</label>
103
                                             </th>
103
                                             </th>
104
                                             <th style="border-bottom-width:1px">
104
                                             <th style="border-bottom-width:1px">
105
                                                 <section>
105
                                                 <section>
@@ -110,9 +110,51 @@
110
                                                 </section>
110
                                                 </section>
111
                                             </th>
111
                                             </th>
112
                                         </tr>
112
                                         </tr>
113
+
114
+
115
+                                        <tr>
116
+                                            <th>
117
+                                                <label class="label" style="margin-top: 9px;text-align: center;">散存粮体积:</label>
118
+                                            </th>
119
+                                            <th>
120
+                                                <section>
121
+                                                    <label class="input">
122
+                                                        <input type="text" ng-model="grainCard.looseGrainVolume"
123
+                                                               name="looseGrainVolume" class="form-control">
124
+                                                    </label>
125
+                                                </section>
126
+                                            </th>
127
+                                            <th>
128
+                                                <label class="label" style="margin-top: 9px;text-align: center;">存储类型:</label>
129
+                                            </th>
130
+                                            <th>
131
+                                                <section>
132
+                                                    <label class="select">
133
+                                                        <select ng-model="grainCard.storeType" name="storeType">
134
+                                                            <option value="">--请选择--</option>
135
+                                                            <option value="1">直储</option>
136
+                                                            <option value="2">代储</option>
137
+                                                        </select><i></i>
138
+                                                    </label>
139
+                                                </section>
140
+                                            </th>
141
+                                            <th style="border-bottom-width:1px">
142
+                                                <label class="label" style="margin-top: 9px;text-align: center;">包存粮包数:</label>
143
+                                            </th>
144
+                                            <th style="border-bottom-width:1px">
145
+                                                <section>
146
+                                                    <label class="input">
147
+                                                        <input type="text" ng-model="grainCard.grainPacks"
148
+                                                               name="grainPacks" class="form-control">
149
+                                                    </label>
150
+                                                </section>
151
+                                            </th>
152
+                                        </tr>
153
+
154
+                                        
113
                                         <tr>
155
                                         <tr>
114
                                             <th>
156
                                             <th>
115
-                                                <label class="label" style="margin-top: 9px;text-align: center;">生产年度</label>
157
+                                                <label class="label" style="margin-top: 9px;text-align: center;">生产年度:</label>
116
                                             </th>
158
                                             </th>
117
                                             <th style="border-bottom-width:1px">
159
                                             <th style="border-bottom-width:1px">
118
                                                 <section>
160
                                                 <section>
@@ -123,7 +165,7 @@
123
                                                 </section>
165
                                                 </section>
124
                                             </th>
166
                                             </th>
125
                                             <th>
167
                                             <th>
126
-                                                <label class="label" style="margin-top: 9px;text-align: center;">轮换协议编号</label>
168
+                                                <label class="label" style="margin-top: 9px;text-align: center;white-space: nowrap;">轮换协议编号:</label>
127
                                             </th>
169
                                             </th>
128
                                             <th style="border-bottom-width:1px">
170
                                             <th style="border-bottom-width:1px">
129
                                                 <section>
171
                                                 <section>
@@ -133,7 +175,33 @@
133
                                                     </label>
175
                                                     </label>
134
                                                 </section>
176
                                                 </section>
135
                                             </th>
177
                                             </th>
136
-                                            <th colspan="2"></th>
178
+                                            <th>
179
+                                                <label class="label" style="margin-top: 9px;text-align: center;">粮权所属:</label>
180
+                                            </th>
181
+                                            <th style="border-bottom-width:1px">
182
+                                                <section>
183
+                                                    <label class="select">
184
+                                                        <select ng-model="grainCard.grainRights" name="grainRights" required>
185
+                                                            <option value="">--请选择--</option>
186
+                                                            <option value="1">市粮食局</option>
187
+                                                            <option value="2">{{orgInfo.orgName}}</option>
188
+                                                        </select><i></i>
189
+                                                    </label>
190
+                                                </section>
191
+                                            </th>
192
+                                        </tr>
193
+                                        <tr>
194
+                                            <th>
195
+                                                <label class="label" style="margin-top: 9px;text-align: center;">备注</label>
196
+                                            </th>
197
+                                            <th style="border-bottom-width:1px" colspan="5">
198
+                                                <section>
199
+                                                    <label class="input">
200
+                                                        <input type="text" ng-model="grainCard.remark"
201
+                                                               name="remark" class="form-control">
202
+                                                    </label>
203
+                                                </section>
204
+                                            </th>
137
                                         </tr>
205
                                         </tr>
138
                                     </table>
206
                                     </table>
139
                                     <div>
207
                                     <div>

+ 8 - 0
src/main/resources/static/app/supervise/controller/humidityWarningThresholdCtrl.js

@@ -20,6 +20,14 @@ angular.module('app.supervise')
20
 		};
20
 		};
21
 		$scope.loadData();
21
 		$scope.loadData();
22
 
22
 
23
+
24
+		$scope.goPage = function(pageNum) {
25
+			if ($scope.pageInfo.pageNum != pageNum && pageNum > 0) {
26
+				$scope.pageInfo.pageNum = pageNum;
27
+				$scope.loadData();
28
+			}
29
+		}
30
+		
23
 		// 打印
31
 		// 打印
24
 		$scope.print = function () {
32
 		$scope.print = function () {
25
 			$("#print").printArea();
33
 			$("#print").printArea();

+ 1 - 1
src/main/resources/static/app/supervise/controller/violationWarningListCtrl.js

@@ -6,7 +6,7 @@ angular.module('app.supervise')
6
 		$scope.search = {
6
 		$scope.search = {
7
 			startDate: '',
7
 			startDate: '',
8
 			endDate: '',
8
 			endDate: '',
9
-			violationType: '疑转圈粮预警',
9
+			violationType: 1,
10
 		}
10
 		}
11
 		// 默认分页
11
 		// 默认分页
12
 		$scope.pageInfo = {pageNum: 1, pageSize: 10};
12
 		$scope.pageInfo = {pageNum: 1, pageSize: 10};

+ 2 - 2
src/main/resources/static/app/supervise/views/storeWarningThreshold.html

@@ -49,10 +49,10 @@
49
 												<td style="text-align:center;">{{ warning.level }}</td>
49
 												<td style="text-align:center;">{{ warning.level }}</td>
50
 												<td style="text-align:center;">{{ warning.inventoryQuantity }}</td>
50
 												<td style="text-align:center;">{{ warning.inventoryQuantity }}</td>
51
 												<td style="text-align:center;">
51
 												<td style="text-align:center;">
52
-													{{ warning.fcTime | date:'yyyy-MM-dd HH:mm:ss' }}
52
+													{{ warning.fcTime.split(' ')[0] }}
53
 												</td>
53
 												</td>
54
 												<td style="text-align:center;">{{ warning.limitYear }}</td>
54
 												<td style="text-align:center;">{{ warning.limitYear }}</td>
55
-												<td style="text-align:center;">{{ warning.cznx | date:'yyyy-MM-dd HH:mm:ss' }}</td>
55
+												<td style="text-align:center;">{{ warning.cznx | date:'yyyy-MM-dd' }}</td>
56
 											</tr>
56
 											</tr>
57
 										</tbody>
57
 										</tbody>
58
 									</table>
58
 									</table>

+ 1 - 1
src/main/resources/static/app/supervise/views/violationDetail.html

@@ -47,7 +47,7 @@
47
 										<section class="col col-3">
47
 										<section class="col col-3">
48
                                             <label class="label">违规类型:<span style="color: red;">*</span></label> 
48
                                             <label class="label">违规类型:<span style="color: red;">*</span></label> 
49
                                             <label class="select"> 
49
                                             <label class="select"> 
50
-                                                <select ng-model="form.violationType" name="violationType" ng-options="item for item in ['疑转圈粮预警']" required>
50
+                                                <select ng-model="form.violationType" name="violationType" ng-options="item.value as item.label for item in [{value: 1, label:'疑转圈粮预警'}]" required>
51
                                                 </select><i></i>
51
                                                 </select><i></i>
52
                                             </label>
52
                                             </label>
53
                                         </section>
53
                                         </section>

+ 1 - 2
src/main/resources/static/app/supervise/views/violationWarningList.html

@@ -19,9 +19,8 @@
19
 										<label>
19
 										<label>
20
 											违规类型:
20
 											违规类型:
21
 											<select ng-model="search.violationType"
21
 											<select ng-model="search.violationType"
22
-											ng-options="num as num for num in ['疑转圈粮预警']"
22
+											ng-options="item.value as item.label for item in [{value: 1, label:'疑转圈粮预警'}]"
23
 											class="form-control input-sm">
23
 											class="form-control input-sm">
24
-											
25
 										</select>
24
 										</select>
26
 										</label>
25
 										</label>
27
 										&nbsp;&nbsp;
26
 										&nbsp;&nbsp;