var oTo = document.getElementById("customerid_i");

oTo.setAttribute("defaulttype", "1"); //默认开启客户
oTo.setAttribute("lookuptypes", "1");  //只有客户
oTo.setAttribute("_lookuptypes", "1");//只有客户

05-07 15:10