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.
 
 
 
FZ/lis-module-certification-web/src/main/webapp/certify/CerifyImportDestroyInit.jsp

180 lines
5.3 KiB

<%
//Name:CerifyImportTakeBackInit.jsp
//Function:单证导入缴销
//Author:mw
//Date: 2009-08-24
%>
<%--用户校验类--%>
<%@page import="com.sinosoft.lis.pubfun.DateUtil"%>
<%@include file="../common/jsp/UsrCheck.jsp"%>
<script language="JavaScript">
<%
String strCurDate = DateUtil.getCurrentDate();
%>
function initForm()
{
initInpBox();
initSerialInfoGrid();
initCardImportInfoGrid();
}
function initInpBox()
{
fm.StartDate.value = '<%= strCurDate %>';
fm.EndDate.value = '<%= strCurDate %>';
}
function initSerialInfoGrid()
{
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]="批次号~BatchNum-1";
iArray[1][1]="60px";
iArray[1][2]=100;
iArray[1][3]=0;
iArray[2]=new Array();
iArray[2][0]="操作员~Operator-6";
iArray[2][1]="60px";
iArray[2][2]=85;
iArray[2][3]=0;
iArray[3]=new Array();
iArray[3][0]="导入日期~ImportDate";
iArray[3][1]="70px";
iArray[3][2]=85;
iArray[3][3]=0;
iArray[4]=new Array();
iArray[4][0]="导入时间~ImportTime";
iArray[4][1]="70px";
iArray[4][2]=85;
iArray[4][3]=0;
SerialInfoGrid = new MulLineEnter( "document" , "SerialInfoGrid" );
SerialInfoGrid.mulLineCount = 0;
SerialInfoGrid.displayTitle = 1;
SerialInfoGrid.locked = 0;
SerialInfoGrid.canSel =1; // 1 显示 ;0 隐藏(缺省值)
SerialInfoGrid.hiddenPlus=1;
SerialInfoGrid.hiddenSubtraction=1;
SerialInfoGrid.selBoxEventFuncName = "showStatistics";
SerialInfoGrid.loadMulLine(iArray);
}
catch(ex)
{
alert(ex);
}
}
// 单证信息列表的初始化
function initCardImportInfoGrid()
{
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]="单证编码~DocCode";
iArray[1][1]="60px";
iArray[1][2]=100;
iArray[1][3]=0;
iArray[2]=new Array();
iArray[2][0]="单证名称~DocName-1";
iArray[2][1]="120px";
iArray[2][2]=85;
iArray[2][3]=0;
iArray[3]=new Array();
iArray[3][0]="单证起始号~DocStartNum";
iArray[3][1]="120px";
iArray[3][2]=85;
iArray[3][3]=0;
iArray[4]=new Array();
iArray[4][0]="单证终止号~DocEndNum";
iArray[4][1]="120px";
iArray[4][2]=85;
iArray[4][3]=0;
iArray[5]=new Array();
iArray[5][0]="数量~Num";
iArray[5][1]="60px";
iArray[5][2]=100;
iArray[5][3]=0;
iArray[6]=new Array();
iArray[6][0]="经办人~Handler";
iArray[6][1]="60px";
iArray[6][2]=100;
iArray[6][3]=0;
iArray[7]=new Array();
iArray[7][0]="操作员~Operator-6";
iArray[7][1]="60px";
iArray[7][2]=60;
iArray[7][3]=0;
iArray[8]=new Array();
iArray[8][0]="导入状态~ImportStatus";
iArray[8][1]="60px";
iArray[8][2]=100;
iArray[8][3]=0;
iArray[9]=new Array();
iArray[9][0]="导入日期~ImportDate";
iArray[9][1]="80px";
iArray[9][2]=100;
iArray[9][3]=0;
iArray[10]=new Array();
iArray[10][0]="导入时间~ImportTime";
iArray[10][1]="80px";
iArray[10][2]=100;
iArray[10][3]=0;
iArray[11]=new Array();
iArray[11][0]="导入机构~ImportOrg";
iArray[11][1]="80px";
iArray[11][2]=100;
iArray[11][3]=0;
iArray[12]=new Array();
iArray[12][0]="导入失败原因~ImportFailureReason";
iArray[12][1]="80px";
iArray[12][2]=100;
iArray[12][3]=0;
CardImportInfoGrid = new MulLineEnter( "document" , "CardImportInfoGrid" );
CardImportInfoGrid.mulLineCount = 0;
CardImportInfoGrid.displayTitle = 1;
CardImportInfoGrid.locked = 0;
CardImportInfoGrid.canSel =0; // 1 显示 ;0 隐藏(缺省值)
CardImportInfoGrid.hiddenPlus=1;
CardImportInfoGrid.hiddenSubtraction=1;
CardImportInfoGrid.loadMulLine(iArray);
}
catch(ex)
{
alert(ex);
}
}
</script>