?? warn.js
字號(hào):
/**
* 預(yù)警參數(shù)類(lèi)型設(shè)置
*/
function createHtml(type){
if(type=="" || type==null){
$("typeA").style.display="none";
$("typeB").style.display="none";
$("typeC").style.display="none";
$("typeD").style.display="none";
}else{
if(type=="0"){
$("typeA").style.display="block";
$("typeB").style.display="none";
$("typeC").style.display="none";
$("typeD").style.display="none";
}else if(type=="1"){
$("typeA").style.display="none";
$("typeB").style.display="block";
$("typeC").style.display="none";
$("typeD").style.display="none";
}else if(type=="2"){
$("typeA").style.display="none";
$("typeB").style.display="none";
$("typeC").style.display="block";
$("typeD").style.display="none";
}else if(type=="3"){
$("typeA").style.display="none";
$("typeB").style.display="none";
$("typeC").style.display="none";
$("typeD").style.display="block";
}
}
}
function setPosition(house_id){
var cust_id=document.getElementById("cust_id").value;
$("param_value").value=house_id+"|h";
WareHousePosInfo.getOnePosByHouseId(cust_id,house_id,function(data){
DWRUtil.removeAllOptions("posit_name");
DWRUtil.addOptions("posit_name",data);
})
}
function setParamValue(posit_id){
$("param_value").value=posit_id+"|p";
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -