⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 advisoramend.jsp

📁 这是一个法律事务所系统源码
💻 JSP
📖 第 1 页 / 共 4 页
字号:
    }
    return true;
  }
</script>


<script language="JavaScript">

<!--
function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}
//-->
</script>
<script language="JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function view(aa) {
   	var sPath = aa
	strFeatures = "dialogWidth=450px;dialogHeight=200px;dialogleft=70;dialogtop=30;center=yes;help=no";
	bb=showModalDialog(sPath,0,strFeatures);
	if(bb!="")
	window.location.href="AdvisorAmend.jsp"  
	return false;
}

// -->
</script>

<script language="JavaScript">
<!--
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';txtTranCont"+FileCount+".value='';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);
}

FileCount1=0
RealFileCount1=0
function addfile1()
{
FileCount1++;
RealFileCount1++;
spFileCount1.innerText=RealFileCount1;
tempTxt="<table id=sp"+FileCount1+" 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='11%' >"
tempTxt+="<input type='text' name='txtTranCont'+FileCount1+'' size='8' class='input'>"
tempTxt+="</td>"
tempTxt+="<td class='table_bg' ><img src='../images/c.gif' width='1' height='1'></td>"
tempTxt+="<td width='25%' >"
tempTxt+="<input type='text' name='txt32"+FileCount1+"' size='20' class='input'>"
tempTxt+="</td>"
tempTxt+="<td class='table_bg' ><img src='../images/c.gif' width='1' height='1'></td>"
tempTxt+="<td width='12%' >"
tempTxt+="<input type='text' name='txt32'+FileCount1+'' size='8' class='input'>"
tempTxt+="</td>"
tempTxt+="<td class='table_bg' ><img src='../images/c.gif' width='1' height='1'></td>"
tempTxt+="<td width='16%'>"
tempTxt+="<input type='text' name='fromDate"+FileCount1+"' maxlength='10' size='10' value='' class='input'  readOnly>"
tempTxt+="<img src='../images/datetime.gif' border='0' align='absmiddle' alt='弹出日历下拉菜单' onClick='fPopUpCalendarDlg(fromDate"+FileCount1+");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='9%'>"
tempTxt+="<input type='text' name='textfield32' size='6' class='input'>"
tempTxt+="</td>"
tempTxt+="<td  class='table_bg' ><img src='../images/c.gif' width='1' height='1'></td>"
tempTxt+="<td width='9%'>"
tempTxt+="<input type='text' name='textfield3' size='6' class='input'>"
tempTxt+="</td>"
tempTxt+="<td  class='table_bg' ><img src='../images/c.gif' width='1' height='1'></td>"
tempTxt+="<td width='8%'>"
tempTxt+="<input type='text' name='textfield32' size='6' class='input'>"
tempTxt+="</td>"
tempTxt+="<td  class='table_bg'><img src='../images/c.gif' width='1' height='1'></td>"
tempTxt+="<td width='10%'><a href='#'><img src='../images/del.gif' width='16' height='16' alt='删除' onClick=\"sp"+FileCount1+".style.display='none';RealFileCount1--;spFileCount1.innerText=RealFileCount1;form1.txtTranCont"+FileCount1+".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='17' height='1' ></td>"
tempTxt+="</tr>"
tempTxt+="</table>"
attach1.insertAdjacentHTML("BeforeEnd",tempTxt);
}

//-->
</script>

</head>

<body class=page>
<!--显示工具条-->
<form name="myForm" METHOD="post" action="AdvisorAmendRun.jsp">
  <div id="Layer1" style="Position:absolute; top:70px; width:98%; height:161px; visibility: visible"> 
    <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="80" >顾问事务信息</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="80">顾问办理事务</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 width="100%" border="0" cellspacing="1" cellpadding="5" class="table_bg" align="center">
    <tr> 
      <td width="21%" class="title_bg" align="right">顾问信息编号:</td>
      <td width="79%" class="tr_bg1"> 
        <input type="text" name="txtCaseID" size="20" class="input" maxlength="20" value=<%=caseID%> readOnly>
        <font color="#FF0000">*</font> 
      </td>
    </tr>
    <tr> 
      <td width="21%" class="title_bg" align="right"> 顾问事务名称:</td>
      <td width="79%" class="tr_bg1"> 
        <input type="text" name="txtCaseReason" size="70" class="input" maxlength="70" value=<%=caseReason%>>
        <font color="#FF0000">*</font> 
      </td>
    </tr>
    <tr> 
      <td width="21%" class="title_bg"  align="right"> 顾问开始时间:</td>
      <td width="79%" 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"> 
      	<font color="#FF0000">*</font> 
        </td>
    </tr>
    <tr> 
      <td width="21%" class="title_bg" valign="top"  align="right"> 顾问结束时间:</td>
      <td width="79%" 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"> 
	<font color="#FF0000">*</font>                   
      </td>
    </tr>
    <tr> 
      <td width="21%" class="title_bg" height="9" align="right"> 承办律师:</td>
      <td width="79%" class="tr_bg1" height="9"> 
        
        <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{
          out.println("here is not equal lawyer");
        %>
        <option value=<%=employee_id%>><%=employee_name%></option>
      <%}
       } %>
        <option value="">_________ </option>
        </select>
        <font color="#FF0000">*</font> 
      </td>
    </tr>                          
    <tr> 
      <td width="21%" class="title_bg" align="right"> 客户名称:</td>
      <td width="79%" class="tr_bg1">  
      <select name="txtCustomer" class="select">       
        <option value=<%=customerID%>><%=customer%></option>
        <%
         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%>><%=customer_name%></option>
      		<%
       	} %>                      
        <option value="">_________________ </option>
        </select>
      </td>
    </tr>
    <tr> 
      <td width="21%" class="title_bg" align="right"> 主要业务:</td>
      <td width="79%" class="tr_bg1"> 
        <input type="text" name="txtMainContent" size="70" class="input" maxlength="70" value=<%=mainContent%>>
      </td>
    </tr>
    <tr> 
      <td width="21%" class="title_bg"  align="right"> 律师对顾问单位评价:</td>
      <td width="79%" class="tr_bg1"> 
        <textarea name="txtOpinion" rows="4" cols="70" class="input"><%=opinion%></textarea>
      </td>
    </tr>
  </table>
</div>


  <div id="Layer2" style="Position:absolute; top:70px; width:98%; height:161px; z-index:2; visibility: hidden"> 
    <table width="100%" cellpadding="0" cellspacing="0" border="0">
    <tr> 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -