You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
92 lines
1.4 KiB
92 lines
1.4 KiB
<%
|
|
/***************************************************************
|
|
* <p>ProName:EdorSMInit.jsp</p>
|
|
* <p>Title:定期结算维护</p>
|
|
* <p>Description:定期结算维护</p>
|
|
* <p>Copyright:Copyright (c) 2012</p>
|
|
* <p>Company:Sinosoft</p>
|
|
* @author : 蔡云聪
|
|
* @version : 8.0
|
|
* @date : 2014-06-19
|
|
****************************************************************/
|
|
%>
|
|
<script language="JavaScript">
|
|
|
|
/**
|
|
* 初始化界面
|
|
*/
|
|
function initForm() {
|
|
|
|
try {
|
|
|
|
initButton();
|
|
initParam();
|
|
initInpBox();
|
|
queryBalanceInfo();
|
|
showBalanceOnState();
|
|
|
|
|
|
} catch (re) {
|
|
i18nAlert("初始化界面错误!", "LIS-01178");
|
|
}
|
|
}
|
|
|
|
/**
|
|
* 初始化参数
|
|
*/
|
|
function initParam() {
|
|
|
|
try {
|
|
|
|
} catch (re) {
|
|
i18nAlert("初始化参数错误!", "LIS-01179");
|
|
}
|
|
}
|
|
|
|
/**
|
|
* 初始化录入控件
|
|
*/
|
|
function initInpBox() {
|
|
|
|
try {
|
|
|
|
} catch (ex) {
|
|
i18nAlert("初始化录入控件错误!", "LIS-01180");
|
|
}
|
|
}
|
|
|
|
/**
|
|
* 初始化按钮
|
|
*/
|
|
function initButton() {
|
|
|
|
try {
|
|
|
|
if(tActivityID=='1800401002'){
|
|
divButton01.style.display=''
|
|
divButton02.style.display='none'
|
|
}else {
|
|
divButton01.style.display='none'
|
|
divButton02.style.display=''
|
|
}
|
|
|
|
} catch (ex) {
|
|
i18nAlert("初始化按钮错误!", "LIS-01186");
|
|
}
|
|
}
|
|
|
|
/**
|
|
* 把null的字符串转为空
|
|
*/
|
|
function nullToEmpty(string) {
|
|
|
|
if ((string=="null")||(string=="undefined")) {
|
|
string = "";
|
|
}
|
|
|
|
return string;
|
|
}
|
|
|
|
|
|
</script>
|
|
|
|
|