📄 dms_0002fdocument_0002frecedocedt_0002ejsp_jsp.java
字号:
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(290,44);to=(290,47)]
out.write("\",\"");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(290,50);to=(290,53)]
out.print(dd1);
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(290,55);to=(291,26)]
out.write("\");\r\n\t\tform1.TermDate.value = \"");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(291,29);to=(291,32)]
out.print(yy1);
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(291,34);to=(291,35)]
out.write("/");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(291,38);to=(291,41)]
out.print(mm1);
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(291,43);to=(291,44)]
out.write("/");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(291,47);to=(291,50)]
out.print(dd1);
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(291,52);to=(292,0)]
out.write("\";\r\n");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(292,2);to=(294,0)]
}
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(294,2);to=(295,23)]
out.write("\r\n\tform1.KindName.value=\"");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(295,26);to=(295,38)]
out.print( strKindName);
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(295,40);to=(296,28)]
out.write("\";\r\n\tform1.AttributeName.value=\"");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(296,31);to=(296,48)]
out.print( strAttributeName);
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(296,50);to=(297,25)]
out.write("\";\r\n\tform1.SecretName.value=\"");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(297,28);to=(297,42)]
out.print( strSecretName);
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(297,44);to=(298,24)]
out.write("\";\r\n\tform1.SpeedName.value=\"");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(298,27);to=(298,40)]
out.print( strSpeedName);
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(298,42);to=(299,23)]
out.write("\";\r\n\tform1.TypeName.value=\"");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(299,26);to=(299,38)]
out.print( strTypeName);
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(299,40);to=(300,23)]
out.write("\";\r\n\tform1.CopyName.value=\"");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(300,26);to=(300,38)]
out.print( strCopyName);
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(300,40);to=(301,22)]
out.write("\";\r\n\tform1.Subject.value=\"");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(301,25);to=(301,36)]
out.print( strSubject);
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(301,38);to=(303,25)]
out.write("\";\r\n//\tform1.MainDoc.value=\"< %= strMainDoc%>\";\r\n\tform1.AttachDesc.value=\"");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(303,28);to=(303,42)]
out.print( strAttachDesc);
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(303,44);to=(304,26)]
out.write("\";\r\n\tform1.AttachCount.value=\"");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(304,29);to=(304,46)]
out.print( iAttachmentCount);
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(304,48);to=(306,30)]
out.write("\";\r\n\r\n\tform1.UndertakeDeptID.value=\"");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(306,33);to=(306,71)]
out.print( ExStr.nullToSpace(strUndertakeDeptID));
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(306,73);to=(307,30)]
out.write("\";\r\n\tform1.UndertakeUserID.value=\"");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(307,33);to=(307,71)]
out.print( ExStr.nullToSpace(strUndertakeUserID));
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(307,73);to=(308,32)]
out.write("\";\r\n\tform1.UndertakeDeptName.value=\"");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(308,35);to=(308,75)]
out.print( ExStr.nullToSpace(strUndertakeDeptName));
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(308,77);to=(309,32)]
out.write("\";\r\n\tform1.UndertakeUserName.value=\"");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(309,35);to=(309,75)]
out.print( ExStr.nullToSpace(strUndertakeUserName));
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(309,77);to=(352,54)]
out.write("\";\r\n\tgetMemberOfDeptment();\r\n\tchkSecret();\r\n\tSpeedID_onchange();\r\n//\tReceDate.onChangeEvent(SpeedID_onchange);\r\n}\r\n\r\nfunction OnSubjectKeyDown()\r\n{\r\n\tif(event.keyCode == 113){\t\t//按F2鍵, 彈出詞庫對話框\r\n\t\tvar param=\"PhraseKey=\" + form1.SubjectPhrase.value + \"&PhraseTypeID=1&PhraseTypeName=主旨說明\";\r\n\t\tvar phrase=window.showModalDialog(\"/WebAgenda/servlet/PhraseServlet?\"+param, \"片語列表\");\r\n\t\tif(phrase){\r\n\t\t\tform1.Subject.value += phrase;\r\n\t\t}\r\n\t}\r\n}\r\n\r\nfunction OnAttachDescKeyDown(){\r\n\tif(event.keyCode == 113){\t\t//按F2鍵, 彈出詞庫對話框\r\n\t\tvar param=\"PhraseKey=\" + form1.AttachDescPhrase.value + \"&PhraseTypeID=2&PhraseTypeName=附件說明\";\r\n\t\tvar phrase=window.showModalDialog(\"/WebAgenda/servlet/PhraseServlet?\"+param, \"片語列表\");\r\n\t\tif(phrase){\r\n\t\t\tform1.AttachDesc.value += phrase;\r\n\t\t}\r\n\t}\r\n}\r\n\r\nfunction IssueOrgKeyDown(){\r\n\tif(event.keyCode == 113){\t\t//按F2鍵, 彈出詞庫對話框\r\n\t\tvar param=\"RecipientKey=\" + form1.IssueOrgName.value;\r\n\t\tvar phrase=window.showModalDialog(\"/WebAgenda/servlet/RecipientServlet?\"+param, \"機關列表\");\r\n\t\tif(phrase){\r\n\t\t\tvar index = phrase.indexOf(\",\");\r\n\t\t\tvar orgID = phrase.substring(0, index);\r\n\t\t\tvar orgName = phrase.substring(index+1);\r\n\t\t\tform1.IssueOrgID.value = orgID;\r\n\t\t\tform1.IssueOrgName.value = orgName;\r\n\t\t}\r\n\t}\r\n}\r\n\r\nfunction attach(){\r\n\twindow.open(\"/WebAgenda/DMS/common/attach.jsp?taskID=");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(352,57);to=(352,68)]
out.print( strTaskID );
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(352,70);to=(623,18)]
out.write("\", \"openclose\", \"scrollbars=yes,toolbar=no,menubar=no,left=100,top=100,width=550,height=300,resize=no\");\r\n}\r\n\r\nfunction submitCheck()\r\n{\r\n\tif(form1.KindID.selectedIndex == -1){\r\n\t\talert(\"公文類別不能為空!\");\r\n\t\treturn false;\r\n\t}\r\n\tform1.KindName.value=form1.KindID.options[form1.KindID.selectedIndex].text\r\n\r\n\tif(form1.AttributeID.selectedIndex == -1){\r\n\t\talert(\"公文屬性不能為空!\");\r\n\t\treturn false;\r\n\t}\r\n\tform1.AttributeName.value=form1.AttributeID.options[form1.AttributeID.selectedIndex].text\r\n\r\n\tif(form1.SecretID.selectedIndex == -1){\r\n\t\talert(\"公文密等不能為空!\");\r\n\t\treturn false;\r\n\t}\r\n\tform1.SecretName.value=form1.SecretID.options[form1.SecretID.selectedIndex].text\r\n\r\n\tif(form1.SpeedID.selectedIndex == -1){\r\n\t\talert(\"公文速別不能為空!\");\r\n\t\treturn false;\r\n\t}\r\n\tform1.SpeedName.value=form1.SpeedID.options[form1.SpeedID.selectedIndex].text\r\n\r\n\tif(form1.TypeID.selectedIndex == -1){\r\n\t\talert(\"公文文別不能為空!\");\r\n\t\treturn false;\r\n\t}\r\n\tform1.TypeName.value=form1.TypeID.options[form1.TypeID.selectedIndex].text\r\n\r\n\tif(form1.CopyID.selectedIndex == -1){\r\n\t\talert(\"公文本別不能為空!\");\r\n\t\treturn false;\r\n\t}\r\n\tform1.CopyName.value=form1.CopyID.options[form1.CopyID.selectedIndex].text\r\n\r\n\tif(form1.TermTypeID.selectedIndex == -1){\r\n\t\talert(\"限辦類型不能為空!\");\r\n\t\treturn false;\r\n\t}\r\n\r\n\tif(form1.IssueOrgName.value == \"\"){\r\n\t\talert(\"來文機關不能為空!\");\r\n\t\tform1.IssueOrgName.focus();\r\n\t\treturn false;\r\n\t}\r\n\tif(form1.Subject.value == \"\"){\r\n\t\talert(\"公文主旨不能為空!\");\r\n\t\tform1.Subject.focus();\r\n\t\treturn false;\r\n\t}\r\n\t/*form1.UndertakeDeptName.value=\"\"\r\n\tif(form1.UndertakeDeptID.selectedIndex>0)\r\n\t{\r\n\t form1.UndertakeDeptName.value=form1.UndertakeDeptID.options[form1.UndertakeDeptID.selectedIndex].text\r\n\t}\r\n\tform1.UndertakeUserName.value=\"\"\r\n\tif(form1.UndertakeUserID.selectedIndex>0)\r\n\t{\r\n\t form1.UndertakeUserName.value=form1.UndertakeUserID.options[form1.UndertakeUserID.selectedIndex].text\r\n\t}*/\r\n\tswitch(form1.act.value*1)\r\n\t{\r\n\t case 0://來文補登\r\n\t\t form1.action=\"/WebAgenda/servlet/ModifyDocServlet\"\r\n\t\tcase 1://XML收文\r\n\t\t form1.action=\"/WebAgenda/servlet/XMLReceDocServlet\"\r\n\t\t\tbreak;\r\n\t\tcase 2://收文登錄\r\n\t\t\tform1.action=\"../servlet/ReceDocServlet\"\r\n\t\t\tbreak;\r\n\t}\r\n\r\n\tform1.submit();\r\n\tform1.btnSure.disabled = true;\r\n}\r\n\r\nfunction getMemberOfDeptment()\r\n{\r\n/*\tif(form1.UndertakeDeptID.selectedIndex<0)\r\n\t{\r\n\t form1.UndertakeDeptID.selectedIndex=0;\r\n\t}\r\n\tvar UndertakeDeptIDValue=form1.UndertakeDeptID[form1.UndertakeDeptID.selectedIndex].value;\r\n*/\tvar UndertakeDeptIDValue;\r\n\tvar str=strTemp.value\r\n\tstr=str.split(\"|\");\r\n\r\n\tfor(var i=form1.UndertakeUserID.length-1;i>0;i--)\r\n\t{\r\n\t form1.UndertakeUserID.remove(i)\r\n\t}\r\n\r\n\tfor(i=0;i<str.length-1;i++)\r\n\t{\r\n\t\tmemberID=str[i].substring(0,str[i].indexOf(\"_\"));\r\n\t\tmemberName=str[i].substring(str[i].indexOf(\"_\")+1,str[i].lastIndexOf(\"_\"));\r\n\t\tdeptmentID=str[i].substring(str[i].lastIndexOf(\"_\")+1);\r\n\t\tif(deptmentID==UndertakeDeptIDValue)\r\n\t\t{\r\n\t\t\tvar op=form1.document.createElement(\"OPTION\");\r\n\t\t\top.text=memberName;\r\n\t\t\top.value=memberID;\r\n\t\t\tform1.UndertakeUserID.add(op);\r\n\t\t}\r\n\t}\r\n}\r\nfunction chkSecret()\r\n{\r\n\tif(form1.SecretID.value==\"1\")\r\n\t{\r\n\t form1.DesecretCondition.value=\"\";\r\n\t\tform1.DesecretCondition.disabled=true;\r\n\t\tsetEnableDate(false,\"DesecretDate\");\r\n\t}\r\n\telse\r\n\t{\r\n\t\tform1.DesecretCondition.disabled=false;\r\n\t\tsetEnableDate(true,\"DesecretDate\");\r\n\t}\r\n}\r\nfunction setEnableDate(chked,checkboxObj)\r\n{\r\n\tvar obj=eval(\"form1.\" + checkboxObj);\r\n//\tobj.setEnabled(chked);\r\n\tobj.enabled = chked;\r\n}\r\n\r\nfunction SubjectPhrase_onfocus()\r\n{\r\n form1.SubjectPhrase.select();\r\n return true;\r\n}\r\nfunction AttachDescPhrase_onfocus()\r\n{\r\n form1.AttachDescPhrase.select();\r\n return true;\r\n}\r\n\r\n\r\nfunction SpeedID_onchange()\r\n{\r\n\tvar ArrayDays=form1.SpeedDays.value.split(\",\");//所有速別的限辦天數\r\n\tvar strSpecDate=form1.SpecDateList.value;//所有假日\r\n\tvar isFiveDay=form1.isFiveDay.value;//五天制或者是五天半制\r\n\tDays=ArrayDays[form1.SpeedID.selectedIndex];//當前速別指定的天數\r\n\tvar tempDate;\r\n\tsDateTime=form1.ReceDate.value;\r\n\tsDate=sDateTime.substr(0,sDateTime.indexOf(\"/\")+6);\r\n\tsTime=sDateTime.substr(sDateTime.indexOf(\"/\")+6);\r\n\ttempDate=sDate.split(\"/\");\r\n\r\n//\ty=tempDate[0]-0\r\n\ty = parseInt(tempDate[0], 10) + 1911;\r\n\tm=tempDate[1]-1\r\n\td=tempDate[2]*1+1-1;//日期加一天\r\n\tt=new Date(y,m,d);//得到當前的基準日期+當前速別指定的天數+1的日期(不計算假日和雙修日的限辦日期\r\n\tvar AddDates = Days;//當前速別指定的天數\r\n\tvar StartWeekDay = t.getDay(); //起止日期的星期數\r\n\tvar pEndDate = t;//結束日期\r\n\tvar EndWeekDay = StartWeekDay; //結束日期的星期數\r\n\twhile(AddDates>0)\r\n\t{\r\n\t\tAddDates=AddDates-1;\r\n\t\tpEndDate = getChangeDate(t,\"D\",1);\r\n\t\tEndWeekDay = pEndDate.getDay();\r\n\t\tif(strSpecDate.indexOf(strCnDate(pEndDate))>=0)//節假日\r\n\t\t{\r\n\t\t\tif(strSpecDate.indexOf(strCnDate(pEndDate)+\"_2\")>=0)\r\n\t\t\t{\r\n\t\t\t\tAddDates=AddDates+1;//全天假期\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tif(strSpecDate.indexOf(strCnDate(pEndDate)+\"_1\")>=0)\r\n\t\t\t\t{\r\n\t\t\t\t\tAddDates=AddDates+0.5;//半天假期\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\telse//雙休日\r\n\t\t{\r\n\t\t\tif (EndWeekDay==6)//星期六\r\n\t\t\t{\r\n\t\t\t\tif(isFiveDay==1)\r\n\t\t\t\t{\r\n\t\t\t\t\tAddDates=AddDates+1;//5天制\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\tAddDates=AddDates+0.5;//5.5天制\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tif (EndWeekDay==0) AddDates=AddDates+1;//星期天\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t//TermDate.setCurDate(pEndDate.getYear(),pEndDate.getMonth()+1,pEndDate.getDate());\r\n\tform1.TermDate.value = (pEndDate.getFullYear() - 911).toString().substr(1) + \"/\" + (pEndDate.getMonth() + 101).toString().substr(1) + \"/\" + (pEndDate.getDate() + 100).toString().substr(1);\r\n\t//alert(form1.TermDate.value)\r\n\r\n}\r\nfunction strCnDate(tempDate)\r\n{\r\n\ttemp1=\"\";\r\n\tstrYear=tempDate.getFullYear();\r\n\tstrMonth=tempDate.getMonth()+1;\r\n\tstrDay=tempDate.getDate();\r\n\ttemp1=strYear;\r\n\tif(strMonth<10)\r\n\t{\r\n\t\ttemp1=temp1+\"/0\"+strMonth;\r\n\t}\r\n\telse\r\n\t{\r\n\t\ttemp1=temp1+\"/\"+strMonth;\r\n\t}\r\n\tif(strDay<10)\r\n\t{\r\n\t\ttemp1=temp1+\"/0\"+strDay;\r\n\t}\r\n\telse\r\n\t{\r\n\t temp1=temp1+\"/\"+strDay;\r\n\t}\r\n\treturn temp1;\r\n}\r\nfunction getChangeDate(tempDate,YMD,increase)\r\n{\r\n\tvar y = tempDate.getFullYear();\r\n\tvar m = tempDate.getMonth();\r\n\tvar d = tempDate.getDate()+increase;\r\n\tt=new Date(y,m,d);\r\n\treturn t;\r\n}\r\n//獲得民國日期\r\nfunction strDate(tempDate)\r\n{\r\n\ttemp1=\"\";\r\n\tstrYear=tempDate.getYear()-1911;\r\n\tstrMonth=tempDate.getMonth()+1;\r\n\tstrDay=tempDate.getDate();\r\n\tstrHours=tempDate.getHours();\r\n\tstrMinutes=tempDate.getMinutes();\r\n\ttemp1=strYear;\r\n\tif(strMonth<10)\r\n\t{\r\n\t temp1=temp1+\"/0\"+strMonth;\r\n\t}\r\n\telse\r\n\t{\r\n\t temp1=temp1+\"/\"+strMonth;\r\n\t}\r\n\tif(strDay<10)\r\n\t{\r\n\t\ttemp1=temp1+\"/0\"+strDay;\r\n\t}\r\n\telse\r\n\t{\r\n\t temp1=temp1+\"/\"+strDay;\r\n\t}\r\n\treturn temp1;\r\n}\r\n\r\nvar jsessionid = \"");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(623,21);to=(623,36)]
out.print(session.getId());
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(623,38);to=(656,40)]
out.write("\";\r\nvar urlBase = \"/WebAgenda/\";\r\nvar result;\r\nvar fields = new Array();\r\nfields[0] = \"getID\";\r\nfields[1] = \"getName\";\r\nfunction SelectDept(returnName, returnNameH) {\r\n\tOpenRoleTreeCustom('false', 'company', 'department', 'callBack(\\'UndertakeDeptName\\', 1)', fields, 'retAttr=1&retObject=forms[0].' + returnName + '&retObjectText=forms[0].' + returnNameH);\r\n}\r\nfunction SelectUser(returnName, returnNameH) {\r\n\tvar undertakeDeptID = window.document.forms[0].UndertakeDeptID;\r\n\tif (undertakeDeptID.value != '') {\r\n\t\tOpenRoleTreeCustom('false', undertakeDeptID.value, 'member', 'callBack(\\'UndertakeUserName\\', 2)', fields, 'retAttr=1&retObject=forms[0].' + returnName + '&retObjectText=forms[0].' + returnNameH);\r\n\t}\r\n}\r\nfunction OpenRoleTreeCustom(multi, rootNode, leafType, callBack, fields, param) {\r\n\tvar fieldList='';\r\n\tfor(i=0; i<fields.length; i++)\r\n\t\tfieldList = fieldList + fields[i] + ';';\r\n\tOpenWin(urlBase+'RoleTree.do;jsessionid='+jsessionid+'?multi='+multi+'&rootNode='+rootNode+'&leafType='+leafType+'&callBack='+callBack+'&fieldList='+fieldList+'&'+param);\r\n}\r\nfunction OpenWin(url) {\r\n\tvar WinRoleTreeID = null;\r\n\tif(!WinRoleTreeID || WinRoleTreeID.closed)\r\n\t\tWinRoleTreeID = window.open(url,\"\",\"left=100,top=50,toolbar=no,status=no,width=600,height=500,resizable=no,scrollbars=yes\");\r\n}\r\nfunction callBack(fieldName, index) {\r\n\twindow.document.all(fieldName).value = result[0][index];\r\n}\r\n</script>\r\n</head>\r\n<body onload=load() bgcolor=\"#FFFFFF\" text=\"#000000\" background=\"/WebAgenda/images/contant_bg.gif\">\r\n\r\n<form method=\"post\" name=\"form1\" target=");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(656,43);to=(656,86)]
out.print((String)session.getAttribute("HiddenFrame"));
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(656,88);to=(662,33)]
out.write(">\r\n<p align=\"center\" bgcolor=\"#666E66\" class=\"form_text_3\">詞庫作業提示: 輸入詞庫按F2鍵﹗ #表示可使用詞庫 *為一定要輸入</p>\r\n<table width=\"90%\" bgcolor=\"#666E66\" cellspacing=\"1\" border=\"1\" align=\"center\">\r\n <tr>\r\n <td width=\"10%\" class=\"form_text_3\">收文文號</td>\r\n <td width=\"40%\" class=\"form_text_4\">\r\n\t <input name=\"FileNO\" value=\"");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(662,36);to=(662,45)]
out.print(strFileNO);
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(662,47);to=(666,54)]
out.write("\" maxlength=20 readonly> \r\n\t</td>\r\n <td width=\"10%\" class=\"form_text_3\">收文時間</td>\r\n <td width=\"40%\" class=\"form_text_4\">\r\n\t\t<!--SCRIPT>var ReceDate=createDatePicker(\"ReceDate\",");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(666,57);to=(666,59)]
out.print(y1);
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(666,61);to=(666,62)]
out.write(",");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(666,65);to=(666,67)]
out.print(m1);
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(666,69);to=(666,70)]
out.write(",");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(666,73);to=(666,75)]
out.print(d1);
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(666,77);to=(682,47)]
out.write(");</SCRIPT-->\r\n\t<input type=\"text\" name=\"ReceDate\" size=\"10\" readonly=\"true\">\r\n\t<a style=\"CURSOR: hand\">\r\n\t\t<img src=\"/WebAgenda/images/icon/calender.gif\" onClick=\"openCalendar('ReceDate')\">\r\n\t</a>\r\n </td>\r\n </tr>\r\n <tr>\r\n\t<td class=\"form_text_3\">來文字號</td>\r\n <td class=\"form_text_4\">\r\n\t\t\t<input name=\"IssueWord\" maxlength=20>\r\n\t\t\t字第<input name=\"IssueNO\" size=8 maxlength=20>號\r\n\t\t</td>\r\n <td class=\"form_text_3\">來文日期</td>\r\n <td class=\"form_text_4\">\r\n <!--SCRIPT>\r\n\t\t\t\tvar IssueDate=createDatePicker(\"IssueDate\",");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(682,50);to=(682,52)]
out.print(y1);
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(682,54);to=(682,55)]
out.write(",");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(682,58);to=(682,60)]
out.print(m1);
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(682,62);to=(682,63)]
out.write(",");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(682,66);to=(682,68)]
out.print(d1);
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(682,70);to=(702,0)]
out.write(");\r\n\t\t\t\t</SCRIPT-->\r\n\t<input type=\"text\" name=\"IssueDate\" size=\"10\" readonly=\"true\">\r\n\t<a style=\"CURSOR: hand\">\r\n\t\t<img src=\"/WebAgenda/images/icon/calender.gif\" onClick=\"openCalendar('IssueDate')\">\r\n\t</a>\r\n\t\t</td>\r\n </tr>\r\n <tr>\r\n <td class=\"form_text_3\">來文機關</td>\r\n <td class=\"form_text_4\" colspan=\"3\">\r\n\t\t<input name=\"IssueOrgName\" maxlength=20 onKeyDown=\"IssueOrgKeyDown()\">\r\n\t\t* 輸入機關簡稱後按F2\r\n\t</td>\r\n </tr>\r\n <tr>\r\n <td class=\"form_text_3\">類別</td>\r\n\t<td class=\"form_text_4\">\r\n\t\t<input type=hidden name=KindName>\r\n\t\t<select name=\"KindID\" size=\"1\">\r\n");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(702,2);to=(708,0)]
DocKindDAO[] docKind = (DocKindDAO[])session.getAttribute("KindDAO");
if(docKind!=null)
{
for(int i=0; i<docKind.length; i++)
{
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(708,2);to=(709,27)]
out.write("\r\n <option value=\"");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(709,30);to=(709,52)]
out.print(docKind[i].getKindID());
// end
// HTML // begin [file="/DMS/document/ReceDocEdt.jsp";from=(709,54);to=(709,56)]
out.write("\">");
// end
// begin [file="/DMS/document/ReceDocEdt.jsp";from=(709,59);to=(709,83)]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -