ソースを参照

熏蒸整体必录字段校验、药剂入库单价校验调整

fanxiongwei 3 年 前
コミット
e53dfc3447

+ 23 - 23
src/main/resources/static/app/intelligent/fumigation/views/homework/fumHomeWorkAfter-edit.html

@@ -124,7 +124,7 @@
124 124
                                                     <label class="label" style="margin-top: 50%;text-align: center;">散气情况</label>
125 125
                                                 </th>
126 126
                                                 <th>
127
-                                                    <label label class="label" style="margin-top: 9px;text-align: center;">散气开始时间<span style="color: red;">*</span></label>
127
+                                                    <label label class="label" style="margin-top: 9px;text-align: center;">散气开始时间</label>
128 128
                                                 </th>
129 129
                                                 <th>
130 130
                                                     <section>
@@ -135,7 +135,7 @@
135 135
                                                     </section>
136 136
                                                 </th>
137 137
                                                 <th>
138
-                                                    <label label class="label" style="margin-top: 9px;text-align: center;">散气结束时间<span style="color: red;">*</span></label>
138
+                                                    <label label class="label" style="margin-top: 9px;text-align: center;">散气结束时间</label>
139 139
                                                 </th>
140 140
                                                 <th>
141 141
                                                     <section>
@@ -146,7 +146,7 @@
146 146
                                                     </section>
147 147
                                                 </th>
148 148
                                                 <th>
149
-                                                    <label label class="label" style="margin-top: 9px;text-align: center;">散气日期<span style="color: red;">*</span></label>
149
+                                                    <label label class="label" style="margin-top: 9px;text-align: center;">散气日期</label>
150 150
                                                 </th>
151 151
                                                 <th>
152 152
                                                     <section>
@@ -157,13 +157,13 @@
157 157
                                                     </section>
158 158
                                                 </th>
159 159
                                                 <th>
160
-                                                    <label label class="label" style="margin-top: 9px;text-align: center;">散气持续天数(天)</label>
160
+                                                    <label label class="label" style="margin-top: 9px;text-align: center;">散气持续天数(天)<span style="color: red;">*</span></label>
161 161
                                                 </th>
162 162
                                                 <th>
163 163
                                                     <section>
164 164
                                                         <label class="input">
165 165
                                                             <input class="form-control" type="text" ng-model="fumigationProcess.perforatedDays"
166
-                                                                   ng-readonly="true" name="perforatedDays">
166
+                                                                   ng-readonly="true" name="perforatedDays" />
167 167
                                                         </label>
168 168
                                                     </section>
169 169
                                                 </th>
@@ -192,24 +192,24 @@
192 192
                                                     </section>
193 193
                                                 </th>
194 194
                                                 <th>
195
-                                                    <label label class="label" style="margin-top: 9px;text-align: center;">散气结束前磷化氢浓度(ppm)<span style="color: red;">*</span></label>
195
+                                                    <label label class="label" style="margin-top: 9px;text-align: center;">散气结束前磷化氢浓度(ppm)</label>
196 196
                                                 </th>
197 197
                                                 <th>
198 198
                                                     <section>
199 199
                                                         <label class="input">
200 200
                                                             <input class="form-control" type="text" ng-model="fumigationProcess.perforatedBefore"
201
-                                                                   ng-readonly="true" name="perforatedBefore" validNumber="true">
201
+                                                                   ng-readonly="true" name="perforatedBefore" validNumber="true" />
202 202
                                                         </label>
203 203
                                                     </section>
204 204
                                                 </th>
205 205
                                                 <th>
206
-                                                    <label label class="label" style="margin-top: 9px;text-align: center;">散气结束时磷化氢浓度(ppm)<span style="color: red;">*</span></label>
206
+                                                    <label label class="label" style="margin-top: 9px;text-align: center;">散气结束时磷化氢浓度(ppm)</label>
207 207
                                                 </th>
208 208
                                                 <th>
209 209
                                                     <section>
210 210
                                                         <label class="input">
