You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
HENGCHENG/DSWeb/js/UserAuthoritySettingEdit.js

30 lines
1.2 KiB
JavaScript

var userAuthorityGrid;
function $(id){
return document.getElementById(id);
}
function createOrder(){
previous_id = "";
//header
var headerArgs_order = new Array("<input type=\"checkbox\" id=\"ck_all\" onclick=\"checkAll(commonGridObj_order)\" />","委托单位","委托编号","主提单号","分提单号");
//width
var widthArgs_order = new Array("40","100","100","100","100");
//column align
var colAlignArgs_order = new Array("center","center","center","center","center");
//column sort
var colSortArgs_order = new Array("na","str","str","str","str");
//column type
var colTypeArgs_order = new Array("ch","ro","ro","ro","ro");
commonGridObj_order = new TGridCommon("mygrid_container_order","form1",headerArgs_order,widthArgs_order,colAlignArgs_order,colSortArgs_order,colTypeArgs_order);
commonGridObj_order.setResponseUrl("SettlementGridSource.aspx");
commonGridObj_order.setRequest("SettlementGridSource.aspx?handle=orderlist");
commonGridObj_order.setSourceType("json");
commonGridObj_order.setSkin("xp");
commonGridObj_order.setImageUrl("../images/");
commonGridObj_order.initGrid();
commonGridObj_order.bind();
}