139 lines
8.9 KiB
Plaintext
139 lines
8.9 KiB
Plaintext
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="OfficeAdd.aspx.cs" Inherits="Office_OfficeAdd" %>
|
|
<html>
|
|
<head>
|
|
<title><%=System.Configuration.ConfigurationManager.AppSettings["SYSTitle"]%></title>
|
|
<LINK href="../Style/Style.css" type="text/css" rel="STYLESHEET">
|
|
<script language="javascript">
|
|
function PrintTable()
|
|
{
|
|
document.getElementById("PrintHide") .style.visibility="hidden"
|
|
print();
|
|
document.getElementById("PrintHide") .style.visibility="visible"
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<form id="form1" runat="server">
|
|
<div>
|
|
<table id="PrintHide" style="width: 100%" border="0" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td valign="middle" style="border-bottom: #006633 1px dashed; height: 30px;"> <img src="../images/BanKuaiJianTou.gif" />
|
|
<a class="hei" href="../Main/MyDesk.aspx">桌面</a> >> 办公用品 >> 添加信息
|
|
</td>
|
|
<td align="right" valign="middle" style="border-bottom: #006633 1px dashed; height: 30px;">
|
|
<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/Button/Submit.jpg"
|
|
OnClick="ImageButton1_Click" />
|
|
<img src="../images/Button/JianGe.jpg" />
|
|
<img class="HerCss" onclick="javascript:window.history.go(-1)" src="../images/Button/BtnExit.jpg" /> </td>
|
|
</tr>
|
|
<tr>
|
|
<td height="3px" colspan="2" style="background-color: #ffffff"></td>
|
|
</tr>
|
|
</table>
|
|
<table style="width: 100%" bgcolor="#999999" border="0" cellpadding="2" cellspacing="1">
|
|
<tr>
|
|
<td style="width: 170px; height: 25px; background-color: #D6E2F3" align="right">
|
|
办公用品名称:
|
|
</td>
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff" >
|
|
<asp:TextBox id="txtOfficeName" runat="server" Width="350px"></asp:TextBox>
|
|
<img class="HerCss" onclick="var wName;var RadNum=Math.random();wName=window.showModalDialog('../Main/SelectCondition.aspx?TableName=ERPOffice&LieName=OfficeName&Radstr='+RadNum,'','dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');if(wName==null){}else{document.getElementById('txtOfficeName').value=wName;}" src="../images/Button/search.gif" />
|
|
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtOfficeName" ErrorMessage="*该项不可以为空"></asp:RequiredFieldValidator>
|
|
</td></tr>
|
|
<tr>
|
|
<td style="width: 170px; height: 25px; background-color: #D6E2F3" align="right">
|
|
办公用品描述:
|
|
</td>
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff" >
|
|
<asp:TextBox id="txtMiaoShu" runat="server" Width="350px" Height="60px" TextMode="MultiLine"></asp:TextBox></td></tr>
|
|
<tr>
|
|
<td style="width: 170px; height: 25px; background-color: #D6E2F3" align="right">
|
|
附件上传:
|
|
</td>
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff" >
|
|
<asp:CheckBoxList ID="CheckBoxList1" runat="server" RepeatColumns="4" RepeatDirection="Horizontal">
|
|
</asp:CheckBoxList> <asp:ImageButton ID="ImageButton3" runat="server" CausesValidation="False"
|
|
ImageAlign="AbsMiddle" ImageUrl="../images/Button/DelFile.jpg" OnClick="ImageButton3_Click" />
|
|
|
|
<asp:ImageButton ID="ImageButton4" runat="server" CausesValidation="False" ImageAlign="AbsMiddle"
|
|
ImageUrl="~/images/Button/ReadFile.gif" OnClick="ImageButton4_Click" />
|
|
|
|
<asp:ImageButton ID="ImageButton5" runat="server" CausesValidation="False" ImageAlign="AbsMiddle"
|
|
ImageUrl="~/images/Button/EditFile.gif" OnClick="ImageButton5_Click" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right" style="width: 170px; height: 25px; background-color: #D6E2F3">
|
|
上传附件:</td>
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff">
|
|
<asp:FileUpload ID="FileUpload1" runat="server" Width="350px" />
|
|
<asp:ImageButton ID="ImageButton2" runat="server" CausesValidation="False" ImageAlign="AbsMiddle"
|
|
ImageUrl="../images/Button/UpLoad.jpg" OnClick="ImageButton2_Click" />
|
|
</td></tr>
|
|
<tr>
|
|
<td style="width: 170px; height: 25px; background-color: #D6E2F3" align="right">
|
|
办公用品类别:
|
|
</td>
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff" >
|
|
<asp:TextBox id="txtTypeStr" runat="server" Width="350px"></asp:TextBox>
|
|
<img class="HerCss" onclick="var wName;var RadNum=Math.random();wName=window.showModalDialog('../Main/SelectCondition.aspx?TableName=ERPOffice&LieName=TypeStr&Radstr='+RadNum,'','dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');if(wName==null){}else{document.getElementById('txtTypeStr').value=wName;}" src="../images/Button/search.gif" />
|
|
</td></tr>
|
|
<tr>
|
|
<td style="width: 170px; height: 25px; background-color: #D6E2F3" align="right">
|
|
办公用品编码:
|
|
</td>
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff" >
|
|
<asp:TextBox id="txtSerils" runat="server" Width="350px"></asp:TextBox>
|
|
<img class="HerCss" onclick="var wName;var RadNum=Math.random();wName=window.showModalDialog('../Main/SelectCondition.aspx?TableName=ERPOffice&LieName=Serils&Radstr='+RadNum,'','dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');if(wName==null){}else{document.getElementById('txtSerils').value=wName;}" src="../images/Button/search.gif" />
|
|
</td></tr>
|
|
<tr>
|
|
<td style="width: 170px; height: 25px; background-color: #D6E2F3" align="right">
|
|
计量单位:
|
|
</td>
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff" >
|
|
<asp:TextBox id="txtDanWei" runat="server" Width="350px"></asp:TextBox>
|
|
<img class="HerCss" onclick="var wName;var RadNum=Math.random();wName=window.showModalDialog('../Main/SelectCondition.aspx?TableName=ERPOffice&LieName=DanWei&Radstr='+RadNum,'','dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');if(wName==null){}else{document.getElementById('txtDanWei').value=wName;}" src="../images/Button/search.gif" />
|
|
</td></tr>
|
|
<tr>
|
|
<td style="width: 170px; height: 25px; background-color: #D6E2F3" align="right">
|
|
单价:
|
|
</td>
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff" >
|
|
<asp:TextBox id="txtDanJia" runat="server" Width="350px"></asp:TextBox>元</td></tr>
|
|
<tr>
|
|
<td style="width: 170px; height: 25px; background-color: #D6E2F3" align="right">
|
|
供应商:
|
|
</td>
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff" >
|
|
<asp:TextBox id="txtGongYingShang" runat="server" Width="350px"></asp:TextBox>
|
|
<img class="HerCss" onclick="var wName;var RadNum=Math.random();wName=window.showModalDialog('../Main/SelectCondition.aspx?TableName=ERPOffice&LieName=GongYingShang&Radstr='+RadNum,'','dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');if(wName==null){}else{document.getElementById('txtGongYingShang').value=wName;}" src="../images/Button/search.gif" />
|
|
</td></tr>
|
|
<tr>
|
|
<td style="width: 170px; height: 25px; background-color: #D6E2F3" align="right">
|
|
最低警戒库存:
|
|
</td>
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff" >
|
|
<asp:TextBox id="txtMinNum" runat="server" Width="350px"></asp:TextBox>
|
|
<img class="HerCss" onclick="var wName;var RadNum=Math.random();wName=window.showModalDialog('../Main/SelectCondition.aspx?TableName=ERPOffice&LieName=MinNum&Radstr='+RadNum,'','dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');if(wName==null){}else{document.getElementById('txtMinNum').value=wName;}" src="../images/Button/search.gif" />
|
|
</td></tr>
|
|
<tr>
|
|
<td style="width: 170px; height: 25px; background-color: #D6E2F3" align="right">
|
|
最高警戒库存:
|
|
</td>
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff" >
|
|
<asp:TextBox id="txtMaxNum" runat="server" Width="350px"></asp:TextBox>
|
|
<img class="HerCss" onclick="var wName;var RadNum=Math.random();wName=window.showModalDialog('../Main/SelectCondition.aspx?TableName=ERPOffice&LieName=MaxNum&Radstr='+RadNum,'','dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');if(wName==null){}else{document.getElementById('txtMaxNum').value=wName;}" src="../images/Button/search.gif" />
|
|
</td></tr>
|
|
<tr>
|
|
<td style="width: 170px; height: 25px; background-color: #D6E2F3" align="right">
|
|
当前库存:
|
|
</td>
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff" >
|
|
<asp:TextBox id="txtNowNum" runat="server" Width="350px"></asp:TextBox>
|
|
<img class="HerCss" onclick="var wName;var RadNum=Math.random();wName=window.showModalDialog('../Main/SelectCondition.aspx?TableName=ERPOffice&LieName=NowNum&Radstr='+RadNum,'','dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');if(wName==null){}else{document.getElementById('txtNowNum').value=wName;}" src="../images/Button/search.gif" />
|
|
</td></tr>
|
|
</table>
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html>
|