211 211
                                                             <input class="form-control" type="text" ng-model="fumigationProcess.perforatedEnd"
212
-                                                                   ng-readonly="true" name="perforatedEnd" validNumber="true">
212
+                                                                   ng-readonly="true" name="perforatedEnd" validNumber="true" />
213 213
                                                         </label>
214 214
                                                     </section>
215 215
                                                 </th>
@@ -222,18 +222,18 @@
222 222
                                                     <section>
223 223
                                                         <label class="input">
224 224
                                                             <input class="form-control" type="text" ng-model="fumigationProcess.bulkGasType"
225
-                                                                   ng-readonly="true" name="bulkGasType">
225
+                                                                   ng-readonly="true" name="bulkGasType" />
226 226
                                                         </label>
227 227
                                                     </section>
228 228
                                                 </th>
229 229
                                                 <th>
230
-                                                    <label label class="label" style="margin-top: 9px;text-align: center;">药剂残留率(ppm)<span style="color: red;">*</span></label>
230
+                                                    <label label class="label" style="margin-top: 9px;text-align: center;">药剂残留率(ppm)</label>
231 231
                                                 </th>
232 232
                                                 <th>
233 233
                                                     <section>
234 234
                                                         <label class="input">
235 235
                                                             <input class="form-control" type="text" ng-model="fumigationProcess.drugResidueRate"
236
-                                                                   ng-readonly="true" name="drugResidueRate" validNumber="true">
236
+                                                                   ng-readonly="true" name="drugResidueRate" validNumber="true" />
237 237
                                                         </label>
238 238
                                                     </section>
239 239
                                                 </th>
@@ -244,7 +244,7 @@
244 244
                                                     <section>
245 245
                                                         <label class="input">
246 246
                                                             <input class="form-control" type="text" ng-model="fumigationProcess.perforatedApprover"
247
-                                                                   ng-readonly="true" name="perforatedApprover">
247
+                                                                   ng-readonly="true" name="perforatedApprover" />
248 248
                                                         </label>
249 249
                                                     </section>
250 250
                                                 </th>
@@ -407,61 +407,61 @@
407 407
                                                     </section>
408 408
                                                 </th>
409 409
                                                 <th>
410
-                                                    <label label class="label" style="margin-top: 9px;text-align: center;">取样培养温度(℃)<span style="color: red;">*</span></label>
410
+                                                    <label label class="label" style="margin-top: 9px;text-align: center;">取样培养温度(℃)</label>
411 411
                                                 </th>
412 412
                                                 <th>
413 413
                                                     <section>
414 414
                                                         <label class="input">
415 415
                                                             <input class="form-control" type="text" ng-model="fumigationAfter.samplingCultureTemperature"
416
-                                                                   ng-readonly="isNotEdit" name="samplingCultureTemperature" validNumber="true" required>
416
+                                                                   ng-readonly="isNotEdit" name="samplingCultureTemperature" validNumber="true" />
417 417
                                                         </label>
418 418
                                                     </section>
419 419
                                                 </th>
420 420
                                             </tr>
421 421
                                             <tr>
422 422
                                                 <th>
423
-                                                    <label label class="label" style="margin-top: 9px;text-align: center;">取样培养湿度(%)<span style="color: red;">*</span></label>
423
+                                                    <label label class="label" style="margin-top: 9px;text-align: center;">取样培养湿度(%)</label>
424 424
                                                 </th>
425 425
                                                 <th>
426 426
                                                     <section>
427 427
                                                         <label class="input">
428 428
                                                             <input class="form-control" type="text" ng-model="fumigationAfter.samplingCultureHumidity"
429
-                                                                   ng-readonly="isNotEdit" name="samplingCultureHumidity" validNumber="true" required>
429
+                                                                   ng-readonly="isNotEdit" name="samplingCultureHumidity" validNumber="true" />
430 430
                                                         </label>
431 431
                                                     </section>
432 432
                                                 </th>
433 433
                                                 <th>
434
-                                                    <label label class="label" style="margin-top: 9px;text-align: center;">粮堆杀虫效果或杀虫率(%)<span style="color: red;">*</span></label>
434
+                                                    <label label class="label" style="margin-top: 9px;text-align: center;">粮堆杀虫效果或杀虫率(%)</label>
435 435
                                                 </th>
436 436
                                                 <th>
437 437
                                                     <section>
438 438
                                                         <label class="input">
439 439
                                                             <input class="form-control" type="text" ng-model="fumigationAfter.killInsectRate" ng-readonly="isNotEdit"
440
-                                                                   name="killInsectRate" validNumber="true" required>
440
+                                                                   name="killInsectRate" validNumber="true" />
441 441
                                                         </label>
442 442
                                                     </section>
443 443
                                                 </th>
444 444
                                                 <th>
445
-                                                    <label label class="label" style="margin-top: 9px;text-align: center;">检查虫笼时间<span style="color: red;">*</span></label>
445
+                                                    <label label class="label" style="margin-top: 9px;text-align: center;">检查虫笼时间</label>
446 446
                                                 </th>
447 447
                                                 <th>
448 448
                                                     <section>
449 449
                                                         <label class="input">
450 450
                                                             <input type="text" class="form-control" ng-model="fumigationAfter.checkInsectCageTime" name="checkInsectCageTime"
451
-                                                                   onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd HH:mm:ss'})" ng-disabled="isNotEdit" required>
451
+                                                                   onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd HH:mm:ss'})" ng-disabled="isNotEdit" />
452 452
                                                         </label>
453 453
                                                     </section>
454 454
                                                 </th>
455 455
                                             </tr>
456 456
                                             <tr>
457 457
                                                 <th>
458
-                                                    <label label class="label" style="margin-top: 9px;text-align: center;">虫笼害虫死亡率(%)<span style="color: red;">*</span></label>
458
+                                                    <label label class="label" style="margin-top: 9px;text-align: center;">虫笼害虫死亡率(%)</label>
459 459
                                                 </th>
460 460
                                                 <th>
461 461
                                                     <section>
462 462
                                                         <label class="input">
463 463
                                                             <input class="form-control" type="text" ng-model="fumigationAfter.insectCageKillRate" ng-readonly="isNotEdit"
464
-                                                                   name="insectCageKillRate" validNumber="true" required>
464
+                                                                   name="insectCageKillRate" validNumber="true" />
465 465
                                                         </label>
466 466
                                                     </section>
467 467
                                                 </th>

+ 48 - 226
src/main/resources/static/app/intelligent/fumigation/views/homework/fumHomeWorkProcess-edit.html

@@ -77,11 +77,7 @@
77 77
                       </tr>
78 78
                       <tr>
79 79
                         <th>
80
-                          <label class="label" style="margin-top: 9px; text-align: center">粮食品种<span style="
81
-                                color: red;
82
-                                margin-left: 5px;
83
-                                text-align: center;
84
-                              ">*</span></label>
80
+                          <label class="label" style="margin-top: 9px; text-align: center">粮食品种</label>
85 81
                         </th>
86 82
                         <th>
87 83
                           <section>
@@ -239,49 +235,36 @@
239 235
                           <label class="label" style="margin-top: 50%; text-align: center">作业过程记录</label>
240 236
                         </th>
241 237
                         <th>
242
-                          <label class="label" style="margin-top: 9px; text-align: center">初次施药时间<span style="color: red">*</span></label>
238
+                          <label class="label" style="margin-top: 9px; text-align: center">初次施药时间</label>
243 239
                         </th>
244 240
                         <th>
245 241
                           <section>
246 242
                             <label class="input">
247 243
                               <input type="text" class="form-control" ng-model="fumigationProcess.firstUseDrugTime"
248 244
                                 name="firstUseDrugTime" onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd HH:mm:ss'})"
249
-                                ng-disabled="isNotEdit" required />
245
+                                ng-disabled="isNotEdit" />
250 246
                             </label>
251 247
                           </section>
252 248
                         </th>
253 249
                         <th>
