📄 hx_xxlrtcmx.asp
字号:
<!--#include file="../conn.asp"-->
<%
session("aspname")=request("aspname")
session("bh")=request("bh")
aspname=request("aspname")
xin=request("xin")
bh=request("bh")
bid=request("bid")
dwmc=""
dwlb=""
dwpm=""
%>
<link rel="stylesheet" type="text/css" href="../style.css">
<body topmargin="0" leftmargin="0" bgcolor="#dddddd">
<br>
<br>
<script>
var x
x="<%=request.form("submitx")%>"
if (x=="??"){
window.location="select.asp?aspname=<%=aspname%>&bh=<%=bh%>"
}
</script>
<script>
var y
y="<%=request.form("submity")%>"
if (y=="??"){
window.location="<%=aspname%>.asp?aspname=<%=aspname%>&bh=<%=bh%>&name=<%=name%>&xin=1"
}
</script>
<%
action="add"
if xin= 0 then
sql="select * from HXXMtcmx Where HXXM_NO='"& bh &"'"
set rs=server.Createobject("ADODB.Recordset")
rs.open sql,conn,1,3
if rs.eof then
if request.form("submitn")="?? " then
ktbh=request("bh")
tzdh=request.form("tzdh")
ktry=request.form("ktry")
tcjf=request.form("tcjf")
rs.addnew
rs("Hxxm_no")=ktbh
rs("Hxxmtc_tzdh")=tzdh
rs("Hxxmtcmx_rymc")=ktry
rs("Hxxmtcmx_tcjf")=tcjf
rs.update
action="suc"
errn="??????????!"
end if
else
ktbh=rs("Hxxm_no")
tzdh=rs("Hxxmtc_tzdh")
ktry=rs("Hxxmtcmx_rymc")
tcjf=rs("Hxxmtcmx_tcjf")
if request.form("submitn")="??" then
ktbh=request("bh")
tzdh=request.form("tzdh")
ktry=request.form("ktry")
tcjf=request.form("tcjf")
rs("Hxxm_no")=ktbh
rs("Hxxmtc_tzdh")=tzdh
rs("Hxxmtcmx_rymc")=ktry
rs("Hxxmtcmx_tcjf")=tcjf
rs.update
action="suc"
errn="??????????!"
end if
end if
elseif xin=1 then
sql="select * from HXXMtcmx"
set rs=server.Createobject("ADODB.Recordset")
rs.open sql,conn,1,3
if request.form("submitn")="??" then
ktbh=request("bh")
tzdh=request.form("tzdh")
ktry=request.form("ktry")
tcjf=request.form("tcjf")
rs.addnew
rs("Hxxm_no")=ktbh
rs("Hxxmtc_tzdh")=tzdh
rs("Hxxmtcmx_rymc")=ktry
rs("Hxxmtcmx_tcjf")=tcjf
rs.update
action="suc"
errn="??????????!"
end if
end if
%>
<%if action="add" then%>
<table width="100%" height="151" border="0" cellpadding="0" cellspacing="0" bordercolor="#D6CFCE" background=>
<tr>
<td height="28"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><div align="center"><strong>横向项目提成明细信息表</strong></div></td>
</tr>
<tr>
<td><div align="center"></div></td>
</tr>
<tr>
<td><div align="center"></div></td>
</tr>
</table></td>
</tr>
<tr>
<td height="121"> <div align="right">
<form name="form1" class="" method="post">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="40%"><div align="right">课题编号:</div></td>
<td><input name="ktbh" type=text readonly="" value="<%=bh%>" id="ktbh" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #C0C0C0" size=12 maxlength=20></td>
</tr>
<tr>
<td width="40%"> </td>
<td> </td>
</tr>
<tr>
<td width="40%"><div align="right">通知单号:</div></td>
<td> <div align="left">
<input name="tzdh" type=text id="ktbh5" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #dff1f9" value="<%=tzdh%>" size=12 maxlength=10>
</div></td>
</tr>
<tr>
<td width="40%"></td>
<td> <div align="left">
</div></td>
</tr>
<tr>
<td width="40%"><div align="right">劳务费提成率:</div></td>
<td><input name="ktry" type=text id="ktbh3" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #dff1f9" value="<%=ktry%>" size=12 maxlength=12></td>
</tr>
<tr>
<td width="40%"> </td>
<td> </td>
</tr>
<tr>
<td width="40%"><div align="right">提成日期:</div></td>
<td><input name="tcjf" type=text id="ktbh32" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #dff1f9" value="<%=tcjf%>" size=12 maxlength=9></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td colspan="2">
<div align="center">
<INPUT type=submit value=' 提 交 ' name=Submitn style="background-color: #DDDDDD; background-repeat: repeat; background-attachment: scroll; font-size: 9pt; height: 20; width: 50; border: 1px groove #000000; background-position: 0% 50%">
<INPUT name="reset" type=reset style="background-color: #DDDDDD; background-repeat: repeat; background-attachment: scroll; font-size: 9pt; height: 20; width: 50; border: 1px groove #000000; background-position: 0% 50%" value=' 取 消 '>
<INPUT type=submit value="查 询" name=Submitx style="background-color: #DDDDDD; background-repeat: repeat; background-attachment: scroll; font-size: 9pt; height: 20; width: 50; border: 1px groove #000000; background-position: 0% 50%">
<INPUT type=submit value="新 增" name=Submity style="background-color: #DDDDDD; background-repeat: repeat; background-attachment: scroll; font-size: 9pt; height: 20; width: 50; border: 1px groove #000000; background-position: 0% 50%">
</div>
</td>
</tr>
</table>
</form>
</div></td>
</tr>
</table>
<%elseif action="suc" then%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><div align="center"><script>
alert("<% =errn %>")
if(confirm("??????"))
{window.location="<%=aspname%>.asp?aspname=<%=aspname%>&bh=<%=bh%>&name=<%=name%>&xin=1"
}
else{
window.close}
</script>
</div></td>
</tr>
</table>
<%end if%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -