Commit fe0bfcce2bf64861946e40bddda56cbd701f2416
1 parent
06608209
修改车辆设备信息管理功能v1.1
1、添加车辆设备信息,启用日期加required,修改required错误提示
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/resources/static/pages/scheduleApp/module/basicInfo/deviceInfoManage/form.html
| @@ -171,7 +171,7 @@ | @@ -171,7 +171,7 @@ | ||
| 171 | <div class="col-md-3"> | 171 | <div class="col-md-3"> |
| 172 | <div class="input-group"> | 172 | <div class="input-group"> |
| 173 | <input type="datetime-local" class="form-control" name="qyrq" | 173 | <input type="datetime-local" class="form-control" name="qyrq" |
| 174 | - ng-model="ctrl.deviceInfoForSave.qyrq" | 174 | + ng-model="ctrl.deviceInfoForSave.qyrq" required |
| 175 | remote-Validation | 175 | remote-Validation |
| 176 | remotevtype="cde1" | 176 | remotevtype="cde1" |
| 177 | remotevparam="{{ {'qyrq_eq': ctrl.deviceInfoForSave.qyrq, 'xl_eq': ctrl.deviceInfoForSave.xl, 'cl_eq': ctrl.deviceInfoForSave.cl} | json}}" /> | 177 | remotevparam="{{ {'qyrq_eq': ctrl.deviceInfoForSave.qyrq, 'xl_eq': ctrl.deviceInfoForSave.xl, 'cl_eq': ctrl.deviceInfoForSave.cl} | json}}" /> |
| @@ -180,7 +180,7 @@ | @@ -180,7 +180,7 @@ | ||
| 180 | </div> | 180 | </div> |
| 181 | <!-- 隐藏块,显示验证信息 --> | 181 | <!-- 隐藏块,显示验证信息 --> |
| 182 | <div class="alert alert-danger well-sm" ng-show="myForm.qyrq.$error.required"> | 182 | <div class="alert alert-danger well-sm" ng-show="myForm.qyrq.$error.required"> |
| 183 | - 启用日期必须选择 | 183 | + 启用日期必须选择,精确到具体时间 |
| 184 | </div> | 184 | </div> |
| 185 | <div class="alert alert-danger well-sm" ng-show="myForm.qyrq.$error.remote"> | 185 | <div class="alert alert-danger well-sm" ng-show="myForm.qyrq.$error.remote"> |
| 186 | {{$remote_msg}} | 186 | {{$remote_msg}} |