254
-                          <label class="label" style="margin-top: 9px; text-align: center">初次单位剂量(g/m³)<span style="color: red">*</span></label>
250
+                          <label class="label" style="margin-top: 9px; text-align: center">初次单位剂量(g/m³)</label>
255 251
                         </th>
256 252
                         <th>
257 253
                           <section>
258 254
                             <label class="input">
259 255
                               <input class="form-control" type="text" ng-model="fumigationProcess.firstUseDrugUnit"
260
-                                ng-readonly="isNotEdit" name="firstUseDrugUnit" validNumber="true" required />
256
+                                ng-readonly="isNotEdit" name="firstUseDrugUnit" validNumber="true" />
261 257
                             </label>
262 258
                           </section>
263 259
                         </th>
264 260
                         <th>
265
-                          <label
266
-                            class="label"
267
-                            style="margin-top: 9px; text-align: center"
268
-                            >初次用药量(kg)<span style="color: red"
269
-                              >*</span
270
-                            ></label
271
-                          >
261
+                          <label class="label" style="margin-top: 9px; text-align: center">初次用药量(kg)</label>
272 262
                         </th>
273 263
                         <th>
274 264
                           <section>
275 265
                             <label class="input">
276
-                              <input
277
-                                class="form-control"
278
-                                type="text"
279
-                                ng-model="fumigationProcess.firstUseDrugCount"
280
-                                ng-readonly="isNotEdit"
281
-                                name="firstUseDrugCount"
282
-                                validNumber="true"
283
-                                required
284
-                              />
266
+                              <input class="form-control" type="text" ng-model="fumigationProcess.firstUseDrugCount" ng-readonly="isNotEdit"
267
+                                name="firstUseDrugCount" validNumber="true" />
285 268
                             </label>
286 269
                           </section>
287 270
                         </th>
@@ -289,24 +272,13 @@
289 272
 
290 273
                       <tr>
291 274
                         <th>
292
-                          <label
293
-                            class="label"
294
-                            style="margin-top: 9px; text-align: center"
295
-                            >环流时间(h)<span style="color: red">*</span></label
296
-                          >
275
+                          <label class="label" style="margin-top: 9px; text-align: center">环流时间(h)</label>
297 276
                         </th>
298 277
                         <th>
299 278
                           <section>
300 279
                             <label class="input">
301
-                              <input
302
-                                class="form-control"
303
-                                type="text"
304
-                                ng-model="fumigationProcess.circulationUseTime"
305
-                                ng-readonly="isNotEdit"
306
-                                name="circulationUseTime"
307
-                                validNumber="true"
308
-                                required
309
-                              />
280
+                              <input class="form-control" type="text" ng-model="fumigationProcess.circulationUseTime" ng-readonly="isNotEdit"
281
+                                name="circulationUseTime" validNumber="true" />
310 282
                             </label>
311 283
                           </section>
312 284
                         </th>
@@ -377,23 +349,14 @@
377 349
                           </section>
378 350
                         </th>
379 351
                         <th>
380
-                          <label
381
-                            class="label"
382
-                            style="margin-top: 9px; text-align: center"
383
-                            >最后补药量(kg)</label
384
-                          >
352
+                          <label class="label" style="margin-top: 9px; text-align: center">最后补药量(kg)</label>
385 353
                         </th>
386 354
                         <th>
387 355
                           <section>
388 356
                             <label class="input">
389
-                              <input
390
-                                class="form-control"
391
-                                type="text"
357
+                              <input class="form-control" type="text"
392 358
                                 ng-model="fumigationProcess.lastSupplementDrugCount"
393
-                                ng-readonly="isNotEdit"
394
-                                name="lastSupplementDrugCount"
395
-                                validNumber="true"
396
-                              />
359
+                                ng-readonly="isNotEdit" name="lastSupplementDrugCount" validNumber="true" />
397 360
                             </label>
398 361
                           </section>
399 362
                         </th>
@@ -422,26 +385,13 @@
422 385
 
423 386
                       <tr>
424 387
                         <th>
