"
// +" "
//// +" "
// +" "
// +"
| "
// +" | |
"
// +" ";
messContent += ""
+ "
";
showMessageBox('综合查询',messContent,objPos,350);
}
function reInitJs(){
if(document.getElementById("origmultiplebusinessgrid") == null){
var url = "../UserSettings/UserGridSource/OrigMultipleBusinessGrid.js?uid="+newGuid();
var loader = dhtmlxAjax.getSync(url);
var jsVal = loader.xmlDoc.responseText;
var oHead = document.getElementsByTagName('head').item(0);
var oScript = document.createElement( "script" );
oScript.language = "javascript";
oScript.type = "text/javascript";
oScript.id = "origmultiplebusiness";
oScript.defer = true;
oScript.text = jsVal;
oHead.appendChild(oScript);
}
if(document.getElementById("defaultsource") == null){
var url = "../js/DefaultSource.js?uid="+newGuid();
var loader = dhtmlxAjax.getSync(url);
var jsVal = loader.xmlDoc.responseText;
var oHead = document.getElementsByTagName('head').item(0);
var oScript = document.createElement( "script" );
oScript.language = "javascript";
oScript.type = "text/javascript";
oScript.id = "defaultsource";
oScript.defer = true;
oScript.text = jsVal;
oHead.appendChild(oScript);
}
if(document.getElementById("multiplebusiness") == null){
var url = "../UserSettings/UserGridSource/" + $("h_uid").value + "gridmultiplebusiness.js?uid="+newGuid();
var loader = dhtmlxAjax.getSync(url);
var jsVal = loader.xmlDoc.responseText;
if(jsVal.indexOf("newHeaderArgs") >= 0){
var oHead = document.getElementsByTagName('head').item(0);
var oScript = document.createElement( "script" );
oScript.language = "javascript";
oScript.type = "text/javascript";
oScript.id = "multiplebusiness";
oScript.defer = true;
oScript.text = jsVal;
oHead.appendChild(oScript);
}
}
createGrid(1);createTotalGrid();
}
function newGuid(){
var guid = "";
for (var i = 1; i <= 32; i++){
var n = Math.floor(Math.random()*16.0).toString(16);
guid += n;
if((i==8)||(i==12)||(i==16)||(i==20))
guid += "-";
}
return guid.toUpperCase();
}
function editGridSetting(){
var openSet = "height=500, width=800, toolbar=no, menubar=no,scrollbars=no, resizable=no,location=no, status=no,Top= " +(screen.height-500)/2 + ",Left= "+(screen.width-800)/2
var openType = "_blank";
var openUrl = "../UserSettings/UserGridEdit.aspx?handle=usergrid&templatetype=multiplebusiness";
window.open (openUrl,openType,openSet);
}
function searchMultiple(){
printMessageBox(event);
}
function initSearch(){
$("h_customer").value = "";
comboCustomer.setText($("h_customer").value);
$("h_vessel").value = "";
comboVessel.setText($("h_vessel").value);
$("h_voyno").value = "";
comboVoyno.setText($("h_voyno").value);
$("h_operator").value = "";
comboOperator.setText($("h_operator").value);
$("txt_beginetd").value = "";
$("txt_endetd").value = "";
$("txt_no").value = "";
if($("h_searchcache").value != ""){
$("h_searchcache").value = "";
}
if(comboBsType != null){ //清空业务类型
comboBsType.setComboText("全部");
}
createGrid();
}
function initCombo(){
CustomerCombo();
OperatorCombo();
VesselCombo();
VoynoCombo();
createComboBsType();//业务类型
}
function createComboBsType(){//业务类型
comboBsType = dhtmlXComboFromSelect("sel_bstype");
}
function CustomerCombo(){
comboCustomer = new TCombo("sel_customer","../FeeCodes/WebCrmClientAdapter.aspx?mask=0&pos=0&strIS=ISCONTROLLER",true,true,false,true,"h_customer");
comboCustomer.initComboEvent();
comboCustomer.bind();
}
function OperatorCombo(){
var strUserID = $("h_uid").value.trim();
comboOperator = new TCombo("sel_op","../FeeCodes/OPAdapter.aspx?mask=0&pos=0&rName=isOperator&userID="+strUserID,true,true,false,true,"h_operator");
comboOperator.initComboEvent();
comboOperator.bind();
}
function VesselCombo(){
comboVessel = new TCombo("sel_vessel","../FeeCodes/TCodeVesselAdapter.aspx?mask=0&pos=0",true,false,false,true,"h_vessel");
comboVessel.initComboEvent();
comboVessel.bind();
}
function VoynoCombo(){
var strVessel = $("h_vessel").value;
comboVoyno = new TCombo("sel_voyno","../FeeCodes/TCodeVoynoAdapter.aspx?mask=0&pos=0&strVESSEL="+strVessel,true,true,false,true,"h_voyno");
comboVoyno.initComboEvent();
if(strVessel.trim() != ""){
comboVoyno.bind();
}
}
//根据条件查询付费申请信息
function search(){
createGrid(2);
}