- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="ArticlesInfoEditor.aspx.cs" Inherits="Articles_ArticlesInfoEditor" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <html>
- <head>
- <link href="../css/main.css" type="text/css" rel="stylesheet">
- </head>
- <SCRIPT language="JavaScript" src="js/calendar.js"></SCRIPT>
- <script>
- function GetMyValue(contrlname,myvalue)
- {
- if(typeof(myvalue)=="undefined")
- {}
- else
- {
- document.getElementById(contrlname).value+=myvalue+',';
- }
- }
- function clr(contrlname)
- {
- document.getElementById(contrlname).value='';
- }
- </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="width: 159px">
- 用品名称:</td>
- <td class="usertablerow2">
- <asp:TextBox ID="KeyValue_YPMC" runat="server" ToolTip="用品名称" MaxLength="150"></asp:TextBox>
- 用于处于同一层次部门的排序,以及用户列表的排序</td>
- </tr>
- <tr>
- <td class="usertablerow2" align="right" style="width: 159px">
- 用品编码:</td>
- <td class="usertablerow2">
- <asp:TextBox ID="KeyValue_YPBM" runat="server" ToolTip="用品编码" MaxLength="150"></asp:TextBox>
- </td>
- </tr>
- <tr>
- <td class="usertablerow2" align="right" style="width: 159px; height: 25px;">
- 用品类别:</td>
- <td class="usertablerow2" style="height: 25px">
- <asp:DropDownList ID="KeyValue_YPLB" runat="server" >
- <asp:ListItem Value="0">无</asp:ListItem>
- <asp:ListItem Value="1">总部</asp:ListItem>
- </asp:DropDownList></td>
- </tr>
- <tr>
- <td class="usertablerow2" align="right" style="width: 159px">
- 用品描述:</td>
- <td class="usertablerow2">
- <asp:TextBox ID="KeyValue_YPMS" runat="server" ToolTip="用品描述" MaxLength="350"></asp:TextBox>
- </td>
- </tr>
- <tr>
- <td class="usertablerow1" style="height: 25px; width: 159px;" align="right">
- 计量单位:</td>
- <td class="usertablerow1" style="height: 25px">
- <asp:TextBox ID="KeyValue_JLDW" runat="server" ToolTip="计量单位" MaxLength="50"></asp:TextBox></td>
- </tr>
- <tr>
- <td class="usertablerow2" align="right" style="width: 159px; height: 26px;">
- 单价:</td>
- <td class="usertablerow2" style="height: 26px">
- <asp:TextBox ID="KeyValue_DJ" runat="server" ToolTip="单价" MaxLength="10"></asp:TextBox> (元)</td>
- </tr>
- <tr>
- <td class="usertablerow2" align="right" style="width: 159px; height: 29px;">
- 供应商:</td>
- <td class="usertablerow2" style="height: 29px">
- <asp:TextBox ID="KeyValue_GYS" runat="server" ToolTip="供应商" MaxLength="150"></asp:TextBox>
- </td>
- </tr>
- <tr>
- <td class="usertablerow2" align="right" style="width: 159px; height: 29px;">
- 警戒库存:</td>
- <td class="usertablerow2" style="height: 29px">
- <asp:TextBox ID="KeyValue_JJKC" runat="server" ToolTip="警戒库存" MaxLength="4"></asp:TextBox>
- </td>
- </tr>
- <tr>
- <td class="usertablerow2" align="right" style="width: 159px; height: 26px;">
- 当前库存:</td>
- <td class="usertablerow2" style="height: 26px">
- <asp:TextBox ID="KeyValue_DQKC" runat="server" ToolTip="当前库存" MaxLength="4"></asp:TextBox></td>
- </tr>
- <tr>
- <td class="usertablerow2" align="right" style="width: 159px; height: 29px;">
- 创建人:</td>
- <td class="usertablerow2" style="height: 29px">
- <asp:TextBox ID="KeyValue_CJR" runat="server" ToolTip="创建人" MaxLength="50"></asp:TextBox></td>
- </tr>
- <tr>
- <td class="usertablerow2" align="right" style="width: 159px; height: 31px;">
- 登记权限(用户):</td>
- <td class="usertablerow2" style="height: 31px">
- <asp:TextBox ID="KeyValue_DJQX" runat="server" ToolTip="登记权限(用户)" MaxLength="16"></asp:TextBox>
- <input type="Button" id="Leader2Button1" Class="ptsbutton" onclick="GetMyValue('KeyValue_DJQX',window.showModalDialog('../SelectForm/SelectUserForm.aspx'))" value="添加" />
- <input type="Button" Class="ptsbutton" value="清空" onclick="clr('KeyValue_DJQX')" /></td>
- </tr>
- <%-- <tr>
- <td class="usertablerow2" align="right" style="width: 159px; height: 32px;">
- 登记权限(部门):</td>
- <td class="usertablerow2" style="height: 32px">
- <input type="text" id="Text9" value ="" width="100px" style="width: 210px; height: 28px" />
- <input id="Button1" class="ptsbutton" type="button" value="添加" />
- <input class="ptsbutton" onclick="window.location='CardManager.aspx'" type="button"
- value="清空" />(选填)</td>
- </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='ArticlesInfoManager.aspx'" /><div id="Div2">
- </div> </td>
- </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>