425
-                          <label
426
-                            class="label"
427
-                            style="margin-top: 9px; text-align: center"
428
-                            >总补药量(kg)<span style="color: red"
429
-                              >*</span
430
-                            ></label
431
-                          >
388
+                          <label class="label" style="margin-top: 9px; text-align: center">总补药量(kg)</label>
432 389
                         </th>
433 390
                         <th>
434 391
                           <section>
435 392
                             <label class="input">
436
-                              <input
437
-                                class="form-control"
438
-                                type="text"
439
-                                ng-model="fumigationProcess.totalSupplementDrugCount"
440
-                                ng-readonly="isNotEdit"
441
-                                name="totalSupplementDrugCount"
442
-                                validNumber="true"
443
-                                required
444
-                              />
393
+                              <input class="form-control" type="text" ng-model="fumigationProcess.totalSupplementDrugCount"
394
+                                ng-readonly="isNotEdit" name="totalSupplementDrugCount" validNumber="true" />
445 395
                             </label>
446 396
                           </section>
447 397
                         </th>
@@ -1018,123 +968,60 @@
1018 968
                           <label class="label" style="margin-top: 50%; text-align: center" >散气情况</label>
1019 969
                         </th>
1020 970
                         <th>
1021
-                          <label
1022
-                            label
1023
-                            class="label"
1024
-                            style="margin-top: 9px; text-align: center"
1025
-                            >散气开始时间<span style="color: red"
1026
-                              >*</span
1027
-                            ></label
1028
-                          >
971
+                          <label class="label" style="margin-top: 9px; text-align: center">散气开始时间</label>
1029 972
                         </th>
1030 973
                         <th>
1031 974
                           <section>
1032 975
                             <label class="input">
1033
-                              <input
1034
-                                type="text"
1035
-                                class="form-control"
1036
-                                ng-model="fumigationProcess.bulkStartTime"
1037
-                                name="bulkStartTime"
1038
-                                onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd HH:mm:ss'})"
1039
-                                ng-disabled="isNotEdit"
1040
-                                required
1041
-                              />
976
+                              <input type="text" class="form-control" ng-model="fumigationProcess.bulkStartTime" name="bulkStartTime"
977
+                                onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd HH:mm:ss'})" ng-disabled="isNotEdit" />
1042 978
                             </label>
1043 979
                           </section>
1044 980
                         </th>
1045 981
                         <th>
1046
-                          <label
1047
-                            label
1048
-                            class="label"
1049
-                            style="margin-top: 9px; text-align: center"
1050
-                            >散气结束时间<span style="color: red"
1051
-                              >*</span
1052
-                            ></label
1053
-                          >
982
+                          <label class="label" style="margin-top: 9px; text-align: center">散气结束时间</label>
1054 983
                         </th>
1055 984
                         <th>
1056 985
                           <section>
1057 986
                             <label class="input">
1058
-                              <input
1059
-                                type="text"
1060
-                                class="form-control"
1061
-                                ng-model="fumigationProcess.bulkEndTime"
1062
-                                name="bulkEndTime"
1063
-                                onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd HH:mm:ss'})"
1064
-                                ng-disabled="isNotEdit"
1065
-                                required
1066
-                              />
987
+                              <input type="text" class="form-control" ng-model="fumigationProcess.bulkEndTime" name="bulkEndTime"
988
+                                onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd HH:mm:ss'})" ng-disabled="isNotEdit" />
1067 989
                             </label>
1068 990
                           </section>
1069 991
                         </th>
1070 992
                         <th>
1071
-                          <label
1072
-                            label
1073
-                            class="label"
1074
-                            style="margin-top: 9px; text-align: center"
1075
-                            >散气日期<span style="color: red">*</span></label
1076
-                          >
993
+                          <label class="label" style="margin-top: 9px; text-align: center">散气日期</label>
1077 994
                         </th>
1078 995
                         <th>
1079 996
                           <section>
1080 997
                             <label class="input">
1081
-                              <input
1082
-                                type="text"
1083
-                                class="form-control"
1084
-                                ng-model="fumigationProcess.perforatedDate"
1085
-                                name="perforatedDate"
1086
-                                onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd HH:mm:ss'})"
1087
-                                ng-disabled="isNotEdit"
1088
-                                required
1089
-                              />
998
+                              <input type="text" class="form-control" ng-model="fumigationProcess.perforatedDate"
999
+                                name="perforatedDate" onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd HH:mm:ss'})"
1000
+                                ng-disabled="isNotEdit" />
1090 1001
                             </label>
1091 1002
                           </section>
1092 1003
                         </th>
1093 1004
                         <th>
1094
-                          <label
1095
-                            label
1096
-                            class="label"
1097
-                            style="margin-top: 9px; text-align: center"
1098
-                            >散气持续天数(天)</label
1099
-                          >
1005
+                          <label class="label" style="margin-top: 9px; text-align: center">散气持续天数(天)<span style="color: red;">*</span></label>
1100 1006
                         </th>
1101 1007
                         <th>
1102 1008
                           <section>
1103 1009
                             <label class="input">
1104
-                              <input
1105
-                                class="form-control"
1106
-                                type="text"
1107
-                                ng-model="fumigationProcess.perforatedDays"
1108
-                                ng-readonly="isNotEdit"
1109
-                                name="perforatedDays"
1110
-                                validInteger="true"
1111
-                                required
1112
-                              />
1010
+                              <input class="form-control" type="text" ng-model="fumigationProcess.perforatedDays"
1011
+                                ng-readonly="isNotEdit" name="perforatedDays" validInteger="true" required />
1113 1012
                             </label>
1114 1013
                           </section>
1115 1014
                         </th>
1116 1015
                       </tr>
1117 1016
                       <tr>
1118 1017
                         <th>
1119
-                          <label
1120
-                            label
1121
-                            class="label"
1122
-                            style="margin-top: 9px; text-align: center"
1123
-                            >密闭时间(天)</label
1124
-                          >
1018
+                          <label class="label" style="margin-top: 9px; text-align: center">密闭时间(天)</label>
1125 1019
                         </th>
1126 1020
                         <th>
1127 1021
                           <section>
1128 1022
                             <label class="input">
1129
-                              <input
1130
-                                class="form-control"
1131
-                                type="text"
1132
-                                ng-model="fumigationProcess.closedTime"
1133
-                                ng-readonly="isNotEdit"
1134
-                                name="closedTime"
1135
-                                validInteger="true"
1136
-                                required
1137
-                              />
1023
+                              <input class="form-control" type="text" ng-model="fumigationProcess.closedTime"
1024
+                                ng-readonly="isNotEdit" name="closedTime" validInteger="true" />
1138 1025
                             </label>
1139 1026
                           </section>
1140 1027
                         </th>
@@ -1161,124 +1048,59 @@
1161 1048
                           </section>
1162 1049
                         </th>
1163 1050
                         <th>
1164
-                          <label
1165
-                            label
1166
-                            class="label"
1167
-                            style="margin-top: 9px; text-align: center"
1168
-                            >散气结束前磷化氢浓度(ppm)<span style="color: red"
1169
-                              >*</span
1170
-                            ></label
1171
-                          >
1051
+                          <label class="label" style="margin-top: 9px; text-align: center">散气结束前磷化氢浓度(ppm)</label>
1172 1052
                         </th>
1173 1053
                         <th>
1174 1054
                           <section>
1175 1055
                             <label class="input">
1176
-                              <input
1177
-                                class="form-control"
1178
-                                type="text"
1179
-                                ng-model="fumigationProcess.perforatedBefore"
1180
-                                ng-readonly="isNotEdit"
1181
-                                name="perforatedBefore"
1182
-                                validNumber="true"
1183
-                                required
1184
-                              />
1056
+                              <input class="form-control" type="text" ng-model="fumigationProcess.perforatedBefore"
1057
+                                ng-readonly="isNotEdit" name="perforatedBefore" validNumber="true" />
1185 1058
                             </label>
