⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frm_psj_device_modify.asp

📁 一套石油公司内部的运营管理系统
💻 ASP
字号:
<!--#include virtual="/include/DBCon.inc"-->
<html>
<head>
 
<title>油田采油工艺综合管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="/css/oil.css" type="text/css">
<SCRIPT LANGUAGE="javascript" src="/include/calender.js"></SCRIPT>
<SCRIPT LANGUAGE=javascript>
<!--
function subcheck() {
	form1.submit();
}
-->
</SCRIPT>

</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><br>
	<%
	deviceId=request.form("chdevice")
	tarea=request.form("area")
	tzsz=request.form("zsz")
	if deviceId="" then
		response.redirect "/profile/errorpage.asp?title=修改配水间设备&msg=您没有选择任何数据!" 
	else
		deviceId=split(deviceId,",")(0)
	end if
	Set Rs = Server.CreateObject("ADODB.RecordSet")
	SQL="select * from oil.oil_psj,oil.oil_psjdv where psjdv_id='" &deviceId& "'"
	rs.open SQL,conn,1,1
	dim device(1)
	device(0)=""
	device(0)=device(0)& "@" & rs("psjdv_id")
	device(0)=device(0)& "@" & rs("psj_name")
	device(0)=device(0)& "@" & rs("psjdv_name")
	device(0)=device(0)& "@" & rs("psjdv_dvid")
	device(0)=device(0)& "@" & rs("psjdv_model")
	device(0)=device(0)& "@" & rs("psjdv_count")
	device(0)=device(0)& "@" & rs("psjdv_bs_edyl")
	device(0)=device(0)& "@" & rs("psjdv_edpl")
	device(0)=device(0)& "@" & rs("psjdv_tysj")
	device(0)=device(0)& "@" & rs("psjdv_sjpl")
	device(0)=device(0)& "@" & rs("psjdv_zk")
	device(0)=device(0)& "@" & rs("psjdv_memo")
	%>
	<span class="subject">
		修改配水间设备
		<font color=cc0000><%=deviceId%></font>
	</span> 
	<hr size="1" class=hr width="98%" align="center">
	<br>
	<form action="frm_psj_device_modify_confirm.asp" method=post name=form1>
	<table border="1" cellpadding="1" cellspacing="0" align="center" class="table2" 
	  bordercolor="#000000" bordercolordark="#F8EDEB" width="90%">
	  <tr height="20">
	   <td class="title" align=center colspan=2>配水间</td>
	   <td align=left colspan=2>&nbsp&nbsp<%=split(device(0),"@")(2)%></td>
	  </tr> 
	  <tr height="20">
	   <td class="title" align=center colspan=2>设备名称</td>
	   <td align=left width=30%>&nbsp&nbsp
		   <%=split(device(0),"@")(3)%>
	   </td>
	   <td align=left width=40%>&nbsp&nbsp
		   <input type="text" name="text1" size=30 class=text>
	   </td>
	  </tr> 
	  <tr height="20">
	   <td class="title" align=center colspan=2>设备编号</td>
	   <td align=left width=30%>&nbsp&nbsp
		   <%=split(device(0),"@")(4)%>
	   </td>
	   <td align=left width=40%>&nbsp&nbsp
		   <input type="text" name="text2" size=30 class=text>
	   </td>
	  </tr> 
	  <tr height="20">
	   <td class="title" align=center colspan=2>设备型号</td>
	   <td align=left width=30%>&nbsp&nbsp
		   <%=split(device(0),"@")(5)%>
	   </td>
	   <td align=left width=40%>&nbsp&nbsp
		   <input type="text" name="text3" size=30 class=text>
	   </td>
	  </tr> 
	  <tr height="20">
	   <td class="title" align=center colspan=2>数量</td>
	   <td align=left width=30%>&nbsp&nbsp
		   <%=split(device(0),"@")(6)%>
	   </td>
	   <td align=left width=40%>&nbsp&nbsp
		   <input type="text" name="text4" size=30 class=text>
	   </td>
	  </tr> 
	  <tr height="20">
	   <td class="title" align=center rowspan=2 width=10%>基本参数</td>
	   <td class="title" align=center width=20%>额定压力</td>
	   <td align=left width=30%>&nbsp&nbsp
		   <%=split(device(0),"@")(7)%>
	   </td>
	   <td align=left width=40%>&nbsp&nbsp
		   <input type="text" name="text5" size=30 class=text>
	   </td>
	  </tr> 
	  <tr height="20">
	   <td class="title" align=center width=20%>额定排量</td>
	   <td align=left width=30%>&nbsp&nbsp
		   <%=split(device(0),"@")(8)%>
	   </td>
	   <td align=left width=40%>&nbsp&nbsp
		   <input type="text" name="text6" size=30 class=text>
	   </td>
	  </tr> 
	  <tr height="20">
	   <td class="title" align=center colspan=2>投运时间</td>
	   <td align=left width=30%>&nbsp&nbsp
		   <%=split(device(0),"@")(9)%>
	   </td>
	   <td align=left width=40%>&nbsp&nbsp
		   <input type="text" name="text7" size=30 class=text>
	   </td>
	  </tr> 
	  <tr height="20">
	   <td class="title" align=center colspan=2>实际排量</td>
	   <td align=left width=30%>&nbsp&nbsp
		   <%=split(device(0),"@")(10)%>
	   </td>
	   <td align=left width=40%>&nbsp&nbsp
		   <input type="text" name="text8" size=30 class=text>
	   </td>
	  </tr> 
	  <tr height="20">
	   <td class="title" align=center colspan=2>目前运行状况及问题</td>
	   <td align=left width=30%>&nbsp&nbsp
		   <textarea cols=20 rows=3 class=text><%=split(device(0),"@")(11)%></textarea>
	   </td>
	   <td align=left width=40%>&nbsp&nbsp
			<textarea name=text9 cols=28 rows=3 class=text></textarea>
	   </td>
	  </tr> 
	  <tr height="20">
	   <td class="title" align=center colspan=2>备注</td>
	   <td align=left width=30%>&nbsp&nbsp
		    <textarea cols=20 rows=3 class=text><%=split(device(0),"@")(12)%></textarea>
	   </td>
	   <td align=left width=40%>&nbsp&nbsp
			<textarea name=text10 cols=28 rows=3 class=text></textarea>
	   </td>
	  </tr> 
	</table>
	<br>
	<hr size="1" class=hr width="98%" align="center">
	  <br>
	  <table width="98%" border="0" cellspacing="0" cellpadding="2" align="center">
		<tr align="center"> 
		  <td> 
			<input type=hidden name=chdevice value=<%=deviceId%>>
			<input type=hidden name=area value=<%=tarea%>>
			<input type=hidden name=zsz value=<%=tzsz%>>
			<input type=hidden name=isSub value=true>
			<input type="button" name="Submit32" value=" 更新 " class=button onclick=subcheck()>
			<input type="button" name="Submit32" value=" 返回 " class=button LANGUAGE=javascript onclick='javascript:location.replace("frm_psj_device.asp?area=<%=tarea%>&zsz=<%=tzsz%>");'>
		  </td>
		</tr>
	  </table>
	</form>
</body>
</html>
<!--#include virtual="/include/DBClose.inc"-->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -