Commit 05c07a0b0a90ab9d979485c75de43e359bcebeb7
1 parent
aa574387
update
Showing
2 changed files
with
10 additions
and
8 deletions
src/main/resources/static/pages/report/inoutstation.html
| @@ -49,24 +49,24 @@ | @@ -49,24 +49,24 @@ | ||
| 49 | </div> | 49 | </div> |
| 50 | <br/> | 50 | <br/> |
| 51 | <div> | 51 | <div> |
| 52 | - <div id="bczxDiv" style="display: inline-block;margin-left: 15px;"> | ||
| 53 | - <div style="display: inline-block;margin-left: 15px;"> | 52 | + <div id="bczxDiv" style="display: inline-block;margin-left: 10px;"> |
| 53 | + <div style="display: inline-block;margin-left: 5px;"> | ||
| 54 | <span class="item-label" style="width: 80px;">时间: </span> | 54 | <span class="item-label" style="width: 80px;">时间: </span> |
| 55 | <input class="form-control" type="text" id="date" style="width: 180px;"/> | 55 | <input class="form-control" type="text" id="date" style="width: 180px;"/> |
| 56 | </div> | 56 | </div> |
| 57 | - <div style="display: inline-block;margin-left: 15px;"> | 57 | + <div style="display: inline-block;margin-left: 5px;"> |
| 58 | <span class="item-label" style="width: 80px;">车辆: </span> | 58 | <span class="item-label" style="width: 80px;">车辆: </span> |
| 59 | <select class="form-control" id="nbbm" style="width: 180px;"></select> | 59 | <select class="form-control" id="nbbm" style="width: 180px;"></select> |
| 60 | </div> | 60 | </div> |
| 61 | </div> | 61 | </div> |
| 62 | - <div id="clzdDiv" style="display:none ;margin-left: 15px;" > | ||
| 63 | - <div style="display: inline-block;margin-left: 15px;"> | 62 | + <div id="clzdDiv" style="display:none ;margin-left: 10px;" > |
| 63 | + <div style="display: inline-block;margin-left: 5px;"> | ||
| 64 | <span class="item-label" style="width: 80px;">时间: </span> | 64 | <span class="item-label" style="width: 80px;">时间: </span> |
| 65 | <input class="form-control" type="text" id="date1" style="width: 180px;"/> | 65 | <input class="form-control" type="text" id="date1" style="width: 180px;"/> |
| 66 | - <span class="item-label" style="width: 60px;">至: </span> | 66 | + <span class="item-label" style="width: 60px;margin-left: 19px;">至: </span> |
| 67 | <input class="form-control" type="text" id="date2" style="width: 180px;"/> | 67 | <input class="form-control" type="text" id="date2" style="width: 180px;"/> |
| 68 | <span class="item-label" style="width: 80px;">站点: </span> | 68 | <span class="item-label" style="width: 80px;">站点: </span> |
| 69 | - <select id="zdlx" class="sreach-zd" > | 69 | + <select class="form-control" id="zdlx" class="sreach-zd" > |
| 70 | <option value="">请选择</option> | 70 | <option value="">请选择</option> |
| 71 | <option value="0">上行</option> | 71 | <option value="0">上行</option> |
| 72 | <option value="1">下行</option> | 72 | <option value="1">下行</option> |
src/main/resources/static/pages/report/oil/oilListMonth.html
| @@ -37,7 +37,7 @@ | @@ -37,7 +37,7 @@ | ||
| 37 | </div> | 37 | </div> |
| 38 | <div class="form-group"> | 38 | <div class="form-group"> |
| 39 | <input class="btn btn-default" type="button" id="query" value="查询"/> | 39 | <input class="btn btn-default" type="button" id="query" value="查询"/> |
| 40 | - <input class="btn btn-default" type="button" id="export" value="导出"/> | 40 | +<!-- <input class="btn btn-default" type="button" id="export" value="导出"/> --> |
| 41 | </div> | 41 | </div> |
| 42 | </form> | 42 | </form> |
| 43 | </div> | 43 | </div> |
| @@ -97,6 +97,8 @@ | @@ -97,6 +97,8 @@ | ||
| 97 | var year = d.getFullYear(); | 97 | var year = d.getFullYear(); |
| 98 | var month = d.getMonth() + 1; | 98 | var month = d.getMonth() + 1; |
| 99 | var day = d.getDate(); | 99 | var day = d.getDate(); |
| 100 | + if(day < 10) | ||
| 101 | + day = "0"+day; | ||
| 100 | if(month > 9){ | 102 | if(month > 9){ |
| 101 | $("#date").val(year + "-" + month + "-" + day); | 103 | $("#date").val(year + "-" + month + "-" + day); |
| 102 | } else { | 104 | } else { |