| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- /**
- *
- */
- $(function() {
- $(document).ready(function() {
- attendanceStatssearch();
- });
- });
- function attendanceStatssearch(){
- handleAjaxSimple("dsdemoController.do?getNoOrderWarehouseData", "", handleSuccess);
- }
- function handleSuccess(data){
- $("#upcharheaddiv").html(data.yearmonth+"月度未提交申购的领料点");
- var colums ;
- colums = [[
- {field:'warehouseName',title:'名称',width:150},
- {field:'warehouseAddress',title:'地址',width:150}
- ]]
- $('#noOrdersWarehousesTable').datagrid({
- singleSelect : true,
- loadMsg:'数据加载中,请稍后……',
- columns:colums,
- rownumbers:true,
- fitColumns:true
- }).datagrid('loadData',data.statsData);
- $(".content").show();
- $("#tablediv").show();
- $("#attendanceStatsTable").show();
- // var h=document.documentElement.clientclient;
- // var w=document.documentElement.clientWidth;
- // $('#attendanceStatsTable').datagrid('resize', {
- // height :h-20, width:w-20
- // });
- }
|