- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="DutyAdd.aspx.cs" Inherits="Dutys_DutyAdd" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <html>
- <head>
- <link href="../css/main.css" type="text/css" rel="stylesheet">
- <script type="text/javascript">
- function GetMyValue(contrlname,myvalue)
- {
- if(typeof(myvalue)=="undefined")
- {}
- else
- {
- document.getElementById(contrlname).value+=myvalue+',';
- }
- }
- function clr(contrlname)
- {
- document.getElementById(contrlname).value='';
- }
- </script>
- </head>
- <SCRIPT language="JavaScript" src="../js/calendar.js"></SCRIPT>
- <body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
- <form runat="server" id="fm1">
- <br>
- <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
- border="0">
- <tr>
- <th colspan="3" style="height: 25px">
- 值班安排</th>
- </tr>
- <tr>
- <td class="usertablerow2" align="right" style="height: 32px;" colspan="2">
- <table align="center" bgcolor="#000000" border="0" cellpadding="3" cellspacing="1"
- class="small" style="width: 640px">
- <tr>
- <td class="usertablerow2" style="width: 61px" align="right">
- 值班类别:</td>
- <td class="usertablerow2" style="width: 277px">
- <asp:DropDownList ID="KeyValue_ZBLB" runat="server">
- </asp:DropDownList></td>
- </tr>
- <tr>
- <td class="usertablerow2" style="width: 61px" align="right">
- 值班人员:</td>
- <td class="usertablerow2" style="width: 277px">
- <asp:TextBox ID="KeyValue_ZBRY" runat="server" MaxLength="150" ToolTip="用品编码" Width="152px"></asp:TextBox>
- <input type="Button" id="Leader2Button1" Class="ptsbutton" onclick="GetMyValue('KeyValue_ZBRY',window.showModalDialog('../SelectForm/SelectUserForm.aspx'))" value="添加" />
- <input type="Button" Class="ptsbutton" value="清空" onclick="clr('KeyValue_ZBRY')" /></td>
- </tr>
- <tr>
- <td class="usertablerow2" style="width: 61px; height: 25px;" align="right">
- 值班时间:</td>
- <td class="usertablerow2" style="width: 277px; height: 25px;">
- <asp:TextBox ID="KeyValue_ZBKSSJ" runat="server" CssClass="BigInput" ToolTip="起始日期" MaxLength="20" onblur="IsDate(this)" onclick="calendar()" Width="152px"></asp:TextBox>
- <img align="absMiddle" border="0" src="../images/calendar.gif" style="cursor: hand" />
- <img src="../images/clock.gif" /><br />
- 至<br />
- <asp:TextBox ID="KeyValue_ZBJSSJ" runat="server" CssClass="BigInput" ToolTip="起始日期" MaxLength="20" onblur="IsDate(this)" onclick="calendar()" Width="152px"></asp:TextBox>
- <img align="absMiddle" border="0" src="../images/calendar.gif" style="cursor: hand" />
- <img src="../images/clock.gif" /></td>
- </tr>
- <tr>
- <td class="usertablerow2" style="width: 61px; height: 52px;" align="right">
- 备注:</td>
- <td class="usertablerow2" style="width: 277px; height: 52px;">
- <asp:TextBox ID="KeyValue_BZ" runat="server" Height="42px" MaxLength="150" TextMode="MultiLine"
- ToolTip="用品编码" Width="231px"></asp:TextBox></td>
- </tr>
- </table>
- <br />
- </td>
- </tr>
- <tr>
- <td align="center" class="usertablerow1" colspan="2">
- <asp:Button ID="Button1" runat="server" CssClass="ptsbutton" OnClick="Button1_Click"
- Text="添加" />
-
- <input type="Button" Class="ptsbutton" value="返回" OnClick="window.location='DutysManager.aspx'" /><div id="Div2">
- </div> </td>
- </tr>
- </table>
- <br>
- <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
- border="0">
- <tr>
- <th colspan="2">
- 使用方法</th>
- </tr>
- <tr>
- <td class="usertablerow1" align="right" width="11%">
- <strong>特殊说明</strong></td>
- <td class="usertablerow1" width="89%">
- <a href="http://www.woying.net/" target="_blank">挨个填写即可</a></td>
- </tr>
- </table>
- </form>
- </body>
- </html>