hanqingsong 1 рік тому
батько
коміт
09b891be37

+ 3 - 1
src/main/resources/static/app/storage/controller/dailyListCtrl.js

@@ -126,6 +126,7 @@ angular.module('app.storage')
126 126
                 $scope.dailycheck = data.dailycheck;
127 127
                 $scope.dailycheck.houseId = data.dailycheck.houseId;
128 128
                 $scope.dailycheck.checkTime = $filter('date')($scope.dailycheck.checkTime, "yyyy-MM-dd");
129
+                $scope.dailycheck.commitTime = $filter('date')($scope.dailycheck.commitTime, "yyyy-MM-dd HH:mm:ss"); //提交时间
129 130
                 $scope.change(0);//点击仓房切换货位
130 131
             },function(data){
131 132
 
@@ -233,7 +234,8 @@ angular.module('app.storage')
233 234
         }else {
234 235
             //$scope.getBasicData();
235 236
             $scope.dailycheck.checkTime = getNowFormatDate();
236
-            $scope.dailycheck.checker = $rootScope.userInfo.realName; //检验人
237
+            $scope.dailycheck.cyry = $rootScope.userInfo.realName; //提交人
238
+            $scope.dailycheck.commitTime = $filter('date')(new Date(), "yyyy-MM-dd HH:mm:ss"); //提交时间
237 239
             $scope.dailycheck.rainCheck = "正常";
238 240
             $scope.dailycheck.rcdoor = "正常";
239 241
             $scope.dailycheck.rcwindow = "正常";

+ 20 - 6
src/main/resources/static/app/storage/views/safeproduce/safeproduce-dailyList-add.html

@@ -74,10 +74,10 @@
74 74
 									</div>
75 75
 									<div class="row">
76 76
 										<section class="col col-3">
77
-											<label>检查人:<span style="color: red;">*</span></label>
77
+											<label>检查人:<span style="color: red;">*</span></label>
78 78
 											<label class="input" style="padding-top:5px;">
79 79
 												<input type="text" ng-model="dailycheck.checker" name="checker" ng-readonly="isNotEdit"
80
-													   placeholder="检查人" required>
80
+													   placeholder="检查人" required>
81 81
 
82 82
 											</label>
83 83
 										</section>
@@ -88,12 +88,26 @@
88 88
 													   placeholder="保管员" required disabled>
89 89
 											</label>
90 90
 										</section>
91
-										<section class="col col-3">
91
+										<!--<section class="col col-3">
92 92
 											<label>参与人员:<span style="color: red;">*</span></label>
93 93
 											<label class="input" style="padding-top:5px;">
94 94
 												<input type="text" ng-model="dailycheck.cyry" name="cyry" ng-readonly="isNotEdit"
95 95
 													   placeholder="参与人员" required>
96 96
 											</label>
97
+										</section>-->
98
+										<section class="col col-3">
99
+											<label>提交人:<span style="color: red;">*</span></label>
100
+											<label class="input" style="padding-top:5px;">
101
+												<input type="text" ng-model="dailycheck.cyry" name="cyry" ng-readonly="true"
102
+													   placeholder="提交人" required>
103
+											</label>
104
+										</section>
105
+										<section class="col col-3">
106
+											<label>提交时间:<span style="color: red;">*</span></label>
107
+											<label class="input" style="padding-top:5px;">
108
+												<input type="text" ng-model="dailycheck.commitTime" name="commitTime" onClick="WdatePicker({lang:'zh-cn'})" ng-disabled="true"
109
+													   placeholder="提交时间" required>
110
+											</label>
97 111
 										</section>
98 112
 									</div>
99 113
 									<div class="row">
@@ -142,7 +156,7 @@
142 156
 										</section>
143 157
 									</div>
144 158
 								</fieldset>
145
-								<header>虫害检查</header>
159
+								<!--<header>虫害检查</header>
146 160
 								<fieldset>
147 161
 									<div class="row">
148 162
 										<section class="col col-3">
@@ -174,8 +188,8 @@
174 188
 										</section>
175 189
 
176 190
 									</div>
177
-								</fieldset>
178
-								<header>其它检查</header>
191
+								</fieldset>-->
192
+								<header>检查内容</header>
179 193
 								<fieldset>
180 194
 									<div class="row">
181 195
 										<section class="col col-3">

+ 10 - 10
src/main/resources/static/app/storage/views/safeproduce/safeproduce-dailyList-list.html

@@ -14,7 +14,7 @@
14 14
 					</header>
15 15
 					<div>
16 16
 						<div class="widget-body no-padding">
17
-							<div id="DataTables_Table_1_wrapper"class="dataTables_wrapper form-inline no-footer">
17
+							<div id="DataTables_Table_1_wrapper" class="dataTables_wrapper form-inline no-footer">
18 18
 								<div class="dt-toolbar">
19 19
 									<div ng-hide="isArchive" class="col-xs-3 col-sm-1">
20 20
 										<a class="btn btn-primary btn-sm" ng-click="addDailyList()"><span class="fa fa-plus"></span>&nbsp;新&nbsp;增</a>
@@ -60,7 +60,7 @@
60 60
 											<th data-class="expand" class="text-center">货位名称</th>
61 61
 											<th data-hide="expand" class="text-center">粮油品种</th>
62 62
 											<th data-hide="expand" class="text-center">检查日期</th>
63
-											<th data-hide="expand" class="text-center">检查人</th>
63
+											<th data-hide="expand" class="text-center">检查人</th>
64 64
 											
65 65
 											<th data-hide="expand" class="text-center">操作</th>
66 66
 										</tr>
@@ -68,17 +68,17 @@
68 68
 
69 69
 									<tbody>
70 70
 									<tr ng-repeat="dailycheck in pageInfo.list">
71
-											<th align="center">{{$index + 1 + (pageInfo.pageNum-1) * pageInfo.pageSize}}</th>
72
-											<td>{{storehouseObj[dailycheck.houseId].storehouseName}}</td>
73
-											<td>{{warehouseObj[dailycheck.warehouseId].warehouseName}}</td>
74
-											<td>{{dicData[dailycheck.subType]}}</td>
75
-											<td>{{dailycheck.checkTime | date :'yyyy-MM-dd '}}</td>
76
-											<td>{{dailycheck.checker}}</td>
71
+											<td style="text-align:center;">{{$index + 1 + (pageInfo.pageNum-1) * pageInfo.pageSize}}</td>
72
+											<td style="text-align:center;">{{storehouseObj[dailycheck.houseId].storehouseName}}</td>
73
+											<td style="text-align:center;">{{warehouseObj[dailycheck.warehouseId].warehouseName}}</td>
74
+											<td style="text-align:center;">{{dicData[dailycheck.subType]}}</td>
75
+											<td style="text-align:center;">{{dailycheck.checkTime | date :'yyyy-MM-dd '}}</td>
76
+											<td style="text-align:center;">{{dailycheck.checker}}</td>
77 77
 											
78 78
 											<td class="text-center">
79 79
 											    <a href-void ng-click="showViewOut(dailycheck.id)"><i class="fa fa-info-circle"></i>查看</a>
80
-												<a ng-hide="isArchive" has-permission="717" href-void ng-click="showEditFbe(dailycheck.id)"><i class="fa fa-edit"></i>修改</a>
81
-												<a ng-hide="isArchive" has-permission="718" href-void ng-click="remove(dailycheck.id)"><i class="fa fa-trash-o"></i>删除</a>
80
+												<!--<a ng-hide="isArchive" has-permission="717" href-void ng-click="showEditFbe(dailycheck.id)"><i class="fa fa-edit"></i>修改</a>
81
+												<a ng-hide="isArchive" has-permission="718" href-void ng-click="remove(dailycheck.id)"><i class="fa fa-trash-o"></i>删除</a>-->
82 82
 											</td>
83 83
 										</tr>
84 84
 									</tbody>