// 离线数据模式
var isData = false;
var menuCode = 'pur_order_vend_001';
var objectCode = 'purOrderHForVend';
var toolbar = 'master_grid_toolbar';// grid ref toolbar
var isPaging = eval('true');// is show pagination
var url = '';// diy grid load data url
var height = '';// diy grid load data url
var objectJson = '';// object is json
var fieldsJson = '';// fiedlds is json
var configJson = '';// config is json
// 离线数据模式
var isData = false;
var menuCode = '';
var objectCode = 'purOrderL';
var toolbar = 'purOrderL_toolbar';// grid ref toolbar
var isPaging = eval('true');// is show pagination
var url = '';// diy grid load data url
var height = '';// diy grid load data url
var objectJson = '';// object is json
var fieldsJson = '';// fiedlds is json
var configJson = '';// config is json
var menuCode = 'pur_order_vend_001';
var objectCode = 'purOrderHForVend';
var toolbar = 'master_grid_toolbar';
var isPaging = eval('true');
var url = '';
var height = '';
var objectJson = '';
var fieldsJson = '';
var configJson = '';
if (url == '') {
url = '/grid/query/' + objectCode;
if(menuCode != ''){
url = url + '-' + menuCode;
}
}
var paras = $.getUrlParas();
var cols = [];
cols = $.table.buildMiniUIColumn(object, fields, cols);
var limit = isPaging ? 100 : 5000;
//-------miniUI----table
mini.parse();
var grid = mini.get(ID);
grid.setColumns(cols);//设置列
grid.setUrl(url);
grid.load();
var menu = new ColumnsMenu(grid);
</script>
</div>
</div>