tijian_tieying/web/Web/Office/BookAdd.aspx
2025-02-20 12:14:39 +08:00

147 lines
9.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="BookAdd.aspx.cs" Inherits="Office_BookAdd" %>
<html>
<head>
<title><%=System.Configuration.ConfigurationManager.AppSettings["SYSTitle"]%></title>
<LINK href="../Style/Style.css" type="text/css" rel="STYLESHEET">
<script src="../JS/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<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;">&nbsp;<img src="../images/BanKuaiJianTou.gif" />
<a class="hei" href="../Main/MyDesk.aspx">桌面</a>&nbsp;>>&nbsp;图书管理&nbsp;>>&nbsp;添加图书信息
</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" />&nbsp;
<img class="HerCss" onclick="javascript:window.history.go(-1)" src="../images/Button/BtnExit.jpg" />&nbsp;</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="txtBookName" runat="server" Width="350px"></asp:TextBox>
<img class="HerCss" onclick="var wName;var RadNum=Math.random();wName=window.showModalDialog('../Main/SelectCondition.aspx?TableName=ERPBook&LieName=BookName&Radstr='+RadNum,'','dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');if(wName==null){}else{document.getElementById('txtBookName').value=wName;}" src="../images/Button/search.gif" />
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtBookName" 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="txtBookSerils" runat="server" Width="350px"></asp:TextBox>
<img class="HerCss" onclick="var wName;var RadNum=Math.random();wName=window.showModalDialog('../Main/SelectCondition.aspx?TableName=ERPBook&LieName=BookSerils&Radstr='+RadNum,'','dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');if(wName==null){}else{document.getElementById('txtBookSerils').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="txtSuoShuBuMen" runat="server" Width="350px"></asp:TextBox>
<img class="HerCss" onclick="var wName;var RadNum=Math.random();wName=window.showModalDialog('../Main/SelectDanWei.aspx?TableName=ERPBuMen&LieName=BuMenName&Radstr='+RadNum,'','dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');if(wName==null){}else{document.getElementById('txtSuoShuBuMen').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="txtBookType" runat="server" Width="350px"></asp:TextBox>
<img class="HerCss" onclick="var wName;var RadNum=Math.random();wName=window.showModalDialog('../Main/SelectCondition.aspx?TableName=ERPBook&LieName=BookType&Radstr='+RadNum,'','dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');if(wName==null){}else{document.getElementById('txtBookType').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="txtAuother" runat="server" Width="350px"></asp:TextBox>
<img class="HerCss" onclick="var wName;var RadNum=Math.random();wName=window.showModalDialog('../Main/SelectCondition.aspx?TableName=ERPBook&LieName=Auother&Radstr='+RadNum,'','dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');if(wName==null){}else{document.getElementById('txtAuother').value=wName;}" src="../images/Button/search.gif" />
</td></tr>
<tr>
<td style="width: 170px; height: 25px; background-color: #D6E2F3" align="right">
ISBN号
</td>
<td style="padding-left: 5px; height: 25px; background-color: #ffffff" >
<asp:TextBox id="txtISBN" runat="server" Width="350px"></asp:TextBox>
<img class="HerCss" onclick="var wName;var RadNum=Math.random();wName=window.showModalDialog('../Main/SelectCondition.aspx?TableName=ERPBook&LieName=ISBN&Radstr='+RadNum,'','dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');if(wName==null){}else{document.getElementById('txtISBN').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="txtCoperStr" runat="server" Width="350px"></asp:TextBox>
<img class="HerCss" onclick="var wName;var RadNum=Math.random();wName=window.showModalDialog('../Main/SelectCondition.aspx?TableName=ERPBook&LieName=CoperStr&Radstr='+RadNum,'','dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');if(wName==null){}else{document.getElementById('txtCoperStr').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="txtChuBanDate" runat="server" onClick="WdatePicker({startDate:'%y-%M-01',dateFmt:'yyyy-MM-dd',alwaysUseStartDate:true})" 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="txtCunFangDian" runat="server" Width="350px"></asp:TextBox>
<img class="HerCss" onclick="var wName;var RadNum=Math.random();wName=window.showModalDialog('../Main/SelectCondition.aspx?TableName=ERPBook&LieName=CunFangDian&Radstr='+RadNum,'','dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');if(wName==null){}else{document.getElementById('txtCunFangDian').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="txtShuLiang" 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="txtJiaGe" 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="txtNeiRong" 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:TextBox id="txtNowState" runat="server" Width="350px"></asp:TextBox>
<img class="HerCss" onclick="var wName;var RadNum=Math.random();wName=window.showModalDialog('../Main/SelectCondition.aspx?TableName=ERPBook&LieName=NowState&Radstr='+RadNum,'','dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');if(wName==null){}else{document.getElementById('txtNowState').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="txtBackInfo" runat="server" Width="350px" Height="60px" TextMode="MultiLine"></asp:TextBox></td></tr>
</table>
</div>
</form>
</body>
</html>