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.
108 lines
3.6 KiB
108 lines
3.6 KiB
<%@include file="../common/jsp/UsrCheck.jsp"%>
|
|
<%@page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" %>
|
|
|
|
<script language="JavaScript">
|
|
//单击时查询
|
|
function reportDetailClick(cObj)
|
|
{
|
|
var ex,ey;
|
|
|
|
ex = window.event.clientX+document.body.scrollLeft; //得到事件的坐标x
|
|
ey = window.event.clientY+document.body.scrollTop; //得到事件的坐标y
|
|
divLPEdor2.style.left=ex;
|
|
divLPEdor2.style.top =ey;
|
|
divLPEdor2.style.display ='';
|
|
}
|
|
|
|
// 输入框的初始化(单记录部分)
|
|
function initInpBox()
|
|
{
|
|
|
|
try
|
|
{
|
|
//document.all('ContType').value = '1';
|
|
document.all('ManageCom').value = comcode.substring(0,6);
|
|
}
|
|
catch(ex)
|
|
{
|
|
i18nAlert("{0}函数中发生异常:初始化界面错误!","LIS-01177", "CustomerPrint-->InitForm");
|
|
|
|
}
|
|
}
|
|
|
|
// 下拉框的初始化
|
|
function initSelBox()
|
|
{
|
|
try
|
|
{
|
|
}
|
|
catch(ex)
|
|
{
|
|
i18nAlert("{0}函数中发生异常:初始化界面错误!","LIS-01177", "CustomerPrint-->InitSelBox");
|
|
}
|
|
}
|
|
|
|
|
|
function initForm()
|
|
{
|
|
try
|
|
{
|
|
initCustomerPrintGrid();
|
|
}
|
|
catch(re)
|
|
{
|
|
i18nAlert("{0}函数中发生异常:初始化界面错误!","LIS-01177","CustomerPrintInit.jsp-->InitForm");
|
|
}
|
|
}
|
|
|
|
// 用于批单级init函数
|
|
function initCustomerPrintGrid()
|
|
{
|
|
var iArray = new Array();
|
|
|
|
try
|
|
{
|
|
iArray[0]=new Array();
|
|
iArray[0][0]="序号~No."; //列名(此列为顺序号,列名无意义,而且不显示)
|
|
iArray[0][1]="30px"; //列宽
|
|
iArray[0][2]=10; //列最大值
|
|
iArray[0][3]=0; //是否允许输入,1表示允许,0表示不允许
|
|
|
|
iArray[1]=new Array();
|
|
iArray[1][0]="客户号~ClientNum-3"; //列名
|
|
iArray[1][1]="200px"; //列宽
|
|
iArray[1][2]=100; //列最大值
|
|
iArray[1][3]=0; //是否允许输入,1表示允许,0表示不允许
|
|
|
|
iArray[2]=new Array();
|
|
iArray[2][0]="申请人名称~AppntName"; //列名
|
|
iArray[2][1]="200px"; //列宽
|
|
iArray[2][2]=100; //列最大值
|
|
iArray[2][3]=0; //是否允许输入,1表示允许,0表示不允许
|
|
|
|
iArray[3]=new Array();
|
|
iArray[3][0]="柜面受理日期~CounterAcptanceDate"; //列名
|
|
iArray[3][1]="100px"; //列宽
|
|
iArray[3][2]=60; //列最大值
|
|
iArray[3][3]=0; //是否允许输入,1表示允许,0表示不允许
|
|
|
|
CustomerPrintGrid = new MulLineEnter( "fm" , "CustomerPrintGrid" );
|
|
//这些属性必须在loadMulLine前
|
|
CustomerPrintGrid.mulLineCount = 0;
|
|
CustomerPrintGrid.displayTitle = 1;
|
|
CustomerPrintGrid.canSel=1;
|
|
CustomerPrintGrid.hiddenPlus = 1;
|
|
CustomerPrintGrid.hiddenSubtraction = 1;
|
|
CustomerPrintGrid.selBoxEventFuncName = ""; //单击RadioBox时响应函数
|
|
CustomerPrintGrid.loadMulLine(iArray);
|
|
CustomerPrintGrid.detailInfo="单击显示详细信息";
|
|
CustomerPrintGrid.detailClick=reportDetailClick;
|
|
//这些操作必须在loadMulLine后面
|
|
}
|
|
catch(ex)
|
|
{
|
|
alert(ex);
|
|
}
|
|
}
|
|
|
|
</script>
|
|
|