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

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="ArticlesInfoEditor.aspx.cs" Inherits="Articles_ArticlesInfoEditor" %>
  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. </head>
  7.   <SCRIPT language="JavaScript" src="js/calendar.js"></SCRIPT>
  8.    <script>
  9.   function GetMyValue(contrlname,myvalue)
  10.   {
  11.    if(typeof(myvalue)=="undefined")
  12.    {}
  13.    else
  14.    {
  15.    document.getElementById(contrlname).value+=myvalue+',';
  16.    }
  17.   }
  18.   function clr(contrlname)
  19.   {
  20.    document.getElementById(contrlname).value='';
  21.   }
  22.   </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="width: 159px">
  34.                 用品名称:</td>
  35.             <td class="usertablerow2">
  36.                 <asp:TextBox ID="KeyValue_YPMC" runat="server" ToolTip="用品名称"  MaxLength="150"></asp:TextBox>
  37.                 用于处于同一层次部门的排序,以及用户列表的排序</td>
  38.         </tr>
  39.         <tr>
  40.             <td class="usertablerow2" align="right" style="width: 159px">
  41.                 用品编码:</td>
  42.             <td class="usertablerow2">
  43.                <asp:TextBox ID="KeyValue_YPBM" runat="server" ToolTip="用品编码"  MaxLength="150"></asp:TextBox>
  44.             </td>
  45.         </tr>
  46.                <tr>
  47.             <td class="usertablerow2" align="right" style="width: 159px; height: 25px;">
  48.                 用品类别:</td>
  49.             <td class="usertablerow2" style="height: 25px">
  50.                 <asp:DropDownList ID="KeyValue_YPLB" runat="server"  >
  51.                     <asp:ListItem Value="0">无</asp:ListItem>
  52.                     <asp:ListItem Value="1">总部</asp:ListItem>
  53.                 </asp:DropDownList></td>
  54.         </tr>
  55.                        <tr>
  56.             <td class="usertablerow2" align="right" style="width: 159px">
  57.                 用品描述:</td>
  58.             <td class="usertablerow2">
  59.                <asp:TextBox ID="KeyValue_YPMS" runat="server" ToolTip="用品描述"  MaxLength="350"></asp:TextBox>
  60.             </td>
  61.         </tr>
  62.         <tr>
  63.             <td class="usertablerow1" style="height: 25px; width: 159px;" align="right">
  64.                 计量单位:</td>
  65.             <td class="usertablerow1" style="height: 25px">
  66.                 <asp:TextBox ID="KeyValue_JLDW" runat="server" ToolTip="计量单位"  MaxLength="50"></asp:TextBox></td>
  67.         </tr>
  68.                                <tr>
  69.             <td class="usertablerow2" align="right" style="width: 159px; height: 26px;">
  70.                 单价:</td>
  71.             <td class="usertablerow2" style="height: 26px">
  72.                 <asp:TextBox ID="KeyValue_DJ" runat="server" ToolTip="单价"  MaxLength="10"></asp:TextBox>&nbsp;(元)</td>
  73.         </tr>
  74.                                        <tr>
  75.             <td class="usertablerow2" align="right" style="width: 159px; height: 29px;">
  76.                 供应商:</td>
  77.             <td class="usertablerow2" style="height: 29px">
  78.             <asp:TextBox ID="KeyValue_GYS" runat="server" ToolTip="供应商"  MaxLength="150"></asp:TextBox>
  79.             </td>
  80.         </tr>
  81.                                                <tr>
  82.             <td class="usertablerow2" align="right" style="width: 159px; height: 29px;">
  83.                 警戒库存:</td>
  84.             <td class="usertablerow2" style="height: 29px">
  85. <asp:TextBox ID="KeyValue_JJKC" runat="server" ToolTip="警戒库存"  MaxLength="4"></asp:TextBox>
  86.             </td>
  87.         </tr>
  88.        <tr>
  89.             <td class="usertablerow2" align="right" style="width: 159px; height: 26px;">
  90.                 当前库存:</td>
  91.             <td class="usertablerow2" style="height: 26px">
  92.               <asp:TextBox ID="KeyValue_DQKC" runat="server" ToolTip="当前库存"  MaxLength="4"></asp:TextBox></td>
  93.         </tr>
  94.                <tr>
  95.             <td class="usertablerow2" align="right" style="width: 159px; height: 29px;">
  96.                 创建人:</td>
  97.             <td class="usertablerow2" style="height: 29px">
  98.             <asp:TextBox ID="KeyValue_CJR" runat="server" ToolTip="创建人"  MaxLength="50"></asp:TextBox></td>
  99.         </tr>
  100.                <tr>
  101.             <td class="usertablerow2" align="right" style="width: 159px; height: 31px;">
  102.                 登记权限(用户):</td>
  103.             <td class="usertablerow2" style="height: 31px">
  104.                 <asp:TextBox ID="KeyValue_DJQX" runat="server" ToolTip="登记权限(用户)"  MaxLength="16"></asp:TextBox>
  105.                   <input type="Button" id="Leader2Button1"  Class="ptsbutton" onclick="GetMyValue('KeyValue_DJQX',window.showModalDialog('../SelectForm/SelectUserForm.aspx'))" value="添加"  />
  106.                                          <input type="Button"  Class="ptsbutton" value="清空" onclick="clr('KeyValue_DJQX')" /></td>
  107.         </tr>
  108.  <%--              <tr>
  109.             <td class="usertablerow2" align="right" style="width: 159px; height: 32px;">
  110.                 登记权限(部门):</td>
  111.             <td class="usertablerow2" style="height: 32px">
  112.                 <input type="text" id="Text9" value ="" width="100px" style="width: 210px; height: 28px" />
  113.                 <input id="Button1" class="ptsbutton" type="button" value="添加" />
  114.                 <input class="ptsbutton" onclick="window.location='CardManager.aspx'" type="button"
  115.                     value="清空" />(选填)</td>
  116.         </tr>--%>
  117.           <td align="center" class="usertablerow1" colspan="2">
  118.                       &nbsp;&nbsp;
  119.                 <asp:Button ID="Button1" runat="server" CssClass="ptsbutton" OnClick="Button1_Click"
  120.                     Text="更新" />
  121.                         &nbsp;&nbsp;
  122.                         <input type="Button"  Class="ptsbutton" value="返回" OnClick="window.location='ArticlesInfoManager.aspx'" /><div id="Div2">
  123.                                 </div>   </td>
  124.      
  125.     </table>
  126.     <br>
  127.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  128.         border="0">
  129.         <tr>
  130.             <th colspan="2">
  131.                 使用方法</th>
  132.         </tr>
  133.         <tr>
  134.             <td class="usertablerow1" align="right" width="11%">
  135.                 <strong>特殊说明</strong></td>
  136.             <td class="usertablerow1" width="89%">
  137.                 <a href="http://www.woying.net/" target="_blank">挨个填写即可</a></td>
  138.         </tr>
  139.     </table>
  140.     </form>
  141.     
  142. </body>
  143. </html>