waysun一路陽光

          不輕易服輸,不輕言放棄.--心是夢的舞臺,心有多大,舞臺有多大。踏踏實實做事,認認真真做人。

            BlogJava :: 首頁 :: 新隨筆 :: 聯系 ::  :: 管理 ::
            167 隨筆 :: 1 文章 :: 64 評論 :: 0 Trackbacks

          <%@ page contentType="text/html;charset=UTF-8"%>
          <%@ taglib prefix="ww" uri="/struts-tags" %>
          <%@ taglib prefix="display" uri="/WEB-INF/displaytag-el.tld" %>
          <html>
          <head>
          <title>申請表</title>
          <link rel="stylesheet" href="/uniframework/style/default.css">
          <link rel="stylesheet" href="/uniframework/style/displaytag.css">
          <link rel="stylesheet" href="/uniframework/style/dhtmlxtabbar.css">
          <link rel="stylesheet" href="/uniframework/script/jscalendar/skins/theme.css">
          <script src="/uniframework/script/jscalendar/calendar.js"></script>
          <script src="/uniframework/script/jscalendar/calendar-setup.js"></script>
          <script src="/uniframework/script/jscalendar/calendar-lang.js"></script>
          <script src="/uniframework/script/clientValid.js"></script>
          <script src="/uniframework/script/provider.js"></script>
          <script src="/uniframework/script/enterKeydown.js"></script>
          <script src="/uniframework/script/dhtmlxcommon.js"></script>
          <script src="/uniframework/script/dhtmlxtabbar.js"></script>
          <script src="/uniframework/script/dhtmlxtabbar_start.js"></script>
          <link rel="stylesheet" href="/uniframework/style/buttonMenu.css">
          <script src="/uniframework/script/buttonMenu.js"></script>
          <script src="/uniframework/script/incident_userIncident.js"></script>
          <script src="/uniframework/script/incidentAjax.js"></script>
          <script type='text/javascript' src='/uniframework/dwr/interface/itsmservicelocator.js'></script>
          <script type='text/javascript' src='/uniframework/dwr/engine.js'></script>
          <script type='text/javascript' src='/uniframework/dwr/util.js'></script> 
          <script type="text/javascript">
          /**
           * 清空查詢條件
           */
          function clean(form)
          {
           form.all("model.configApply.NUMBER").value = "";
           form.all("model.configApply.APPLYER_DEPT_NAME").value = "";
           form.all("model.configApply.APPLER").value = "";
          }
          function queryReturn(form,frame)
          {
              frame.name = "iframe1";
              form.target = frame.name;
           form.action="/uniframework/configuration.action?actName=showReturnQuery&info="+currSeleTabId;
           form.submit();
          }

          var currSeleTabId='returning';
          var selectTab="";
          function oninit(tabbarId)
          {
           var tabbar = window[tabbarId];
           selectTab=tabbar;
           tabbar.setOnSelectHandler(seleTable_func);
          }
          function seleTable_func(idn,ido)
          {
           currSeleTabId = idn;
           //alert(idn);
           var form=document.form1;
           var number=form.NUMBER.value;
           var name=form.APPLYER.value;
           var address=form.APPLYER_DEPT_NAME.value;
           var url="/uniframework/configuration.action?actName=showReturnQuery&info="+idn;
           var url1="&model.configApply.number="+number+"&model.configApply.APPLYER="+name+"&model.configApply.APPLYER_DEPT_NAME="+address;
           selectTab.setContentHref(idn,encodeURI(url+url1))
           return true;
          }

          </script>
          </head>


          <body onLoad="form1.NUMBER.focus();">
          <form name="form1" method="post" action="" target="_self">
              <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
               <tr>
              <td width="100%" height="22" valign="top">
               <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="100%" height="22" class=table_title_bg070><span class="text_l14"><img src="/uniframework/images/a01.gif" width="19" height="18"><a class="ameth" href="/uniframework/jsp/provider/moduleHomepage.jsp">資產借用申請</a> &gt;</span></td>
                   <td width="*" valign="top" background="/uniframework/images/table_title_bg070.gif">&nbsp;</td>
                  </tr>
                 </table>
                </td>
               </tr>
           </table><br>
           
           <table width="97%" height="40" border="0" cellspacing="0" cellpadding="0">
            <tr>
               <td>
                 <fieldset class="fieldset" >
                  <legend class="legend"><img src="/uniframework/images/dot12.gif">&nbsp;查詢條件</legend>
                  <table class="fieldsettable" height="30" >
                 <tr height="30">
                  <td class="text17">編號:</td>
                  <td class="text18"><input type="text" class="Input12" id="NUMBER" name="model.configApply.NUMBER" value="<ww:property value = "model.configApply.NUMBER"/>" title="請輸入要查詢的編號"></td>
                  <td class="text19">部門:</td>
                  <td class="text20">   
                      <input name="model.configApply.APPLYER_DEPT_NAME" type="text" class="Input12" id="APPLYER_DEPT_NAME" value="<ww:property value = "model.configApply.APPLYER_DEPT_NAME"/>">
                 </tr>  
                 <tr height="30">
                  <td class="text17">歸還人:</td>
                  <td class="text18" colspan="2">    
                      <input name="model.configApply.APPLYER" type="text" class="Input12" id="APPLYER" value="<ww:property value = "model.configApply.APPLYER"/>">
                    </td>
                 </tr>  
                </table>
                 </fieldset><br>
                 <table width="94%" border="0" cellpadding="0" cellspacing="0">
                  <tr height="70%">
                   <td width="65%" align="right">
                  <button  class="btn3_mouseout btn0"   onclick="queryReturn(form1,document.frames[0])">查 詢</button>
                 </td>
                 <td width="2%"></td>
                          <td width="5%" align="right">
                              <button class="btn3_mouseout btn0" onclick="clean(form1)">重 置</button>
              
                 </td>   
                          <td width="2%"></td>
                          <td width="5%"> 
                    <button  class="btn3_mouseout btn0" onclick="self.location='/uniframework/configuration.action?actName=toAddAssetsReturn'">新 增</button>
                          </td>
                  </tr>
               </table>
             </td>
            </tr>
            <tr>
               <td>
          <table width="100%" border="0" cellpadding="0" cellspacing="0">
              <tr>
               <td>
                       <div hrefmode="iframe" id="a_tabbar" class="dhtmlxTabBar" imgpath="/uniframework/images/dhTabbarImg/" style="width:98%; height:410px;"  skinColors="#FCFBFC,#F4F3EE" oninit="oninit('a_tabbar');">           
                           <div id="returning" width="100" name="歸還中" href="/uniframework/configuration.action?actName=showReturnQuery&info=initreturn" ></div>
                           <div id="returned" width="100" name="已歸還" href="/uniframework/configuration.action?actName=showReturnQuery&info=returned"></div>
                        <div id="no" width="100" name="審批未通過" href="/uniframework/configuration.action?actName=showReturnQuery&info=no"></div>
                        <div id="all" width="100" name="所有" href="/uniframework/configuration.action?actName=showReturnQuery&info=all" ></div>
                       </div>
               </td>
              </tr>
          </table>
             </td>
            </tr>
           </table>
           </form>
          </body>

          </html>

          posted on 2008-08-05 10:37 weesun一米陽光 閱讀(403) 評論(0)  編輯  收藏 所屬分類: AJAX總結備用
          主站蜘蛛池模板: 吴桥县| 滨州市| 博野县| 南靖县| 呼图壁县| 象州县| 泽库县| 宁夏| 慈利县| 延长县| 江川县| 三台县| 鹤峰县| 临沂市| 福州市| 怀来县| 仪陇县| 宿州市| 固原市| 星子县| 东至县| 红河县| 太仓市| 辰溪县| 承德市| 中牟县| 泸西县| 忻州市| 徐州市| 会东县| 堆龙德庆县| 栖霞市| 聂荣县| 舟曲县| 南华县| 江口县| 齐河县| 溧水县| 晋中市| 托里县| 梅州市|