Browse Source

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

maopixin 2 years ago
parent
commit
b7ef0df3dc

+ 5 - 5
src/main/resources/static/app/basic/storehouse/controller/StorehouseCtrl.js

@@ -607,11 +607,11 @@ angular.module('app.basic')
607
 	];
607
 	];
608
 	// 挡粮门型式
608
 	// 挡粮门型式
609
 	$scope.dlmxsList = [
609
 	$scope.dlmxsList = [
610
-		{ id: 1, value: "“一字型”挡粮板" },
611
-		{ id: 2, value: "“三角形”挡粮门" },
612
-		{ id: 3, value: "“弧形”挡粮门" },
613
-		{ id: 4, value: "围包" },
614
-		{ id: 5, value: "其它型式" },
610
+		{ id: "1", value: "“一字型”挡粮板" },
611
+		{ id: "2", value: "“三角形”挡粮门" },
612
+		{ id: "3", value: "“弧形”挡粮门" },
613
+		{ id: "4", value: "围包" },
614
+		{ id: "5", value: "其它型式" },
615
 	];
615
 	];
616
 	//添加货位弹出窗口
616
 	//添加货位弹出窗口
617
 	$scope.editRow = function(warehouse, btnType) {
617
 	$scope.editRow = function(warehouse, btnType) {

+ 32 - 8
src/main/resources/static/app/basic/storehouse/views/Storehouse-edit.html

@@ -43,7 +43,8 @@
43
 													<input type="text" ng-model="basicStorehouse.depotName" name="depotName" ng-readonly="true">
43
 													<input type="text" ng-model="basicStorehouse.depotName" name="depotName" ng-readonly="true">
44
 												</label>
44
 												</label>
45
 												<label class="select" ng-hide="basicStorehouse.libraryType == 0">
45
 												<label class="select" ng-hide="basicStorehouse.libraryType == 0">
46
-													<select ng-model="basicStorehouse.depotId" required ng-disabled="basicStorehouse.libraryType == 0 || isNotEdit"
46
+													<select ng-model="basicStorehouse.depotId" required 
47
+													 ng-disabled="basicStorehouse.libraryType == 0 || isNotEdit"
47
 															ng-options="depot.depotId as depot.depotName for depot in depotList" id="depotId"
48
 															ng-options="depot.depotId as depot.depotName for depot in depotList" id="depotId"
48
 															class="form-control">
49
 															class="form-control">
49
 														<option value="">--请选择--</option>
50
 														<option value="">--请选择--</option>
@@ -77,7 +78,10 @@
77
 											</th>
78
 											</th>
78
 											<th>
79
 											<th>
79
 												<label class="input">
80
 												<label class="input">
80
-													<input type="text" ng-model="basicStorehouse.dutystoreman" required ng-disabled="basicStorehouse.libraryType == 0 || isNotEdit" />
81
+													<input type="text" ng-model="basicStorehouse.dutystoreman" required 
82
+													name="dutystoreman"
83
+													ng-disabled="isNotEdit" />
84
+													<!-- ng-disabled="basicStorehouse.libraryType == 0 || isNotEdit" -->
81
 												</label>
85
 												</label>
82
 											</th>
86
 											</th>
83
 											<th>
87
 											<th>
@@ -497,6 +501,7 @@
497
 												<label class="select">
501
 												<label class="select">
498
 													<select ng-model="basicStorehouse.ywfhfbfdss" ng-disabled="isNotEdit"
502
 													<select ng-model="basicStorehouse.ywfhfbfdss" ng-disabled="isNotEdit"
499
 														ng-options="enum.id as enum.value for enum in falseEnum" required
503
 														ng-options="enum.id as enum.value for enum in falseEnum" required
504
+														name="ywfhfbfdss"
500
 														class="form-control">
505
 														class="form-control">
501
 													</select>
506
 													</select>
502
 												</label>
507
 												</label>
@@ -508,6 +513,7 @@
508
 												<label class="select">
513
 												<label class="select">
509
 													<select ng-model="basicStorehouse.nfszcc" ng-disabled="isNotEdit" required
514
 													<select ng-model="basicStorehouse.nfszcc" ng-disabled="isNotEdit" required
510
 														ng-options="enum.id as enum.value for enum in falseEnum"
515
 														ng-options="enum.id as enum.value for enum in falseEnum"
516
+														name="nfszcc"
511
 														class="form-control">
517
 														class="form-control">
512
 													</select>
518
 													</select>
513
 												</label>
519
 												</label>
@@ -519,6 +525,7 @@
519
 												<label class="select">
525
 												<label class="select">
520
 													<select ng-model="basicStorehouse.ywfsfqfczz" ng-disabled="isNotEdit"
526
 													<select ng-model="basicStorehouse.ywfsfqfczz" ng-disabled="isNotEdit"
521
 														ng-options="enum.id as enum.value for enum in falseEnum" required
527
 														ng-options="enum.id as enum.value for enum in falseEnum" required
528
+														name="ywfsfqfczz"
522
 														class="form-control">
529
 														class="form-control">
523
 													</select>
530
 													</select>
524
 												</label>
531
 												</label>
@@ -554,6 +561,7 @@
554
 												<label class="select">
561
 												<label class="select">
555
 													<select ng-model="basicStorehouse.ywjxtfss" ng-disabled="isNotEdit"
562
 													<select ng-model="basicStorehouse.ywjxtfss" ng-disabled="isNotEdit"
556
 														ng-options="enum.id as enum.value for enum in falseEnum" required
563
 														ng-options="enum.id as enum.value for enum in falseEnum" required
564
+														name="ywjxtfss"
557
 														class="form-control">
565
 														class="form-control">
558
 													</select>
566
 													</select>
559
 												</label>
567
 												</label>
@@ -565,6 +573,7 @@
565
 												<label class="select">
573
 												<label class="select">
566
 													<select ng-model="basicStorehouse.nfhlxzsc" ng-disabled="isNotEdit"
574
 													<select ng-model="basicStorehouse.nfhlxzsc" ng-disabled="isNotEdit"
567
 														ng-options="enum.id as enum.value for enum in falseEnum" required
575
 														ng-options="enum.id as enum.value for enum in falseEnum" required
576
+														name="nfhlxzsc"
568
 														class="form-control">
577
 														class="form-control">
569
 													</select>
578
 													</select>
570
 												</label>
579
 												</label>
@@ -576,6 +585,7 @@
576
 												<label class="select">
585
 												<label class="select">
577
 													<select ng-model="basicStorehouse.nffddyqtcl" ng-disabled="isNotEdit"
586
 													<select ng-model="basicStorehouse.nffddyqtcl" ng-disabled="isNotEdit"
578
 														ng-options="enum.id as enum.value for enum in falseEnum" required
587
 														ng-options="enum.id as enum.value for enum in falseEnum" required
588
+														name="nffddyqtcl"
579
 														class="form-control">
589
 														class="form-control">
580
 													</select>
590
 													</select>
581
 												</label>
591
 												</label>
@@ -600,6 +610,7 @@
600
 												<label class="select">
610
 												<label class="select">
601
 													<select ng-model="basicStorehouse.clgx" ng-disabled="isNotEdit"
611
 													<select ng-model="basicStorehouse.clgx" ng-disabled="isNotEdit"
602
 														ng-options="enum.id as enum.value for enum in clgxList" required
612
 														ng-options="enum.id as enum.value for enum in clgxList" required
613
+														name="clgx"
603
 														class="form-control">
614
 														class="form-control">
604
 														<option value="">--请选择--</option>
615
 														<option value="">--请选择--</option>
605
 													</select>
616
 													</select>
@@ -612,6 +623,7 @@
612
 												<label class="select">
623
 												<label class="select">
613
 													<select ng-model="basicStorehouse.nfgrbw" ng-disabled="isNotEdit"
624
 													<select ng-model="basicStorehouse.nfgrbw" ng-disabled="isNotEdit"
614
 														ng-options="enum.id as enum.value for enum in falseEnum" required
625
 														ng-options="enum.id as enum.value for enum in falseEnum" required
626
+														name="nfgrbw"
615
 														class="form-control">
627
 														class="form-control">
616
 													</select>
628
 													</select>
617
 												</label>
629
 												</label>
@@ -622,7 +634,9 @@
622
 											<th>
634
 											<th>
623
 												<label class="select">
635
 												<label class="select">
624
 													<select ng-model="basicStorehouse.grxn" ng-disabled="isNotEdit"
636
 													<select ng-model="basicStorehouse.grxn" ng-disabled="isNotEdit"
625
-														ng-options="enum.id as enum.value for enum in grxnList" required
637
+														ng-options="enum.id as enum.value for enum in grxnList" 
638
+														name="grxn"
639
+														required
626
 														class="form-control">
640
 														class="form-control">
627
 														<option value="">--请选择--</option>
641
 														<option value="">--请选择--</option>
628
 													</select>
642
 													</select>
@@ -636,8 +650,10 @@
636
 											</th>
650
 											</th>
637
 											<th>
651
 											<th>
638
 												<label class="select">
652
 												<label class="select">
639
-													<select ng-model="basicStorehouse.jgcl" ng-disabled="isNotEdit"
640
-														ng-options="enum.id as enum.value for enum in jgclList" required
653
+													<select ng-model="basicStorehouse.qmx" ng-disabled="isNotEdit"
654
+														ng-options="enum.id as enum.value for enum in jgclList" 
655
+														name="qmx"
656
+														required
641
 														class="form-control">
657
 														class="form-control">
642
 														<option value="">--请选择--</option>
658
 														<option value="">--请选择--</option>
643
 													</select>
659
 													</select>
@@ -650,6 +666,7 @@
650
 												<label class="select">
666
 												<label class="select">
651
 													<select ng-model="basicStorehouse.jgcl" ng-disabled="isNotEdit"
667
 													<select ng-model="basicStorehouse.jgcl" ng-disabled="isNotEdit"
652
 														ng-options="enum.id as enum.value for enum in qmxList" required
668
 														ng-options="enum.id as enum.value for enum in qmxList" required
669
+														name="jgcl"
653
 														class="form-control">
670
 														class="form-control">
654
 														<option value="">--请选择--</option>
671
 														<option value="">--请选择--</option>
655
 													</select>
672
 													</select>
@@ -661,7 +678,8 @@
661
 											<th>
678
 											<th>
662
 												<label class="select">
679
 												<label class="select">
663
 													<select ng-model="basicStorehouse.lqjs" ng-disabled="isNotEdit"
680
 													<select ng-model="basicStorehouse.lqjs" ng-disabled="isNotEdit"
664
-														ng-options="enum.id as enum.value for enum in lqjsList" required
681
+														ng-options="enum.id as enum.value for enum in lqjsList" 
682
+														name="lqjs"
665
 														class="form-control">
683
 														class="form-control">
666
 														<option value="">--请选择--</option>
684
 														<option value="">--请选择--</option>
667
 													</select>
685
 													</select>
@@ -673,7 +691,8 @@
673
 											<th>
691
 											<th>
674
 												<label class="select">
692
 												<label class="select">
675
 													<select ng-model="basicStorehouse.tfxtxs" ng-disabled="isNotEdit"
693
 													<select ng-model="basicStorehouse.tfxtxs" ng-disabled="isNotEdit"
676
-														ng-options="enum.id as enum.value for enum in lqjsList" required
694
+														ng-options="enum.id as enum.value for enum in tfxtxsList" required
695
+														name="tfxtxs"
677
 														class="form-control">
696
 														class="form-control">
678
 														<option value="">--请选择--</option>
697
 														<option value="">--请选择--</option>
679
 													</select>
698
 													</select>
@@ -686,8 +705,9 @@
686
 											</th>
705
 											</th>
687
 											<th>
706
 											<th>
688
 												<label class="select">
707
 												<label class="select">
689
-													<select ng-model="basicStorehouse.tfxtxs" ng-disabled="isNotEdit"
708
+													<select ng-model="basicStorehouse.tfjs" ng-disabled="isNotEdit"
690
 														ng-options="enum.id as enum.value for enum in tfjsList" required
709
 														ng-options="enum.id as enum.value for enum in tfjsList" required
710
+														name="tfjs"
691
 														class="form-control">
711
 														class="form-control">
692
 														<option value="">--请选择--</option>
712
 														<option value="">--请选择--</option>
693
 													</select>
713
 													</select>
@@ -700,6 +720,7 @@
700
 												<label class="select">
720
 												<label class="select">
701
 													<select ng-model="basicStorehouse.scjs" ng-disabled="isNotEdit"
721
 													<select ng-model="basicStorehouse.scjs" ng-disabled="isNotEdit"
702
 														ng-options="enum.id as enum.value for enum in scjsList" required
722
 														ng-options="enum.id as enum.value for enum in scjsList" required
723
+														name="scjs"
703
 														class="form-control">
724
 														class="form-control">
704
 														<option value="">--请选择--</option>
725
 														<option value="">--请选择--</option>
705
 													</select>
726
 													</select>
@@ -712,6 +733,7 @@
712
 												<label class="select">
733
 												<label class="select">
713
 													<select ng-model="basicStorehouse.kwjs" ng-disabled="isNotEdit"
734
 													<select ng-model="basicStorehouse.kwjs" ng-disabled="isNotEdit"
714
 														ng-options="enum.id as enum.value for enum in kwjsList" required
735
 														ng-options="enum.id as enum.value for enum in kwjsList" required
736
+														name="kwjs"
715
 														class="form-control">
737
 														class="form-control">
716
 														<option value="">--请选择--</option>
738
 														<option value="">--请选择--</option>
717
 													</select>
739
 													</select>
@@ -724,6 +746,7 @@
724
 												<label class="select">
746
 												<label class="select">
725
 													<select ng-model="basicStorehouse.sfyjxxxhgz" ng-disabled="isNotEdit"
747
 													<select ng-model="basicStorehouse.sfyjxxxhgz" ng-disabled="isNotEdit"
726
 														ng-options="enum.id as enum.value for enum in falseEnum2" required
748
 														ng-options="enum.id as enum.value for enum in falseEnum2" required
749
+														name="sfyjxxxhgz"
727
 														class="form-control">
750
 														class="form-control">
728
 														<option value="">--请选择--</option>
751
 														<option value="">--请选择--</option>
729
 													</select>
752
 													</select>
@@ -738,6 +761,7 @@
738
 												<label class="select">
761
 												<label class="select">
739
 													<select ng-model="basicStorehouse.dlmxs" ng-disabled="isNotEdit"
762
 													<select ng-model="basicStorehouse.dlmxs" ng-disabled="isNotEdit"
740
 														ng-options="enum.id as enum.value for enum in dlmxsList" required
763
 														ng-options="enum.id as enum.value for enum in dlmxsList" required
764
+														name="dlmxs"
741
 														class="form-control">
765
 														class="form-control">
742
 														<option value="">--请选择--</option>
766
 														<option value="">--请选择--</option>
743
 													</select>
767
 													</select>

+ 8 - 5
src/main/resources/static/app/business/facility/views/add-facility-get.html

@@ -24,13 +24,14 @@
24
                                                     ng-disabled="isNotEdit" 
24
                                                     ng-disabled="isNotEdit" 
25
                                                     ng-readonly="isNotEdit"
25
                                                     ng-readonly="isNotEdit"
26
                                                     ng-change="useKeepChange()"
26
                                                     ng-change="useKeepChange()"
27
+													required
27
                                                 >
28
                                                 >
28
 													<option value="">--请选择--</option>
29
 													<option value="">--请选择--</option>
29
                                                 </select> 
30
                                                 </select> 
30
                                             </label>
31
                                             </label>
31
                                         </section>
32
                                         </section>
32
                                         <section class="col col-3">
33
                                         <section class="col col-3">
33
-											<label class="label">设施分类:<span style="color: red;">*</span></label>
34
+											<label class="label">设施分类:</label>
34
 											<!-- <multi-select-tree  data-input-model="data2" data-default-label="请选择" name="name"  
35
 											<!-- <multi-select-tree  data-input-model="data2" data-default-label="请选择" name="name"  
35
 													multi-select="false" data-output-model="deviceName" select-only-leafs="true"
36
 													multi-select="false" data-output-model="deviceName" select-only-leafs="true"
36
 													disabled-tree="isNotEdit" data-callback="selectOnly1Or2(item, selectedItems)">
37
 													disabled-tree="isNotEdit" data-callback="selectOnly1Or2(item, selectedItems)">
@@ -52,7 +53,7 @@
52
 									</div>
53
 									</div>
53
 									<div class="row">
54
 									<div class="row">
54
 										<section class="col col-3">
55
 										<section class="col col-3">
55
-											<label class="label">故障日期:</label>
56
+											<label class="label">故障日期:<span style="color: red;">*</span></label>
56
 											<label class="input">
57
 											<label class="input">
57
 												<input 
58
 												<input 
58
                                                     id="repairInfo_gzrq" 
59
                                                     id="repairInfo_gzrq" 
@@ -62,11 +63,12 @@
62
                                                     ng-disabled="isNotEdit" 
63
                                                     ng-disabled="isNotEdit" 
63
                                                     onClick="WdatePicker({lang:'zh-cn'})" 
64
                                                     onClick="WdatePicker({lang:'zh-cn'})" 
64
                                                     placeholder="故障日期:"
65
                                                     placeholder="故障日期:"
66
+													required
65
                                                 >
67
                                                 >
66
 											</label>
68
 											</label>
67
 										</section>
69
 										</section>
68
                                         <section class="col col-3">
70
                                         <section class="col col-3">
69
-											<label class="label">维修开始日期:</label>
71
+											<label class="label">维修开始日期:<span style="color: red;">*</span></label>
70
 											<label class="input">
72
 											<label class="input">
71
 												<input 
73
 												<input 
72
                                                     id="repairInfo_wxksrq" 
74
                                                     id="repairInfo_wxksrq" 
@@ -76,6 +78,7 @@
76
                                                     ng-disabled="isNotEdit" 
78
                                                     ng-disabled="isNotEdit" 
77
                                                     onClick="WdatePicker({lang:'zh-cn'})" 
79
                                                     onClick="WdatePicker({lang:'zh-cn'})" 
78
                                                     placeholder="维修开始日期"
80
                                                     placeholder="维修开始日期"
81
+													required
79
                                                 >
82
                                                 >
80
 											</label>
83
 											</label>
81
 										</section>
84
 										</section>
@@ -94,9 +97,9 @@
94
 											</label>
97
 											</label>
95
 										</section>
98
 										</section>
96
 										<section class="col col-3">
99
 										<section class="col col-3">
97
-											<label class="label">维修负责人: </label>
100
+											<label class="label">维修负责人: <span style="color: red;">*</span></label>
98
 											<label class="input">
101
 											<label class="input">
99
-												<input type="text" ng-model="repairInfo.wxfzr" name="wxfzr" ng-disabled="isNotEdit" ng-readonly="isNotEdit" placeholder="维修负责人">
102
+												<input required type="text" ng-model="repairInfo.wxfzr" name="wxfzr" ng-disabled="isNotEdit" ng-readonly="isNotEdit" placeholder="维修负责人">
100
 											</label>
103
 											</label>
101
 										</section>
104
 										</section>
102
                                     </div>
105
                                     </div>

+ 8 - 5
src/main/resources/static/app/business/facility/views/add-facility-keep.html

@@ -24,13 +24,14 @@
24
                                                     ng-disabled="isNotEdit" 
24
                                                     ng-disabled="isNotEdit" 
25
                                                     ng-readonly="isNotEdit"
25
                                                     ng-readonly="isNotEdit"
26
                                                     ng-change="useKeepChange()"
26
                                                     ng-change="useKeepChange()"
27
+                                                    required
27
                                                 >
28
                                                 >
28
 													<option value="">--请选择--</option>
29
 													<option value="">--请选择--</option>
29
                                                 </select> 
30
                                                 </select> 
30
                                             </label>
31
                                             </label>
31
                                         </section>
32
                                         </section>
32
                                         <section class="col col-3">
33
                                         <section class="col col-3">
33
-											<label class="label">设施分类:<span style="color: red;">*</span></label>
34
+											<label class="label">设施分类:</label>
34
 											<!-- <multi-select-tree  data-input-model="data2" data-default-label="请选择" name="name"  
35
 											<!-- <multi-select-tree  data-input-model="data2" data-default-label="请选择" name="name"  
35
 													multi-select="false" data-output-model="deviceName" select-only-leafs="true"
36
 													multi-select="false" data-output-model="deviceName" select-only-leafs="true"
36
 													disabled-tree="isNotEdit" data-callback="selectOnly1Or2(item, selectedItems)">
37
 													disabled-tree="isNotEdit" data-callback="selectOnly1Or2(item, selectedItems)">
@@ -52,7 +53,7 @@
52
 									</div>
53
 									</div>
53
 									<div class="row">
54
 									<div class="row">
54
                                         <section class="col col-3">
55
                                         <section class="col col-3">
55
-											<label class="label">保养开始日期:</label>
56
+											<label class="label">保养开始日期:<span style="color: red;">*</span></label>
56
 											<label class="input">
57
 											<label class="input">
57
 												<input 
58
 												<input 
58
                                                     id="keepInfo_byksrq" 
59
                                                     id="keepInfo_byksrq" 
@@ -62,11 +63,12 @@
62
                                                     ng-disabled="isNotEdit" 
63
                                                     ng-disabled="isNotEdit" 
63
                                                     onClick="WdatePicker({lang:'zh-cn'})" 
64
                                                     onClick="WdatePicker({lang:'zh-cn'})" 
64
                                                     placeholder="保养开始日期"
65
                                                     placeholder="保养开始日期"
66
+                                                    required
65
                                                 >
67
                                                 >
66
 											</label>
68
 											</label>
67
 										</section>
69
 										</section>
68
 										<section class="col col-3">
70
 										<section class="col col-3">
69
-											<label class="label">保养结束日期:</label>
71
+											<label class="label">保养结束日期:<span style="color: red;">*</span></label>
70
 											<label class="input">
72
 											<label class="input">
71
                                                 <input 
73
                                                 <input 
72
                                                     id="keepInfo_byjsrq" 
74
                                                     id="keepInfo_byjsrq" 
@@ -76,13 +78,14 @@
76
                                                     ng-disabled="isNotEdit" 
78
                                                     ng-disabled="isNotEdit" 
77
                                                     onClick="WdatePicker({lang:'zh-cn'})" 
79
                                                     onClick="WdatePicker({lang:'zh-cn'})" 
78
                                                     placeholder="保养结束日期"
80
                                                     placeholder="保养结束日期"
81
+                                                    required
79
                                                 >
82
                                                 >
80
 											</label>
83
 											</label>
81
 										</section>
84
 										</section>
82
 										<section class="col col-3">
85
 										<section class="col col-3">
83
-											<label class="label">保养负责人: </label>
86
+											<label class="label">保养负责人:<span style="color: red;">*</span> </label>
84
 											<label class="input">
87
 											<label class="input">
85
-												<input type="text" ng-model="keepInfo.byfzr" name="byfzr" ng-disabled="isNotEdit" ng-readonly="isNotEdit" placeholder="保养负责人">
88
+												<input type="text" ng-model="keepInfo.byfzr" name="byfzr" ng-disabled="isNotEdit" ng-readonly="isNotEdit" placeholder="保养负责人" required>
86
 											</label>
89
 											</label>
87
 										</section>
90
 										</section>
88
                                     </div>
91
                                     </div>

+ 5 - 5
src/main/resources/static/app/business/facility/views/add-facility-scrap.html

@@ -24,7 +24,7 @@
24
                                             </label>
24
                                             </label>
25
                                         </section>
25
                                         </section>
26
                                         <section class="col col-3">
26
                                         <section class="col col-3">
27
-											<label class="label"  id="devicename-label">设施类型:<span style="color: red;">*</span></label>
27
+											<label class="label"  id="devicename-label">设施类型:</label>
28
 											<!-- <multi-select-tree  data-input-model="data2" data-default-label="请选择" name="name"  
28
 											<!-- <multi-select-tree  data-input-model="data2" data-default-label="请选择" name="name"  
29
 													multi-select="false" data-output-model="deviceName" select-only-leafs="true"
29
 													multi-select="false" data-output-model="deviceName" select-only-leafs="true"
30
 													disabled-tree="isNotEdit" data-callback="selectOnly1Or2(item, selectedItems)">
30
 													disabled-tree="isNotEdit" data-callback="selectOnly1Or2(item, selectedItems)">
@@ -37,7 +37,7 @@
37
 					                            data-default-label="请选择" name="deviceName" 
37
 					                            data-default-label="请选择" name="deviceName" 
38
 					                            multi-select="false"
38
 					                            multi-select="false"
39
 					                            select-only-leafs="true"
39
 					                            select-only-leafs="true"
40
-					                            data-callback="selectOnly1Or2(item, selectedItems)" required>
40
+					                            data-callback="selectOnly1Or2(item, selectedItems)">
41
 					                        </multi-select-tree>
41
 					                        </multi-select-tree>
42
 											 <em><span style="color: #D56161;margin-top:6px;padding:0 1px;font-style:normal;font-size:11px;line-height:15px;" id="devicename-error"></span></em>
42
 											 <em><span style="color: #D56161;margin-top:6px;padding:0 1px;font-style:normal;font-size:11px;line-height:15px;" id="devicename-error"></span></em>
43
 											</label>
43
 											</label>
@@ -45,7 +45,7 @@
45
 									</div>
45
 									</div>
46
 									<div class="row">
46
 									<div class="row">
47
 										<section class="col col-3">
47
 										<section class="col col-3">
48
-											<label class="label">设施状态</label>
48
+											<label class="label">设施状态: <span style="color: red;">*</span></label>
49
 											<label class="input">
49
 											<label class="input">
50
 												<select required name="unite" ng-model="device.unit" ng-disabled="isNotEdit" ng-readonly="isNotEdit">
50
 												<select required name="unite" ng-model="device.unit" ng-disabled="isNotEdit" ng-readonly="isNotEdit">
51
                                                     <option value="">--请选择--</option>
51
                                                     <option value="">--请选择--</option>
@@ -55,9 +55,9 @@
55
 											</label>
55
 											</label>
56
 										</section>
56
 										</section>
57
                                         <section class="col col-3">
57
                                         <section class="col col-3">
58
-											<label class="label">报废日期:</label>
58
+											<label class="label">报废日期:<span style="color: red;">*</span></label>
59
 											<label class="input">
59
 											<label class="input">
60
-												<input type="text" ng-model="device.inputTime" name="inputTime" data-smart-datepicker ng-disabled="isNotEdit"
60
+												<input required type="text" ng-model="device.inputTime" name="inputTime" data-smart-datepicker ng-disabled="isNotEdit"
61
 													   placeholder="报废日期">
61
 													   placeholder="报废日期">
62
 											</label>
62
 											</label>
63
 										</section>
63
 										</section>

+ 10 - 10
src/main/resources/static/app/business/facility/views/add-facility.html

@@ -20,7 +20,7 @@
20
                                             </label>
20
                                             </label>
21
                                         </section>
21
                                         </section>
22
                                         <section class="col col-3">
22
                                         <section class="col col-3">
23
-											<label class="label"  id="devicename-label">设施分类:<span style="color: red;">*</span></label>
23
+											<label class="label"  id="devicename-label">设施分类:</label>
24
 											  <label class="select" id="deviceName-label">
24
 											  <label class="select" id="deviceName-label">
25
 											 <multi-select-tree 
25
 											 <multi-select-tree 
26
 					                            disabled-tree="isNotEdit"
26
 					                            disabled-tree="isNotEdit"
@@ -29,7 +29,7 @@
29
 					                            data-default-label="请选择" name="ssfl" 
29
 					                            data-default-label="请选择" name="ssfl" 
30
 					                            multi-select="false"
30
 					                            multi-select="false"
31
 					                            select-only-leafs="true"
31
 					                            select-only-leafs="true"
32
-					                            data-callback="selectOnly1Or2(item, selectedItems)" required>
32
+					                            data-callback="selectOnly1Or2(item, selectedItems)">
33
 					                        </multi-select-tree>
33
 					                        </multi-select-tree>
34
 											 <em><span style="color: #D56161;margin-top:6px;padding:0 1px;font-style:normal;font-size:11px;line-height:15px;" id="devicename-error"></span></em>
34
 											 <em><span style="color: #D56161;margin-top:6px;padding:0 1px;font-style:normal;font-size:11px;line-height:15px;" id="devicename-error"></span></em>
35
 											</label>
35
 											</label>
@@ -49,31 +49,31 @@
49
 									</div>
49
 									</div>
50
 									<div class="row">
50
 									<div class="row">
51
                                         <section class="col col-3">
51
                                         <section class="col col-3">
52
-											<label class="label">竣工年份:</label>
52
+											<label class="label">竣工年份:<span style="color: red;">*</span></label>
53
 											<label class="input">
53
 											<label class="input">
54
                                                 <input type="text" name="jgnf" id="facility_jgnf" ng-disabled="isNotEdit" ng-model="facilityInfo.jgnf"
54
                                                 <input type="text" name="jgnf" id="facility_jgnf" ng-disabled="isNotEdit" ng-model="facilityInfo.jgnf"
55
-							                		class="form-control" onClick="WdatePicker({lang:'zh-cn', dateFmt: 'yyyy'})" ng-readonly="true">
55
+							                		class="form-control" onClick="WdatePicker({lang:'zh-cn', dateFmt: 'yyyy'})" ng-readonly="true" required>
56
 											</label>
56
 											</label>
57
 										</section>
57
 										</section>
58
 										<section class="col col-3">
58
 										<section class="col col-3">
59
-											<label class="label">安装时间:</label>
59
+											<label class="label">安装时间:<span style="color: red;">*</span></label>
60
 											<label class="input">
60
 											<label class="input">
61
 												<input type="text" id="facility_azsj" name="azsj" ng-disabled="isNotEdit"  ng-model="facilityInfo.azsj"
61
 												<input type="text" id="facility_azsj" name="azsj" ng-disabled="isNotEdit"  ng-model="facilityInfo.azsj"
62
-													   placeholder="安装时间" onClick="WdatePicker({lang:'zh-cn', dateFmt: 'yyyy-MM-dd HH:mm:ss'})">
62
+													   placeholder="安装时间" onClick="WdatePicker({lang:'zh-cn', dateFmt: 'yyyy-MM-dd HH:mm:ss'})" required>
63
 											</label>
63
 											</label>
64
 										</section>
64
 										</section>
65
 										<section class="col col-3">
65
 										<section class="col col-3">
66
-											<label class="label">调试时间: </label>
66
+											<label class="label">调试时间: <span style="color: red;">*</span></label>
67
 											<label class="input">
67
 											<label class="input">
68
 												<input type="text" id="facility_tssj" name="tssj" ng-disabled="isNotEdit" ng-model="facilityInfo.tssj"
68
 												<input type="text" id="facility_tssj" name="tssj" ng-disabled="isNotEdit" ng-model="facilityInfo.tssj"
69
-													   placeholder="调试时间" onClick="WdatePicker({lang:'zh-cn', dateFmt: 'yyyy-MM-dd HH:mm:ss'})">
69
+													   placeholder="调试时间" onClick="WdatePicker({lang:'zh-cn', dateFmt: 'yyyy-MM-dd HH:mm:ss'})" required>
70
 											</label>
70
 											</label>
71
 										</section>
71
 										</section>
72
                                         <section class="col col-3">
72
                                         <section class="col col-3">
73
-											<label class="label">验收时间:</label>
73
+											<label class="label">验收时间:<span style="color: red;">*</span></label>
74
 											<label class="input">
74
 											<label class="input">
75
 												<input type="text" id="facility_yssj" name="yssj" ng-disabled="isNotEdit" ng-model="facilityInfo.yssj"
75
 												<input type="text" id="facility_yssj" name="yssj" ng-disabled="isNotEdit" ng-model="facilityInfo.yssj"
76
-													   placeholder="验收时间" onClick="WdatePicker({lang:'zh-cn', dateFmt: 'yyyy-MM-dd HH:mm:ss'})">
76
+													   placeholder="验收时间" onClick="WdatePicker({lang:'zh-cn', dateFmt: 'yyyy-MM-dd HH:mm:ss'})" required>
77
 											</label>
77
 											</label>
78
 										</section>
78
 										</section>
79
                                     </div>
79
                                     </div>

+ 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>

+ 1 - 1
src/main/resources/static/app/storage/controller/keepAccount/houseKeepAccountCtrl.js

@@ -301,7 +301,7 @@ angular.module('app.storage').controller("houseKeepAccountCtrl",
301
 	$scope.loadWare();
301
 	$scope.loadWare();
302
 
302
 
303
 
303
 
304
-	// $scope.butType = $stateParams.butType;
304
+	$scope.butType = $stateParams.butType;
305
 	$scope.edit = function() {
305
 	$scope.edit = function() {
306
 		$scope.fcbgz = angular.fromJson($stateParams.account);
306
 		$scope.fcbgz = angular.fromJson($stateParams.account);
307
 		var rq = $filter('date')($scope.fcbgz.rq, "yyyy-MM-dd");
307
 		var rq = $filter('date')($scope.fcbgz.rq, "yyyy-MM-dd");

+ 1 - 1
src/main/resources/static/app/storage/controller/keepAccount/keepTotalAccountCtrl.js

@@ -125,7 +125,7 @@ angular.module('app.storage').controller("keepTotalAccountCtrl",
125
 })
125
 })
126
 .controller("keepTotalAccountEditCtrl", 
126
 .controller("keepTotalAccountEditCtrl", 
127
 		function($scope, $rootScope, $state, $stateParams, $filter, keepAccountService, StorehouseService, warehouseService, APP_CONFIG) {
127
 		function($scope, $rootScope, $state, $stateParams, $filter, keepAccountService, StorehouseService, warehouseService, APP_CONFIG) {
128
-
128
+	$scope.butType = $stateParams.butType;
129
 	// 获取列表日数据
129
 	// 获取列表日数据
130
 	$scope.edit = function() {
130
 	$scope.edit = function() {
131
 		$scope.fcbgz = angular.fromJson($stateParams.account);
131
 		$scope.fcbgz = angular.fromJson($stateParams.account);

+ 0 - 209
src/main/resources/static/app/storage/controller/keepAccount/keepVoucherCtrl.js

@@ -1,209 +0,0 @@
1
-"use strict";
2
-
3
-//保管总账
4
-angular.module('app.storage').controller("keepVoucherCtrl", 
5
-		function($scope, $rootScope, $state, $stateParams, $filter, enumService, keepAccountService, StorehouseService, warehouseService, APP_CONFIG) {
6
-
7
-	// 获取列表数据
8
-	$scope.pageInfo = {pageNum : 1, pageSize : 10};
9
-	$scope.search = {lspz:"", lsxz:"", startDate:"", endDate:""};
10
-	$scope.loadData = function() {
11
-		if($scope.search.lsxz != undefined && $scope.search.lsxz != ""){
12
-			$scope.search.lsxz = $scope.search.lsxz[0].id;
13
-   	 	}
14
-		keepAccountService.getSumAccountPageInfo($scope.pageInfo.pageNum, $scope.pageInfo.pageSize, $scope.search).then(function(data){
15
-	        $scope.pageInfo = data;
16
-	        $scope.deptName = $rootScope.depotInfo.orgName;
17
-	        //获取记账人和审核人
18
-	        //$scope.getAccountRecord($scope.pageInfo.list);
19
-	    },function(data){
20
-	        console.log(data);
21
-	    });
22
-		//加载打印区域的数据
23
-		keepAccountService.getSumAccountPageInfo(null, null, $scope.search).then(function(data){
24
-	        $scope.pageInfos = data;
25
-	        $scope.printList = data.list;
26
-	        //获取记账人和审核人
27
-	        //$scope.getAccountRecord($scope.printList);
28
-	    },function(data){
29
-	        console.log(data);
30
-	    });
31
-		// 树形下拉框(粮食性质)
32
-        enumService.getTreeListByTypeId($scope.search.lsxz, 1032).then(function(data) {
33
-        	var data_new = $scope.data_add(data);
34
-            $scope.grainAttributeTreeData = data_new;
35
-        },function(data) {
36
-            console.log(data);
37
-        });
38
-	}
39
-	$scope.loadData();
40
-
41
-	$scope.data_add = function(data) {
42
-    	//var data_new = $scope.data_add(data);
43
-		var e = [];
44
-    	if (data.length != 0) {
45
-    		//要插入的json对象串
46
-    		var a = {"id":null,"name":"请选择","children":[]};
47
-    		//将返回的json对象和要插入的json对象串转换为字符串格式
48
-    		var f = angular.toJson(a);
49
-    		var b = angular.toJson(data);
50
-    		//把要插入的json对象串插入返回数据的最前面
51
-    		var c = b.substring(0,1);
52
-    		var d = b.substring(1,b.length);
53
-    		e = c + f + "," + d;
54
-    	}
55
-    	//最后在转换为json对象返回去
56
-    	return angular.fromJson(e);
57
-	}
58
-
59
-	$scope.getAccountRecord = function (pageInfo) {
60
-		if (pageInfo != null || pageInfo.length != 0) {
61
-			var obj;
62
-			var rq;
63
-			for (var i = 0; i < pageInfo.length; i++) {
64
-				obj = pageInfo[0];
65
-				rq = $filter('date')(obj.rq, "yyyy-MM");
66
-				keepAccountService.accountingRecord(obj.ch, obj.hwh, obj.lspz, obj.hwxz, rq, obj.wjh, obj.remark, 1).then(function(data){
67
-					$scope.account = data.obj;
68
-					obj.accountingPerson = $scope.account.accountingPerson;//记账人
69
-					obj.auditor = $scope.account.auditor;//审核人
70
-				},function(data){
71
-					console.log(data);
72
-				});
73
-			}
74
-		}
75
-	}
76
-
77
-	// 翻页
78
-	$scope.goPage = function(pageNum) {
79
-		$scope.pageInfo.pageNum = pageNum;
80
-		$scope.loadData();
81
-	}
82
-
83
-    //页面跳转
84
-    $scope.edit = function(account, butType) {
85
-		var obj_str = angular.toJson(account);
86
-		$scope.fcbgz = angular.fromJson(obj_str);
87
-		var rq = $filter('date')($scope.fcbgz.rq, "yyyy-MM");
88
-		if (butType != 3) { //记账、审核、查看
89
-			keepAccountService.accountingRecord(null, null, $scope.fcbgz.lspz, $scope.fcbgz.hwxz, rq, $scope.fcbgz.wjh, $scope.fcbgz.remark, 1).then(function(data){
90
-				$scope.account = data.obj;
91
-				if (butType == 0) { //记账
92
-					if (data.obj.id != null || data.obj.id != undefined) {
93
-						alert("当前记录已记账!");
94
-						return;
95
-					}
96
-				} else if (butType == 1) { //审核
97
-					if (data.obj.id == null || data.obj.id == undefined) {
98
-						alert("当前记录还尚未记账,请先记账!");
99
-						return;
100
-					} else {
101
-						if (data.obj.auditor != null || data.obj.auditor != undefined) {
102
-							alert("当前记录已审核!");
103
-							return;
104
-						}
105
-					}
106
-				} else if (butType == 2) { //查看
107
-					if (data.obj.id == null || data.obj.id == undefined) {
108
-						alert("当前记录还尚未记账,请先记账!");
109
-						return;
110
-					}
111
-				}
112
-				$state.go('app.storage.account.keepTotalAccount.keepTotalAccountEdit',{account:angular.toJson(account), butType:butType});
113
-			},function(data){
114
-		        console.log(data);
115
-		    });
116
-		} else { //分仓账
117
-			$state.go('app.storage.account.houseKeepAccount',{account:angular.toJson(account), type:butType});
118
-		}
119
-	}
120
-	//打印
121
-	$scope.print = function() {
122
-		$("#print").printArea();
123
-	}
124
-	
125
-})
126
-.controller("keepTotalAccountEditCtrl", 
127
-		function($scope, $rootScope, $state, $stateParams, $filter, keepAccountService, StorehouseService, warehouseService, APP_CONFIG) {
128
-
129
-	// 获取列表日数据
130
-	$scope.edit = function() {
131
-		$scope.fcbgz = angular.fromJson($stateParams.account);
132
-		$scope.fcbgz.lcmc = $rootScope.depotInfo.orgName;
133
-		var rq = $filter('date')($scope.fcbgz.rq, "yyyy-MM");
134
-		keepAccountService.accountingRecord($scope.fcbgz.ch, $scope.fcbgz.hwh, $scope.fcbgz.lspz, $scope.fcbgz.hwxz, rq, $scope.fcbgz.wjh, $scope.fcbgz.remark, 1).then(function(data){
135
-			$scope.account = data.obj;
136
-
137
-			if ($stateParams.butType == 0) { //记账
138
-				//初始化数据记账表对象数据
139
-				$scope.account.lspz = $scope.fcbgz.lspz;
140
-				$scope.account.hwxz = $scope.fcbgz.hwxz;
141
-				$scope.account.rq = rq;
142
-				$scope.account.srsl = $scope.fcbgz.srsl;
143
-				$scope.account.zcsl = $scope.fcbgz.zcsl;
144
-				$scope.account.kcsl = $scope.fcbgz.kcsl;
145
-				$scope.account.accountingPerson = $rootScope.userInfo.realName; //记账人
146
-				$scope.account.accountingDate = $filter('date')(new Date(), "yyyy-MM-dd"); //记账时间
147
-				$scope.account.remark = $scope.fcbgz.remark; //摘要
148
-				$scope.account.wjh = $scope.fcbgz.wjh; //文件号
149
-				//设置状态为记账
150
-				//$scope.accountType = 0;
151
-
152
-				//影藏审核信息
153
-				$scope.auditor_th = true;
154
-			} else if ($stateParams.butType == 1) { //审核
155
-				//设置记账时间格式化和不可编辑
156
-				$scope.account.accountingDate = $filter('date')($scope.account.accountingDate, "yyyy-MM-dd");
157
-				$scope.accounting_isNotEdit = true;
158
-				//显示审核信息
159
-				$scope.auditor_th = false;
160
-				//设置审核人为当前用户,审核时间为当前时间
161
-				$scope.account.auditor = $rootScope.userInfo.realName;
162
-				$scope.account.auditorDate = $filter('date')(new Date(), "yyyy-MM-dd");
163
-			} else if ($stateParams.butType == 2) { //查看
164
-				//设置记账时间格式化和不可编辑
165
-				$scope.account.accountingDate = $filter('date')($scope.account.accountingDate, "yyyy-MM-dd");
166
-				$scope.accounting_isNotEdit = true;
167
-				//显示审核信息
168
-				$scope.auditor_th = false;
169
-				//审核信息设置不可编辑
170
-				$scope.account.auditorDate = $filter('date')($scope.account.auditorDate, "yyyy-MM-dd");
171
-				$scope.auditor_isNotEdit = true;
172
-				//提交按钮影藏
173
-				$scope.isNotEdit = true;
174
-			}
175
-			//初始分仓保管账表对象数据
176
-			$scope.fcbgz.hwxz = $rootScope.dicData[$scope.fcbgz.hwxz];
177
-			$scope.fcbgz.lspz = $rootScope.dicData[$scope.fcbgz.lspz];
178
-			$scope.fcbgz.dj = $rootScope.dicData[$scope.fcbgz.dj];
179
-			$scope.fcbgz.rq = rq;
180
-		},function(data){
181
-	        console.log(data);
182
-	    });
183
-
184
-	}
185
-	$scope.edit();
186
-	
187
-	//提交
188
-	$scope.submit = function() {
189
-		keepAccountService.submit($scope.account, 1, $rootScope.orgInfo.orgId).then(function(data){
190
-			if (data.status = 'success') {
191
-				alert(data.msg);
192
-			} else {
193
-				alert("保存失败!");
194
-			}
195
-			$scope.retList();
196
-		},function(data){
197
-			alert("保存失败!");
198
-	    });
199
-	}
200
-	
201
-	//返回
202
-    $scope.retList = function () {
203
-		if ($rootScope.previousState_name != '') {
204
-        	$rootScope.back();
205
-        } else {
206
-        	$state.go('app.storage.account.keepTotalAccount');
207
-        }
208
-    }
209
-});

+ 7 - 2
src/main/resources/static/app/storage/controller/safeProduceDangerHandle.js

@@ -4,7 +4,7 @@ angular
4
   .module("app.storage")
4
   .module("app.storage")
5
   .controller(
5
   .controller(
6
     "safeProduceDangerHandle",
6
     "safeProduceDangerHandle",
7
-    function ($scope, $state, $rootScope, safeDangerHandleService) {
7
+    function ($scope, $state, $rootScope, safeDangerHandleService, $filter) {
8
       $scope.pageInfo = { pageNum: 1, pageSize: 10 };
8
       $scope.pageInfo = { pageNum: 1, pageSize: 10 };
9
       $scope.orgName = $rootScope.depotInfo.orgName;
9
       $scope.orgName = $rootScope.depotInfo.orgName;
10
       $scope.loadData = function () {
10
       $scope.loadData = function () {
@@ -86,7 +86,8 @@ angular
86
       $rootScope,
86
       $rootScope,
87
       safeDangerHandleService,
87
       safeDangerHandleService,
88
       StorehouseService,
88
       StorehouseService,
89
-      $stateParams
89
+      $stateParams,
90
+      $filter
90
     ) {
91
     ) {
91
       $scope.orgName = $rootScope.depotInfo.orgName;
92
       $scope.orgName = $rootScope.depotInfo.orgName;
92
       $scope.insertDanger = {
93
       $scope.insertDanger = {
@@ -129,6 +130,10 @@ angular
129
             .queryById($stateParams.id)
130
             .queryById($stateParams.id)
130
             .then(function (data) {
131
             .then(function (data) {
131
               $scope.insertDanger = data.data;
132
               $scope.insertDanger = data.data;
133
+              if($scope.insertDanger.solveTime) {
134
+                $scope.insertDanger.solveTime = $filter('date')($scope.insertDanger.solveTime, "yyyy-MM-dd");
135
+                $scope.insertDanger.solveTime = $scope.insertDanger.solveTime.slice(0, 10);
136
+              }
132
             });
137
             });
133
         }
138
         }
134
       };
139
       };

+ 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>

+ 15 - 12
src/main/resources/static/app/storage/views/safeproduce/safeDangerHandle-edit.html

@@ -51,7 +51,7 @@
51
                     </section>
51
                     </section>
52
                     <section class="form-group col col-3">
52
                     <section class="form-group col col-3">
53
                       <label class="label"
53
                       <label class="label"
54
-                        >整改时限<span style="color: red">*</span></label
54
+                        >整改时限</label
55
                       >
55
                       >
56
                       <label class="select">
56
                       <label class="select">
57
                         <input
57
                         <input
@@ -159,18 +159,16 @@
159
                   </div>
159
                   </div>
160
                   <div class="row">
160
                   <div class="row">
161
                     <section class="col col-12" style="width: 100%">
161
                     <section class="col col-12" style="width: 100%">
162
-                      <label class="label"
163
-                        >隐患整改验收信息<span style="color: red"
164
-                          >*</span
165
-                        ></label
166
-                      >
162
+                      <label class="label">隐患整改信息<span style="color: red"
163
+                        >*</span
164
+                      ></label>
167
                       <label class="input">
165
                       <label class="input">
168
                         <input
166
                         <input
167
+                          required
169
                           type="text"
168
                           type="text"
170
-                          ng-model="insertDanger.riskSolve"
169
+                          ng-model="insertDanger.solveCheckInfo"
171
                           ng-disabled="isNotEdit"
170
                           ng-disabled="isNotEdit"
172
-                          required
173
-                          name="riskSolve"
171
+                          name="solveCheckInfo"
174
                         />
172
                         />
175
                       </label>
173
                       </label>
176
                     </section>
174
                     </section>
@@ -193,13 +191,18 @@
193
                   </div>
191
                   </div>
194
                   <div class="row">
192
                   <div class="row">
195
                     <section class="col col-12" style="width: 100%">
193
                     <section class="col col-12" style="width: 100%">
196
-                      <label class="label">整改验收信息</label>
194
+                      <label class="label"
195
+                        >隐患整改验收信息<span style="color: red"
196
+                          >*</span
197
+                        ></label
198
+                      >
197
                       <label class="input">
199
                       <label class="input">
198
                         <input
200
                         <input
199
                           type="text"
201
                           type="text"
200
-                          ng-model="insertDanger.solveCheckInfo"
202
+                          ng-model="insertDanger.riskSolve"
201
                           ng-disabled="isNotEdit"
203
                           ng-disabled="isNotEdit"
202
-                          name="solveCheckInfo"
204
+                          required
205
+                          name="riskSolve"
203
                         />
206
                         />
204
                       </label>
207
                       </label>
205
                     </section>
208
                     </section>