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 | 49 | </div> |
| 50 | 50 | <br/> |
| 51 | 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 | 54 | <span class="item-label" style="width: 80px;">时间: </span> |
| 55 | 55 | <input class="form-control" type="text" id="date" style="width: 180px;"/> |
| 56 | 56 | </div> |
| 57 | - <div style="display: inline-block;margin-left: 15px;"> | |
| 57 | + <div style="display: inline-block;margin-left: 5px;"> | |
| 58 | 58 | <span class="item-label" style="width: 80px;">车辆: </span> |
| 59 | 59 | <select class="form-control" id="nbbm" style="width: 180px;"></select> |
| 60 | 60 | </div> |
| 61 | 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 | 64 | <span class="item-label" style="width: 80px;">时间: </span> |
| 65 | 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 | 67 | <input class="form-control" type="text" id="date2" style="width: 180px;"/> |
| 68 | 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 | 70 | <option value="">请选择</option> |
| 71 | 71 | <option value="0">上行</option> |
| 72 | 72 | <option value="1">下行</option> | ... | ... |
src/main/resources/static/pages/report/oil/oilListMonth.html
| ... | ... | @@ -37,7 +37,7 @@ |
| 37 | 37 | </div> |
| 38 | 38 | <div class="form-group"> |
| 39 | 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 | 41 | </div> |
| 42 | 42 | </form> |
| 43 | 43 | </div> |
| ... | ... | @@ -97,6 +97,8 @@ |
| 97 | 97 | var year = d.getFullYear(); |
| 98 | 98 | var month = d.getMonth() + 1; |
| 99 | 99 | var day = d.getDate(); |
| 100 | + if(day < 10) | |
| 101 | + day = "0"+day; | |
| 100 | 102 | if(month > 9){ |
| 101 | 103 | $("#date").val(year + "-" + month + "-" + day); |
| 102 | 104 | } else { | ... | ... |