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

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="EntertainAdd.aspx.cs" Inherits="Entertain_EntertainAdd" %>
  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: 93px" align="right">
  38.                             接待类别:</td>
  39.                         <td class="usertablerow2" style="width: 277px">
  40.                             <asp:DropDownList ID="KeyValue_JDLB" runat="server" Width="90px" AutoPostBack="True" OnSelectedIndexChanged="KeyValue_JDLB_SelectedIndexChanged"></asp:DropDownList>
  41.                         </td>
  42.                     </tr>
  43.                                <tr>
  44.                         <td class="usertablerow2" style="width: 93px" align="right">
  45.                             详细类别:</td>
  46.                         <td class="usertablerow2" style="width: 277px">
  47.                             <asp:DropDownList ID="KeyValue_XXLB" runat="server" Width="90px" Enabled="False"></asp:DropDownList>
  48.                         </td>
  49.                     </tr>
  50.                        <tr>
  51.                         <td class="usertablerow2" style="width: 93px" align="right">
  52.                             被接待者姓名:</td>
  53.                         <td class="usertablerow2" style="width: 277px">
  54.                             <asp:TextBox ID="KeyValue_BJDZXM" runat="server" MaxLength="150" ToolTip="用品名称" Width="150px"></asp:TextBox><input type="Button" id="Leader2Button1"  Class="ptsbutton" onclick="GetMyValue('KeyValue_BJDZXM',window.showModalDialog('../SelectForm/SelectUserForm.aspx'))" value="添加"  />
  55.                             <input type="Button"  Class="ptsbutton" value="清空" onclick="clr('KeyValue_BJDZXM')" />
  56.                         </td>
  57.                     </tr>
  58. <%--                                  <tr>
  59.                         <td class="usertablerow2" style="width: 93px" align="right">
  60.                             接待者姓名:</td>
  61.                         <td class="usertablerow2" style="width: 277px">
  62.                             <asp:TextBox ID="TextBox1" runat="server" MaxLength="150" ToolTip="用品名称" Width="150px"></asp:TextBox>
  63.                             <input type="Button" id="Button1"  Class="ptsbutton" onclick="GetMyValue('TextBox1',window.showModalDialog('../SelectForm/SelectUserForm.aspx'))" value="添加"  />
  64.                             <input type="Button"  Class="ptsbutton" value="清空" onclick="clr('TextBox1')" />
  65.                         </td>
  66.                     </tr>--%>
  67.                          <tr>
  68.                         <td class="usertablerow2" style="width: 93px; height: 25px;" align="right">
  69.                             发生时间:</td>
  70.                         <td class="usertablerow2" style="width: 277px; height: 25px;">
  71.                             <asp:TextBox ID="KeyValue_FSRQ" runat="server" onblur="IsDate(this)" onclick="calendar()" MaxLength="20" Width="150px"></asp:TextBox>
  72.                             <img align="absMiddle" border="0" src="../images/calendar.gif" style="cursor: hand" />  
  73.                             <img src="../images/clock.gif" />&nbsp;</td>
  74.                     </tr>
  75.                                 <tr>
  76.                         <td class="usertablerow2" style="width: 93px; height: 52px;" align="right">
  77.                             备注:</td>
  78.                         <td class="usertablerow2" style="width: 277px; height: 52px;">
  79.                             <asp:TextBox ID="KeyValue_BZ" runat="server" Height="43px" MaxLength="150" TextMode="MultiLine"
  80.                                 ToolTip="用品名称" Width="232px"></asp:TextBox></td>
  81.                     </tr>
  82.                     </table>
  83.                 <br />
  84.                 
  85.          
  86.             </td>
  87.         </tr>
  88.         <tr>
  89.             <td align="center" class="usertablerow1" colspan="2">
  90.                 &nbsp; &nbsp;<asp:Button ID="Button1" runat="server" CssClass="ptsbutton" OnClick="Button1_Click"
  91.                     Text="添加" />
  92.                         &nbsp;&nbsp;
  93.                         <input type="Button"  Class="ptsbutton" value="返回" OnClick="window.location='EntertainManager.aspx'" /><div id="Div2">
  94.                                 </div>   </td>
  95.          
  96.         </tr>
  97.      
  98.     </table>
  99.     <br>
  100.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  101.         border="0">
  102.         <tr>
  103.             <th colspan="2">
  104.                 使用方法</th>
  105.         </tr>
  106.         <tr>
  107.             <td class="usertablerow1" align="right" width="11%">
  108.                 <strong>特殊说明</strong></td>
  109.             <td class="usertablerow1" width="89%">
  110.                 <a href="http://www.woying.net/" target="_blank">挨个填写即可</a></td>
  111.         </tr>
  112.     </table>
  113.     </form>
  114.     
  115. </body>
  116. </html>