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

📄 handtakemodify1.jsp

📁 《jsp案例开发》这本书的源代码。包括源代码和相关的具体配置操作步骤。非常不错
💻 JSP
📖 第 1 页 / 共 2 页
字号:
                       </td>                     </tr>                     <tr bgcolor="#fafafa">                       <td width="135"><font  class="strong"> 引进日期:</font></td>                       <td width="454"> <% int year = hjb.time_introduce.getYear()+1900; int month = hjb.time_introduce.getMonth()+1; int day = hjb.time_introduce.getDate(); %>                              <select name="year">                                         <option value="<%=year%>"><%=year%></option>                                        <%                                    for(int i=2000;i<=2050;i++){                                        %>                                        <option value="<%=i%>"><%=i%></option>                                    <%}%>                                        </select> 年                                        <select name="month">                                    <option value="<%=month%>"><%=month%></option>                                        <%                                    for(int i=1;i<=12;i++){                                        %>                                        <option value="<%=i%>"><%=i%></option>                                    <%}%>                                        </select> 月                                        <select name="day">                                    <option value="<%=day%>"><%=day%></option>                                        <%                                    for(int i=1;i<=31;i++){                                        %>                                        <option value="<%=i%>"><%=i%></option>                                    <%}%>                                        </select>日                       </td>                     </tr>                     <tr bgcolor="#e0e0e0">                       <td width="135"><font  class="strong"> 合同编号:</font></td>                       <td width="454"> <input name="contractid" type="text" class="file" size="30" value="<%=hjb.contract_id%>" readonly>                       </td>                     </tr>                     <tr bgcolor="#fafafa">                       <td width="135"><font  class="strong"> 设备美元价格:</font></td>  <% a=""; if(hjb.price_usd!=null)   a=hjb.price_usd.toString(); %>                       <td width="454"> <input name="price_usd" type="text" class="file" size="30" value="<%=a%>">万元                       </td>                     </tr>                     <tr bgcolor="#e0e0e0">                       <td width="135"> <font  class="strong"> 设备人民币价格:</font></td>  <% a=""; if(hjb.price_rmb!=null)   a=hjb.price_rmb.toString(); %>                       <td width="454"> <input name="price_rmb" type="text" class="file" size="30" value="<%=a%>">万元                       </td>                     </tr>                     <tr bgcolor="#fafafa">                       <td width="135"> <font  class="strong"> 其他费用(关税等):</font></td> <% a=""; if(hjb.duty!=null)   a=hjb.duty.toString(); %>                       <td width="454"> <input name="duty" type="text" class="file" size="30" value="<%=a%>">万元                       </td>                     </tr>                     <tr bgcolor="#e0e0e0">                       <td width="135"> <font  class="strong"> 资金来源:</font></td> <% a=""; if(hjb.s_fund!=null)   a=hjb.s_fund; %>                       <td width="454"> <input name="s_fund" type="text" class="file" size="30" value="<%=a%>">                       </td>                     </tr>                     <tr bgcolor="#fafafa">                       <td width="135"> <font  class="strong"> 使用单位:</font></td>   <%     Context psctx=new InitialContext();     Object psref=psctx.lookup("OfficeUnitController");     OfficeUnitControllerHome officeUnitControllerHome=(OfficeUnitControllerHome) PortableRemoteObject.narrow(psref,OfficeUnitControllerHome.class);     OfficeUnitController officeUnitController=officeUnitControllerHome.create();     officeUnitStruct ous=new officeUnitStruct();     Collection c=new ArrayList();     Collection collect=new ArrayList();     c=officeUnitController.getAll();     Iterator oi=c.iterator();     while(oi.hasNext())     {     ous=(officeUnitStruct)oi.next();     if(user.unitid.intValue()==ous.upunitid.intValue())      collect.add(ous);     }   %>                       <td width="454">       <select name="unit">           <option value="<%=hjb.unit%>"><%=hjb.unit%></option>   <%   oi=collect.iterator();   while(oi.hasNext())   {     ous=(officeUnitStruct)oi.next();   %>   <option value="<%=ous.processname%>"><%=ous.processname%></option>   <%}%>       </select>                       </td>                     </tr>                    <tr bgcolor="#e0e0e0">                       <td width="135"> <font  class="strong"> 备注:</font></td>                       <td width="454">  <% String t=""; if(hjb.remark!=null)   t=hjb.remark; %>     <textarea rows=3 cols=50 name=remark class="file"><%=t%></textarea>                       </td>                     </tr>                   <tr bgcolor="#fafafa">                       <td width="135"><font  class="strong"> 交接日期:</font></td>                       <td width="454"> <% int year1 = hjb.time_handtake.getYear()+1900; int month1 = hjb.time_handtake.getMonth()+1; int day1 = hjb.time_handtake.getDate(); %>                              <select name="year1">                                         <option value="<%=year1%>"><%=year1%></option>                                        <%                                    for(int i=2000;i<=2050;i++){                                        %>                                        <option value="<%=i%>"><%=i%></option>                                    <%}%>                                        </select> 年                                        <select name="month1">                                    <option value="<%=month1%>"><%=month1%></option>                                        <%                                    for(int i=1;i<=12;i++){                                        %>                                        <option value="<%=i%>"><%=i%></option>                                    <%}%>                                        </select> 月                                        <select name="day1">                                    <option value="<%=day1%>"><%=day1%></option>                                        <%                                    for(int i=1;i<=31;i++){                                        %>                                        <option value="<%=i%>"><%=i%></option>                                    <%}%>                                        </select>日                       </td>                     </tr>                     <tr bgcolor="#fafafa" align="center">                       <td colspan="2" height="30">                         &nbsp; <input type="submit" name="Button2" value=" 保  存 " class="file">                         &nbsp; <input type="reset" name="Button32" value=" 还  原 " class="file" >                         &nbsp; <input type="button" name="Button21" value=" 返  回 " class="file" onClick="history.back();">                       </td>                     </tr>                   </table>                 </td>               </tr>             </table>             <p><img src="../../images/msalogo.gif" width="272" height="50">             <table width="100%" border="0" cellspacing="0" cellpadding="0">                <tr>                 <td height="3"><img src="a.gif" width="1" height="1"></td>               </tr>               <tr>                 <td background="../../MacOS/hr.gif"><img src="../../MacOS/hr.gif" width="1" height="2"></td>               </tr>                <tr>                 <td height="3"><img src="a.gif" width="1" height="1"></td>               </tr>             </table>             <table width="100%" border="0" cellspacing="0" cellpadding="0">               <tr>                 <td> <div align="right"><a href="../../help.htm" target="blank" style="cursor:help" title="使用帮助"><img src="../../MacOS/help.gif" width="16" height="16" border="0">HELP</a></div></td>               </tr>             </table></TD>       </TR>       <TR>         <TD><IMG height=7 src="../../MacOS/leftbottom.gif" width=6></TD>         <TD background=../../MacOS/bottom.gif colSpan=3><IMG height=7         src="../../MacOS/bottom.gif" width=1></TD>         <TD><IMG height=7 src="../../MacOS/rightbottom.gif"   width=7></TD>       </TR>       </TABLE>     <BR>       <TABLE cellSpacing=1 cellPadding=2 width="300" border=0>         <TBODY>           <TR>             <TD align=center><FONT class=footer><IMG height=1         src="MacOS/hr_black.gif" width="100%"><BR>             Orient Super Net MSA-OFFICE System               </FONT></TD>           </TR>         </TBODY>       </TABLE>     </form></DIV></BODY></HTML>  <%}%>

⌨️ 快捷键说明

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