1186 1059
                           </section>
1187 1060
                         </th>
1188 1061
                         <th>
1189
-                          <label
1190
-                            label
1191
-                            class="label"
1192
-                            style="margin-top: 9px; text-align: center"
1193
-                            >散气结束时磷化氢浓度(ppm)<span style="color: red"
1194
-                              >*</span
1195
-                            ></label
1196
-                          >
1062
+                          <label class="label" style="margin-top: 9px; text-align: center">散气结束时磷化氢浓度(ppm)</label>
1197 1063
                         </th>
1198 1064
                         <th>
1199 1065
                           <section>
1200 1066
                             <label class="input">
1201
-                              <input
1202
-                                class="form-control"
1203
-                                type="text"
1204
-                                ng-model="fumigationProcess.perforatedEnd"
1205
-                                ng-readonly="isNotEdit"
1206
-                                name="perforatedEnd"
1207
-                                validNumber="true"
1208
-                                required
1209
-                              />
1067
+                              <input class="form-control" type="text"
1068
+                                ng-model="fumigationProcess.perforatedEnd" ng-readonly="isNotEdit" name="perforatedEnd" validNumber="true" />
1210 1069
                             </label>
1211 1070
                           </section>
1212 1071
                         </th>
1213 1072
                       </tr>
1214 1073
                       <tr>
1215 1074
                         <th>
1216
-                          <label
1217
-                            label
1218
-                            class="label"
1219
-                            style="margin-top: 9px; text-align: center"
1220
-                            >散气方法<span style="color: red">*</span></label
1221
-                          >
1075
+                          <label class="label" style="margin-top: 9px; text-align: center">散气方法<span style="color: red">*</span></label>
1222 1076
                         </th>
1223 1077
                         <th>
1224 1078
                           <section>
1225 1079
                             <label class="input">
1226
-                              <input
1227
-                                class="form-control"
1228
-                                type="text"
1229
-                                ng-model="fumigationProcess.bulkGasType"
1230
-                                ng-readonly="isNotEdit"
1231
-                                name="bulkGasType"
1232
-                                required
1233
-                              />
1080
+                              <input class="form-control" type="text" ng-model="fumigationProcess.bulkGasType"
1081
+                                     ng-readonly="isNotEdit" name="bulkGasType" required />
1234 1082
                             </label>
1235 1083
                           </section>
1236 1084
                         </th>
1237 1085
                         <th>
1238
-                          <label
1239
-                            label
1240
-                            class="label"
1241
-                            style="margin-top: 9px; text-align: center"
1242
-                            >药剂残留率(ppm)<span style="color: red"
1243
-                              >*</span
1244
-                            ></label
1245
-                          >
1086
+                          <label class="label" style="margin-top: 9px; text-align: center">药剂残留率(ppm)</label>
1246 1087
                         </th>
1247 1088
                         <th>
1248 1089
                           <section>
1249 1090
                             <label class="input">
1250
-                              <input
1251
-                                class="form-control"
1252
-                                type="text"
1253
-                                ng-model="fumigationProcess.drugResidueRate"
1254
-                                ng-readonly="isNotEdit"
1255
-                                name="drugResidueRate"
1256
-                                validNumber="true"
1257
-                                required
1258
-                              />
1091
+                              <input class="form-control" type="text" ng-model="fumigationProcess.drugResidueRate"
1092
+                                ng-readonly="isNotEdit" name="drugResidueRate" validNumber="true" />
1259 1093
                             </label>
1260 1094
                           </section>
1261 1095
                         </th>
1262 1096
                         <th>
1263
-                          <label
1264
-                            label
1265
-                            class="label"
1266
-                            style="margin-top: 9px; text-align: center"
1267
-                            >批准人</label
1268
-                          >
1097
+                          <label class="label" style="margin-top: 9px; text-align: center">批准人</label>
1269 1098
                         </th>
1270 1099
                         <th>
1271 1100
                           <section>
1272 1101
                             <label class="input">
