Steven5007

导航

页面小标签

 1 #1.页面标签
 2 <tr>
 3     <td><select id="item1" onchange="fn1()" name="backupstime"
 4         class="form-control m-bot9" placeholder="请选择"
 5         style="width: 200px;"
 6         th:value="${CloudplatformDto.backupstime}">
 7             <option value="">--请选择--</option>
 8             <option value="0"
 9                 th:selected="${CloudplatformDto.backupstime== '0'}">按天备</option>
10             <option value="1"
11                 th:selected="${CloudplatformDto.backupstime== '1'}">按周备</option>
12             <option value="2"
13                 th:selected="${CloudplatformDto.backupstime== '2'}">其他</option>
14     </select>
15      </td>
16     <td> 
17         <div id="time1" class="input-group">
18             <input type="text" class="form-control" name="number"
19                 style="width: 50px;" 
20                 placeholder="请填写"
21                 onkeyup="value=value.replace(/[^\d]/g,'')" ng-pattern="/[^a-zA-Z]/" //只能输入数字
22                 th:value="${CloudplatformDto.number}" 
23                 readonly="readonly"    //禁止输入
24             /> 
25                 <span id="span_time1" class="input-group-addon"></span>
26         </div>
27 
28         <div id="otherTime" class="form-inline">
29             <input type="text" id="date_scope1" name="qBeginTime1"
30                 th:value="${CloudplatformDto.qBeginTime1}"
31                 class="form-control" size="20" placeholder="请选择日期:" />
32         </div>
33     </td>
34 </tr>

 

posted on 2018-02-05 19:59  Steven5007  阅读(112)  评论(0编辑  收藏  举报