sueamend.jsp
来自「这是一个法律事务所系统源码」· JSP 代码 · 共 1,322 行 · 第 1/4 页
JSP
1,322 行
else if(cCustomerType.equals("gr")) cCustomerType = "个人";
else if(cCustomerType.equals("qt")) cCustomerType = "其他";
}
//END---------------------------------------------
%>
<html>
<head>
<title>诉讼案件修改</title>
<%@ include file="../inc/config.jsp" %>
</head>
<script language="javascript">
//检查输入的合法性
function checkForm()
{
if (document.myForm.txtCaseID.value=="")
{
alert("请输入案件编码!");
document.myForm.txtCaseID.focus();
return false;
}
if (document.myForm.txtCaseNo.value=="")
{
alert("请输入案件编号!");
document.myForm.txtCaseNo.focus();
return false;
}
if (document.myForm.txtCaseReason.value=="")
{
alert("请输入案由内容!");
document.myForm.txtCaseReason.focus();
return false;
}
if (document.myForm.txtBeginDate.value=="")
{
alert("请输入收案时间!");
document.myForm.txtBeginDate.focus();
return false;
}
if (document.myForm.txtLawyer.value=="")
{
alert("请输入承办律师!");
document.myForm.txtLawyer.focus();
return false;
}
if ((document.myForm.txtCharged.value=="1") &&
(document.myForm.txtNoPayReason.value!=""))
{
MM_showHideLayers('Layer1','','show','Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide')
alert("收费时不应该有免费原由!");
document.myForm.txtNoPayReason.focus();
return false;
}
return true;
}
FileCount=0
RealFileCount=0
function addfile()
{
FileCount++;
RealFileCount++;
spFileCount.innerText=FileCount;
tempTxt="<table id=sp"+FileCount+" border='0' cellspacing='0' cellpadding='0' height='25' width='100%' >"
tempTxt+="<tr class='tr_bg1' align='center'>"
tempTxt+="<td class='table_bg' ><img src='../images/c.gif' width='1' height='1'></td>"
tempTxt+="<td width='43%' > "
tempTxt+="<input type='text' name='txtItemName"+FileCount+"' size='43' class='input'>"
tempTxt+="</td>"
tempTxt+="<td class='table_bg' ><img src='../images/c.gif' width='1' height='1'></td>"
tempTxt+="<td width='14%' align='center'> "
tempTxt+="<input type='text' name='txtBeginTime"+FileCount+"' maxlength='10' size='10' value='' class='input' readOnly>"
tempTxt+="<img src='../images/datetime.gif' border='0' align='absmiddle' alt='弹出日历下拉菜单' onClick='fPopUpCalendarDlg(txtBeginTime"+FileCount+");return false' width='16' height='16'></td>"
tempTxt+="<td class='table_bg' ><img src='../images/c.gif' width='1' height='1'></td>"
tempTxt+="<td width='11%'> "
tempTxt+="<input type='text' name='txtSpendTime"+FileCount+"' size='8' class='input'>"
tempTxt+="</td>"
tempTxt+="<td class='table_bg' ><img src='../images/c.gif' width='1' height='1'></td>"
tempTxt+="<td width='24%'> "
tempTxt+="<input type='text' name='txtItemResult"+FileCount+"' size='20' class='input'>"
tempTxt+="</td>"
tempTxt+="<td class='table_bg'><img src='../images/c.gif' width='1' height='1'></td>"
tempTxt+="<td width='8%'><a href='#'><img src='../images/del.gif' width='16' height='16' alt='删除' onClick=\"sp"+FileCount+".style.display='none';FileCount--;"
tempTxt+="document.myForm.txtFileCount.value=FileCount;spFileCount.innerText=FileCount;form1.txtTranCont"+FileCount+".text='';\" style='cursor:hand' border='0'></a></td>"
tempTxt+="<td class='table_bg' ><img src='../images/c.gif' width='1' height='1'></td>"
tempTxt+="</tr>"
tempTxt+="<tr class='tr_bg1' align='center'> "
tempTxt+="<td class='table_bg' colspan='11' height='1' ></td>"
tempTxt+="</tr>"
tempTxt+="</table>"
document.myForm.txtFileCount.value=FileCount
attach.insertAdjacentHTML("BeforeEnd",tempTxt);
}
</script>
<body class="page">
<!--显示工具条-->
<form name="myForm" METHOD="post" action="SueAmendRun.jsp" ENCTYPE="multipart/form-data">
<div id="Layer1" style="Position: absolute; left: 5; top: 70; width: 98%; height: 723; z-index: 1">
<table border="0" cellspacing="0" cellpadding="0" height="25" >
<tr class="tr_bg1" align="center">
<td class="table_bg" colspan="11" height="1" ></td>
</tr>
<tr class="tr_bg1" align="center">
<td class="table_bg" width="1" ></td>
<td onClick="MM_showHideLayers('Layer1','','show','Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide')" style="cursor:hand" class="tr_bg2" width="60" >案件信息</td>
<td class="table_bg" width="1"></td>
<td onClick="MM_showHideLayers('Layer1','','hide','Layer2','','show','Layer3','','hide','Layer4','','hide','Layer5','','hide')" style="cursor:hand" width="110">律师处理事务列表</td>
<td class="table_bg" width="1"></td>
<td onClick="MM_showHideLayers('Layer1','','hide','Layer2','','hide','Layer3','','show','Layer4','','hide','Layer5','','hide')" style="cursor:hand" width="60">费用信息</td>
<td class="table_bg" width="1"></td>
<td onClick="MM_showHideLayers('Layer1','','hide','Layer2','','hide','Layer3','','hide','Layer4','','show','Layer5','','hide')" style="cursor:hand" width="80">其他费用列表</td>
<td class="table_bg" width="1"></td>
<td onClick="MM_showHideLayers('Layer1','','hide','Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','show')" style="cursor:hand" width="70">委托人信息</td>
<td class="table_bg" width="1"></td>
</tr>
</table>
<table align="center" border="0" cellspacing="1" cellpadding="5" class="table_bg" width="99%">
<tr>
<td width="18%" align="right" class="title_bg"> 案件编码: </td>
<td width="28%" class="tr_bg1">
<input name="txtCaseID" size="12" class="input" readOnly value=<%=caseID%>>
<font color="#FF0000">* </font></td>
<td width="19%" align="right" class="title_bg"> 案件编号: </td>
<td width="35%" class="tr_bg1">
<input name="txtCaseNo" size="20" class="input" value=<%=caseNo%>>
<font color="#FF0000">* </font></td>
</tr>
<tr>
<td align="right" width="18%" class="title_bg"> 案由:</td>
<td class="tr_bg1" colspan="3">
<input name="txtCaseReason" size="50" class="input" value=<%=caseReason%>>
<font color="#FF0000">* </font></td>
</tr>
<tr>
<td align=right width=18% class="title_bg"> 收案时间:</td>
<td width=28% class="tr_bg1">
<input type="text" name="txtBeginDate" maxlength="10" size="10" class="input" readOnly value=<%=beginDate%>>
<img src="../images/datetime.gif" border="0" align="absmiddle"
alt="弹出日历下拉菜单" onClick="fPopUpCalendarDlg(txtBeginDate);return false" width="16" height="16">
<font color="#FF0000">*</font> </td>
<td align=right width=19% class="title_bg">结案时间: </td>
<td width=35% class="tr_bg1" >
<input type="text" name="txtEndDate" maxlength="10" size="10" class="input" readOnly value=<%=endDate%>>
<img src="../images/datetime.gif" border="0" align="absmiddle"
alt="弹出日历下拉菜单" onClick="fPopUpCalendarDlg(txtEndDate);return false" width="16" height="16">
</td>
</tr>
<tr>
<td align="right" width="18%" class="title_bg"> 承办律师:</td>
<td width="28%" class="tr_bg1">
<select name="txtLawyer" class="select" >
<%
rs = db.executeQuery("select employee_id, employee_name from t_employee where (duty like '%律师' or duty='主任' or duty='合伙人') and active='1'");
String employee_id="", employee_name="";
while (rs.next())
{
employee_id = rs.getString("employee_id");
employee_name = rs.getString("employee_name");
if (employee_name.equals(lawyer))
{%>
<option value=<%=employee_id%> selected><%=employee_name%></option>
<%}
else{ %>
<option value=<%=employee_id%>><%=employee_name%></option>
<%}
} %>
<option value="">_________ </option>
</select>
<font color="#FF0000">* </font></td>
</td>
<td align="right" width="19%" class="title_bg">审批(人):</td>
<td width=35% class="tr_bg1" >
<select name="txtApproveMan" class="select" >
<option value=""> </option>
<%
rs = db.executeQuery("select employee_id, employee_name from t_employee");
while (rs.next())
{
employee_id = rs.getString("employee_id");
employee_name = rs.getString("employee_name");
if (employee_id.equals(approveMan))
{%>
<option value=<%=employee_id%> selected><%=employee_name%></option>
<%}
else{ %>
<option value=<%=employee_id%>><%=employee_name%></option>
<%}
} %>
<option value="">_________ </option>
</select>
</tr>
<tr>
<td align=right width=18% class="title_bg"> 案件类别:</td>
<td width=28% class="tr_bg1">
<select name="txtCaseType" class="select">
<option value="ssaj">诉讼案件</option>
<option value="ssaj" > _________ </option>
</select>
</td>
<td align="right" width="19%" class="title_bg"> 案件属性:</td>
<td width=35% class="tr_bg1">
<select name="txtCaseAttribute" class="select" >
<option value="xsss" <%if(caseAttribute.equals("xsss")){%> selected<%}%>>刑事诉讼</option>
<option value="msss" <%if(caseAttribute.equals("msss")){%> selected<%}%>>民事诉讼</option>
<option value="jjss" <%if(caseAttribute.equals("jjss")){%> selected<%}%>>经济诉讼</option>
<option value="xzss" <%if(caseAttribute.equals("xzss")){%> selected<%}%>>行政诉讼</option>
<option value="qtss" <%if(caseAttribute.equals("qtss")){%> selected<%}%>>其他诉讼</option>
<option value="qtss" > _________ </option>
</select>
</td>
</tr>
<tr>
<td align=right width=18% class="title_bg"> 委托角色:</td>
<td width=28% class="tr_bg1">
<select name="txtAgentSide" class="select" >
<option value="1" <%if(agentSide.equals("1")){%> selected<%}%>>原告</option>
<option value="2" <%if(agentSide.equals("2")){%> selected<%}%>>被告</option>
<option value="3" <%if(agentSide.equals("3")){%> selected<%}%>>第三人</option>
</select>
</td>
<td align=right width=19% class="title_bg"> 委托人:</td>
<td width=35% class="tr_bg1" >
<select name="txtCustomer" class="select">
<%
rs = db.executeQuery("select customer_id, customer_name from t_customer");
String customer_id="",customer_name="";
while (rs.next())
{
customer_id = rs.getString("customer_id");
customer_name = rs.getString("customer_name");
customer_name = customer_name.trim();
customer = customer.trim();
%>
<option value=<%=customer_id%> <%if(customer_name.equals(customer)){%> selected<%}%>><%=customer_name%></option>
<%
} %>
<option value="">_________________________ </option>
</select>
</td>
</tr>
<tr>
<td align=right width=18% class="title_bg"> 涉外信息: </td>
<td width=28% class="tr_bg1">
<select name="txtReferForeign" class="select" value=<%=referForeign%>>
<option value="0" <%if(referForeign.equals("0")){%> selected<%}%>>无</option>
<option value="1" <%if(referForeign.equals("1")){%> selected<%}%>>涉外</option>
<option value="2" <%if(referForeign.equals("2")){%> selected<%}%>>涉台</option>
<option value="3" <%if(referForeign.equals("3")){%> selected<%}%>>涉港澳</option>
</select>
</td>
<td align=right width=19% class="title_bg"> 受理法院: </td>
<td width=35% class="tr_bg1" >
<input name="txtCourt" size="31" class="input" value=<%=court%> >
</td>
</tr>
<tr>
<td align=right width=18% class="title_bg" height="49"> 被告简介:</td>
<td class="tr_bg1" width="28%" height="49">
<textarea name="txtDefendantInfo" cols="25" wrap="VIRTUAL" rows="2" class="input" value=<%=defendantInfo%>><%=defendantInfo%></textarea>
</td>
<td align="right" class="title_bg" width="19%" height="49">原告简介:</td>
<td class="tr_bg1" width="35%" height="25">
<textarea name="txtPlaintiffInfo" cols="30" wrap="VIRTUAL" rows="2" class="input" value=<%=plaintiffInfo%>><%=plaintiffInfo%></textarea>
</td>
</tr>
<tr>
<td align=right width=18% class="title_bg">审级: </td>
<td width=28% class="tr_bg1">
<select name="txtJudgeLevel" class="select">
<option value="1" <%if(judgeLevel.equals("1")){%> selected<%}%>>一审</option>
<option value="2" <%if(judgeLevel.equals("2")){%> selected<%}%>>二审</option>
</select>
</td>
<td align=right width=19% class="title_bg">判决书递交客户: </td>
<td width=35% class="tr_bg1" >
<input type="text" name="txtJudgeToCustomerDate" maxlength="10" size="10" class="input" readOnly value=<%=judgeToCustomerDate%>>
<img src="../images/datetime.gif" border="0" align="absmiddle"
alt="弹出日历下拉菜单" onClick="fPopUpCalendarDlg(txtJudgeToCustomerDate);return false" width="16" height="16">
</td>
</tr>
<tr>
<td align=right width=18% class="title_bg"> 是否收费: </td>
<td width=28% class="tr_bg1">
<select name="txtCharged" class="select">
<option value="1" <%if(charged.equals("1")){%> selected<%}%>>是</option>
<option value="0" <%if(charged.equals("0")){%> selected<%}%>>否</option>
</select>
</td>
<td align=right width=19% class="title_bg"> 免费事由: </td>
<td width=35% class="tr_bg1" >
<input name="txtNoPayReason" size="31" class="input" value="<%=noPayReason%>">
</td>
</tr>
<tr>
<td align=right width=18% class="title_bg" height="38"> 相关证据: </td>
<td class="tr_bg1" height="38">
<%
ExtendString es1 = new ExtendString();
if(proof!=null)
{
if(proof.equals("")) out.print("无");
String[] pk=new String[10];
pk= es1.Split(";" ,proof);
for(int i=0;i<es1.length-1;i++){
if((i%2)==0){
out.print("<a href=/upload/"+pk[i+1]+" target=\"_blank\">"+pk[i]+"</a>");
if((i!=(es1.length-3))&&((es1.length-2)!=1)){out.print("、");};
}
}
}else{out.print("无");};
%>
<input id=file1 name="txtProof" type=file size=20 class=input>
</td>
<td align=right width=18% class="title_bg" height="35"> 开庭报告: </td>
<td class="tr_bg1" width="28%">
<%
if(courtReport!=null)
{
if(courtReport.equals("")) out.print("无");
String[] pk=new String[10];
pk= es1.Split(";" ,courtReport);
for(int i=0;i<es1.length-1;i++){
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?