1273
-                              <input
1274
-                                class="form-control"
1275
-                                type="text"
1276
-                                ng-model="fumigationProcess.perforatedApprover"
1277
-                                ng-readonly="isNotEdit"
1278
-                                name="perforatedApprover"
1279
-                                setState="true"
1280
-                                required
1281
-                              />
1102
+                              <input class="form-control" type="text" ng-model="fumigationProcess.perforatedApprover"
1103
+                                ng-readonly="isNotEdit" name="perforatedApprover" setState="true" />
1282 1104
                             </label>
1283 1105
                           </section>
1284 1106
                         </th>

+ 6 - 6
src/main/resources/static/app/layout/partials/navigation.tpl.html

@@ -1830,12 +1830,12 @@
1830 1830
                             <!--<li has-func="" data-ui-sref-active="active">-->
1831 1831
                             <!--<a data-ui-sref="app.intelligent.basicgraindistributionset">粮情传感器分布设置</a>-->
1832 1832
                             <!--</li>-->
1833
-                            <li has-func="377" data-ui-sref-active="active">
1834
-                                <a data-ui-sref="app.intelligent.basicData.basicThresholdSetList">报警阀值设置</a>
1835
-                            </li>
1836
-                            <li has-func="378" data-ui-sref-active="active">
1837
-                                <a data-ui-sref="app.intelligent.basicData.StationSet">通讯设置</a>
1838
-                            </li>
1833
+<!--                            <li has-func="377" data-ui-sref-active="active">-->
1834
+<!--                                <a data-ui-sref="app.intelligent.basicData.basicThresholdSetList">报警阀值设置</a>-->
1835
+<!--                            </li>-->
1836
+<!--                            <li has-func="378" data-ui-sref-active="active">-->
1837
+<!--                                <a data-ui-sref="app.intelligent.basicData.StationSet">通讯设置</a>-->
1838
+<!--                            </li>-->
1839 1839
                             <li has-func="379" data-ui-sref-active="active">
1840 1840
                                 <a data-ui-sref="app.intelligent.basicData.stationType">站点类型</a>
1841 1841
                             </li>

+ 5 - 0
src/main/resources/static/app/storage/drug/drugStorage/controller/drugStorageSaveCtrl.js

@@ -57,6 +57,11 @@ angular.module('app.storage').controller("drugStorageSaveCtrl", function ($scope
57 57
         return this.optional(element) || (checkNumber.test(value));
58 58
     }, "请输入正确的不为0的数字整数!");
59 59
 
60
+    $.validator.addMethod("validNumberD",function(value,element, params) {
61
+        var checkNumber = /^\d*\.{0,1}\d{1,2}$/g;
62
+        return this.optional(element)||(checkNumber.test(value));
63
+    },"请输入正确的数字类型,最多两位小数!");
64
+
60 65
 
61 66
     // 获取药品信息列表.
62 67
     $scope.getDrugInfoList = function () {

+ 1 - 1
src/main/resources/static/app/storage/drug/drugStorage/views/drugStorage-edit.html

@@ -134,7 +134,7 @@
134 134
                                             <label class="label">入库单价</label>
135 135
                                             <label class="input"> 
136 136
                                                 <input class="form-control" type="text" ng-model="drugStorage.storagePrice" ng-readonly="isNotEdit" name="storagePrice"
137
-                                                ng-change="countMoneyQuantity()" validNumber="true">
137
+                                                ng-change="countMoneyQuantity()" validNumberD="true">
138 138
                                             </label>
139 139
                                         </section>
140 140
                                         <section class="col col-4">

+ 1 - 0
src/main/resources/static/gulpfile.js

@@ -78,6 +78,7 @@ gulp.task('connect', function() {
78 78
             return [
79 79
                 createProxyMiddleware('/proxy', {
80 80
                     target: 'http://172.16.0.16:9025',//代理的目标地址
81
+                    secure: false,//这是签名认证,http和HTTPS区分的参数设置
81 82
                     changeOrigin: true,//
82 83
                     pathRewrite: {//路径重写规则 
83 84
                         '/proxy': ''