📄 updatacard.aspx
字号:
<%@ Page CodeBehind="updatacard.aspx.vb" Language="vb" AutoEventWireup="false" Inherits="junjun.updatacard" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<title>增加设备数据</title>
<script language="javaScript">
<!--
//全部重填
function btnResetClick()
{
window.document.form1.equipmentnametxt.value = "";
window.document.form1.equipmentnumbertxt.value = "";
window.document.form1.standerdtxt.value = "";
window.document.form1.makeshoptxt.value = "";
window.document.form1.makenumbertxt.value = "";
window.document.form1.equitpmentnumbertxt.value = "";
window.document.form1.pricetxt.value = "";
window.document.form1.pricesourcetxt.value = "";
window.document.form1.placedownlist.value = "";
window.document.form1.cardnumbertxt.value = "";
window.document.form1.yeardropdownlist.value = "";
window.document.form1.useunitdownlist.value = "";
window.document.form1.uesyeardatedownlist.value = "";
window.document.form1.useperontxt.value = "";
window.document.form1.backyeardatedownlist.value = "";
window.document.form1.backperontxt.value = "";
window.document.form1.lbmsg.value = "";
}
function exit()
{
window.parent.returnValue = document.form1.lbmsg.value;
window.close();
}
-->
</script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<style type="text/css">.style1 { FONT-WEIGHT: bold; FONT-SIZE: 18px }
.style2 { FONT-SIZE: 18px }
BODY { BACKGROUND-IMAGE: url(../images/asd027.jpg) }
</style>
</HEAD>
<body leftMargin="0" topMargin="0" id="MyBody" runat="server">
<form id="form1" runat="server">
<table height="300" cellSpacing="0" cellPadding="0" width="770" border="1">
<tr>
<td align="center" colSpan="2">
<div class="style2"><strong>中国地质大学(武汉)设备卡</strong></div>
</td>
</tr>
<tr>
<td width="43%">设备名称: <input id="equipmentnametxt" type="text" runat="server">
<asp:requiredfieldvalidator id="regularexpressionvalidator1" runat="server" ErrorMessage="必填" Display="Dynamic"
ControlToValidate="equipmentnametxt"></asp:requiredfieldvalidator></td>
<td width="57%">型号: <input id="equipmentnumbertxt" type="text" runat="server">
<asp:requiredfieldvalidator id="regularexpressionvalidator2" runat="server" ErrorMessage="必填" Display="Dynamic"
ControlToValidate="equipmentnumbertxt"></asp:requiredfieldvalidator></td>
</tr>
<tr>
<td>规格: <input id="standerdtxt" type="text" runat="server">
</td>
<td>生产厂家: <input id="makeshoptxt" type="text" runat="server">
<asp:requiredfieldvalidator id="regularexpressionvalidator4" runat="server" ErrorMessage="必填" Display="Dynamic"
ControlToValidate="makeshoptxt"></asp:requiredfieldvalidator></td>
</tr>
<tr>
<td>制造号: <input id="makenumbertxt" type="text" runat="server">
<asp:regularexpressionvalidator id="RegValtxt1" runat="server" ErrorMessage="只能输入数字" Display="Dynamic" ControlToValidate="makenumbertxt"
ValidationExpression="[0-9]{1,10}"></asp:regularexpressionvalidator></td>
<td>设备编号: <input id="equitpmentnumbertxt" type="text" runat="server">
<asp:requiredfieldvalidator id="regularexpressionvalidator3" runat="server" ErrorMessage="必填" Display="Dynamic"
ControlToValidate="equitpmentnumbertxt"></asp:requiredfieldvalidator><asp:regularexpressionvalidator id="RegValtxt2" runat="server" ErrorMessage="只能输入数字,8位数字" Display="Dynamic" ControlToValidate="equitpmentnumbertxt"
ValidationExpression="[0-9]{8,8}"></asp:regularexpressionvalidator></td>
</tr>
<tr>
<td>单价(元):<input id="pricetxt" type="text" runat="server" size="17">
<asp:requiredfieldvalidator id="regularexpressionvalidator6" runat="server" ErrorMessage="必填" Display="Dynamic"
ControlToValidate="pricetxt"></asp:requiredfieldvalidator><asp:regularexpressionvalidator id="RegularExpressionValidator5" runat="server" ErrorMessage="请输入价格" Display="Dynamic"
ControlToValidate="pricetxt" ValidationExpression="\d+[.]?\d?\d?"></asp:regularexpressionvalidator></td>
<td>资金来源: <input id="pricesourcetxt" type="text" runat="server">
<asp:requiredfieldvalidator id="regularexpressionvalidator8" runat="server" ErrorMessage="必填" Display="Dynamic"
ControlToValidate="pricesourcetxt"></asp:requiredfieldvalidator></td>
</tr>
<tr>
<td>存放地点: <input id="placedownlist" tabIndex="9" type="text" runat="server">
</td>
<td>凭证号: <input id="cardnumbertxt" type="text" runat="server">
<asp:requiredfieldvalidator id="regularexpressionvalidator7" runat="server" ErrorMessage="必填" Display="Dynamic"
ControlToValidate="cardnumbertxt"></asp:requiredfieldvalidator><asp:regularexpressionvalidator id="RegValtxt4" runat="server" ErrorMessage="只能输入数字,8位数字" Display="Dynamic" ControlToValidate="cardnumbertxt"
ValidationExpression="[0-9]{8,8}"></asp:regularexpressionvalidator></td>
</tr>
<tr>
<td colSpan="2">购置日期: <input id="yeardropdownlist" tabIndex="10" type="text" runat="server">
</td>
</tr>
</table>
<table height="120" cellSpacing="0" cellPadding="0" width="770" border="1">
<tr>
<td colSpan="5">
<div class="style2" align="center"><strong>使用及转签情况记录 分类号:03170000 </strong>
</div>
</td>
</tr>
<tr>
<td align="center" width="20%">使用单位
</td>
<td align="center" width="25%">领用日期
</td>
<td align="center" width="15%">领用经手人
</td>
<td align="center" width="25%">回收日期
</td>
<td align="center" width="15%">回收经手人
</td>
</tr>
<tr>
<td align="center"><input id="useunitdownlist" type="text" size="14" runat="server">
</td>
<td align="center"><input id="uesyeardatedownlist" type="text" size="18" runat="server">
</td>
<td align="center"><input id="useperontxt" type="text" size="10" runat="server">
</td>
<td align="center"><input id="backyeardatedownlist" type="text" size="18" runat="server">
</td>
<td align="center"><input id="backperontxt" type="text" size="10" runat="server"></td>
</tr>
<tr>
<td align="left" colSpan="2" height="10"><input id="lbmsg" style="BORDER-LEFT-COLOR: window; BORDER-BOTTOM-COLOR: window; BORDER-TOP-STYLE: solid; BORDER-TOP-COLOR: window; BORDER-RIGHT-STYLE: solid; BORDER-LEFT-STYLE: solid; BORDER-RIGHT-COLOR: window; BORDER-BOTTOM-STYLE: solid"
type="text" size="30" runat="server" readOnly>
</td>
<td><asp:button id="Ok" runat="server" Text="确定"></asp:button></td>
<td><input id="btnReset" onclick="btnResetClick();" type="button" value="重填">
</td>
<td align="right"><input onclick="window.close();" type="button" value="关闭窗口" name="BUTTON">
</td>
</tr>
</table>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -