DutyAdd.aspx
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:5k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="DutyAdd.aspx.cs" Inherits="Dutys_DutyAdd" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  3. <html>
  4. <head>
  5.     <link href="../css/main.css" type="text/css" rel="stylesheet">
  6.     <script type="text/javascript">
  7.         function GetMyValue(contrlname,myvalue)
  8.         {
  9.             if(typeof(myvalue)=="undefined")
  10.             {}
  11.             else
  12.             {
  13.                 document.getElementById(contrlname).value+=myvalue+',';
  14.             }
  15.         }
  16.         function clr(contrlname)
  17.         {
  18.             document.getElementById(contrlname).value='';
  19.         }
  20.   </script>
  21. </head>
  22.   <SCRIPT language="JavaScript" src="../js/calendar.js"></SCRIPT>
  23. <body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
  24. <form runat="server" id="fm1">
  25.     <br>
  26.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  27.         border="0">
  28.         <tr>
  29.             <th colspan="3" style="height: 25px">
  30.                 值班安排</th>
  31.         </tr>
  32.                <tr>
  33.             <td class="usertablerow2" align="right" style="height: 32px;" colspan="2">
  34.                 <table align="center" bgcolor="#000000" border="0" cellpadding="3" cellspacing="1"
  35.                     class="small" style="width: 640px">
  36.                     <tr>
  37.                         <td class="usertablerow2" style="width: 61px" align="right">
  38.                             值班类别:</td>
  39.                         <td class="usertablerow2" style="width: 277px">
  40.                             <asp:DropDownList ID="KeyValue_ZBLB" runat="server">
  41.                             </asp:DropDownList></td>
  42.                     </tr>
  43.                        <tr>
  44.                         <td class="usertablerow2" style="width: 61px" align="right">
  45.                             值班人员:</td>
  46.                         <td class="usertablerow2" style="width: 277px">
  47.                             <asp:TextBox ID="KeyValue_ZBRY" runat="server" MaxLength="150" ToolTip="用品编码" Width="152px"></asp:TextBox>
  48.                             <input type="Button" id="Leader2Button1"  Class="ptsbutton" onclick="GetMyValue('KeyValue_ZBRY',window.showModalDialog('../SelectForm/SelectUserForm.aspx'))" value="添加"  />
  49.                             <input type="Button"  Class="ptsbutton" value="清空" onclick="clr('KeyValue_ZBRY')" /></td>
  50.                     </tr>
  51.                          <tr>
  52.                         <td class="usertablerow2" style="width: 61px; height: 25px;" align="right">
  53.                             值班时间:</td>
  54.                         <td class="usertablerow2" style="width: 277px; height: 25px;">
  55.                             <asp:TextBox ID="KeyValue_ZBKSSJ" runat="server" CssClass="BigInput" ToolTip="起始日期"  MaxLength="20" onblur="IsDate(this)" onclick="calendar()" Width="152px"></asp:TextBox>
  56.                             <img align="absMiddle" border="0" src="../images/calendar.gif" style="cursor: hand" />
  57.                             <img src="../images/clock.gif" /><br />
  58.                             至<br />
  59.                             <asp:TextBox ID="KeyValue_ZBJSSJ" runat="server" CssClass="BigInput" ToolTip="起始日期"  MaxLength="20" onblur="IsDate(this)" onclick="calendar()" Width="152px"></asp:TextBox>
  60.                             <img align="absMiddle" border="0" src="../images/calendar.gif" style="cursor: hand" />
  61.                             <img src="../images/clock.gif" /></td>
  62.                     </tr>
  63.                                 <tr>
  64.                         <td class="usertablerow2" style="width: 61px; height: 52px;" align="right">
  65.                             备注:</td>
  66.                         <td class="usertablerow2" style="width: 277px; height: 52px;">
  67.                             <asp:TextBox ID="KeyValue_BZ" runat="server" Height="42px" MaxLength="150" TextMode="MultiLine"
  68.                                 ToolTip="用品编码" Width="231px"></asp:TextBox></td>
  69.                     </tr>
  70.                     </table>
  71.                 <br />
  72.                 
  73.          
  74.             </td>
  75.         </tr>
  76.         <tr>
  77.             <td align="center" class="usertablerow1" colspan="2">
  78.                 &nbsp; &nbsp;<asp:Button ID="Button1" runat="server" CssClass="ptsbutton" OnClick="Button1_Click"
  79.                     Text="添加" />
  80.                         &nbsp;&nbsp;
  81.                         <input type="Button"  Class="ptsbutton" value="返回" OnClick="window.location='DutysManager.aspx'" /><div id="Div2">
  82.                                 </div>   </td>
  83.          
  84.         </tr>
  85.      
  86.     </table>
  87.     <br>
  88.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  89.         border="0">
  90.         <tr>
  91.             <th colspan="2">
  92.                 使用方法</th>
  93.         </tr>
  94.         <tr>
  95.             <td class="usertablerow1" align="right" width="11%">
  96.                 <strong>特殊说明</strong></td>
  97.             <td class="usertablerow1" width="89%">
  98.                 <a href="http://www.woying.net/" target="_blank">挨个填写即可</a></td>
  99.         </tr>
  100.     </table>
  101.     </form>
  102.     
  103. </body>
  104. </html>