12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <div id="budget-toolbar" style="padding:10px 5px;font-size: 14px;">
- 仓库:
- <input id="grainId" class="easyui-combobox bd-w-type grainId" name="grainId" editable="true"> 
- 年份:
- <selset class="easyui-combobox year" name="year" style="width: 120px;" editable="false"></selset> 
- <!-- <input class="easyui-datetimespinner beginFeeDate" value="2016-01" data-options="formatter:formatter2,parser:parser2,selections:[[0,4],[5,7]]" name="beginFeeDate" style="width:100px;height:26px;">-<input class="easyui-datetimespinner endFeeDate" value="2016-06" name="endFeeDate" data-options="formatter:formatter2,parser:parser2,selections:[[0,4],[5,7]]" style="width:100px;height:26px;">  -->
- <a href="javascript:;" class="easyui-linkbutton bd-add-s budget-search">查询</a>
- <a href="#" class="easyui-linkbutton bd-add-s clear-btn" plain="true">清空</a>
- <a href="javascript:;" class="easyui-linkbutton bd-add-s budget-lineChart" style="float: right;">统计图</a>
- </div>
- <table class="easyui-datagrid" id="budget-info" style="width:100%;">
- </table>
- <div class="bugget-lineChart">
- <div class="bugget-lineChart-div"></div>
- </div>
- <!-- <script type="text/html">
- <table>
- <thead>
- <th>
- <td></td>{{#dateList}}<td>{{.}}</td>{{/dateList}}
- </th>
- </thead>
- <tbody>
- <tr>
- {{#feeList}}
- <td></td>
- {{/feeList}}
- </tr>
- </tbody>
- </table>
- </script> -->
- <script type="text/javascript">
- utils.buildYearList('.year');
- // $.parser.parse('.combobox-year');
- // function formatter1(date){
- // if (!date){return '';}
- // return $.fn.datebox.defaults.formatter.call(this, date);
- // }
- // function parser1(s){
- // if (!s){return null;}
- // return $.fn.datebox.defaults.parser.call(this, s);
- // }
- // function formatter2(date){
- // if (!date){return '';}
- // var y = date.getFullYear();
- // var m = date.getMonth() + 1;
- // return y + "-"+(m<10?('0'+m):m);
- // }
- // function parser2(s){
- // if (!s){return null;}
- // var ss = s.split('-');
- // var y = parseInt(ss[0],10);
- // var m = parseInt(ss[1],10);
- // if (!isNaN(y) && !isNaN(m)){
- // return new Date(y,m-1,1);
- // } else {
- // return new Date();
- // }
- // }
- </script>
|