📄 frm_tccq_modify.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>
<%
sdate=request.form("sdate")
tccqId=request.form("chtccq")
if tccqId="" then
response.redirect "/profile/errorpage.asp?title=删除排液及抽汲投产初期数据&msg=您没有选择任何数据!"
else
tccqId=split(tccqId,",")(0)
end if
wellId=request("wellId")
isSub=request.form("isSub")
if isSub="" then
%>
<span class="subject">
修改井<%=wellId%>的投产初期数据<font color=cc0000><%=tccqId%></font>
</span>
<hr size="1" class=hr width="98%" align="center">
<br>
<form action="" 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" colspan=2 align=center width=30%>措施日期</td>
<td align=left width=70%>  <input type=text name=text1 size=20 class=text> <input type=button value=".." class=button onclick="fPopCalendar(text1,text1); return false" alt="按此选时"></td>
</tr>
<tr height="20">
<td class="title" colspan=2 align=center width=30%>措施方式</td>
<td align=left width=70%>  <textarea name=text2 cols=30 rows=3 class=text></textarea></td>
</tr>
<tr height="20">
<td class="title" rowspan=5 align=center width=15%>排液方式</td>
<td class="title" align=center width=15%>抽汲单</td>
<td align=left width=70%>  <input type=text name=text3 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=15%>抽汲合</td>
<td align=left width=70%>  <input type=text name=text4 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=15%>气举</td>
<td align=left width=70%>  <input type=text name=text5 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=15%>泡洗返排</td>
<td align=left width=70%>  <input type=text name=text6 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=15%>下泵</td>
<td align=left width=70%>  <input type=text name=text7 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" rowspan=8 align=center width=15%>试抽抽汲情况</td>
<td class="title" align=center width=15%>动液面</td>
<td align=left width=70%>  <input type=text name=text8 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=15%>抽深</td>
<td align=left width=70%>  <input type=text name=text9 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=15%>日产液</td>
<td align=left width=70%>  <input type=text name=text10 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=15%>日产油</td>
<td align=left width=70%>  <input type=text name=text11 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=15%>累计液量</td>
<td align=left width=70%>  <input type=text name=text12 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=15%>累计油量</td>
<td align=left width=70%>  <input type=text name=text13 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=15%>累计水量</td>
<td align=left width=70%>  <input type=text name=text14 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=15%>CL-</td>
<td align=left width=70%>  <input type=text name=text15 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" rowspan=4 align=center width=15%>投产后生产情况(一个月平均)</td>
<td class="title" align=center width=15%>日产液</td>
<td align=left width=70%>  <input type=text name=text16 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=15%>日产油</td>
<td align=left width=70%>  <input type=text name=text17 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=15%>含水</td>
<td align=left width=70%>  <input type=text name=text18 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=15%>动液面</td>
<td align=left width=70%>  <input type=text name=text19 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" colspan=2 align=center width=30%>备注</td>
<td align=left width=70%>  <textarea name=text20 cols=30 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=wellId value=<%=wellId%>>
<input type=hidden name=chtccq value=<%=tccqId%>>
<input type=hidden name=sdate value=<%=sdate%>>
<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_tccq.asp?well_id=<%=wellId%>&date=<%=sdate%>");'>
</td>
</tr>
</table>
</form>
<%
else
text1=request.form("text1")
text2=request.form("text2")
text3=request.form("text3")
text4=request.form("text4")
text5=request.form("text5")
text6=request.form("text6")
text7=request.form("text7")
text8=request.form("text8")
text9=request.form("text9")
text10=request.form("text10")
text11=request.form("text11")
text12=request.form("text12")
text13=request.form("text13")
text14=request.form("text14")
text15=request.form("text15")
text16=request.form("text16")
text17=request.form("text17")
text18=request.form("text18")
text19=request.form("text19")
text20=request.form("text20")
Set Rs = Server.CreateObject("ADODB.RecordSet")
SQL="select * from oil.oil_tccq where tccq_id='" &tccqId& "'"
rs.open SQL,conn,1,3
if text1<>"" then
rs("tccq_csrq")=text1
end if
if text2<>"" then
rs("tccq_csnr")=text2
end if
if text3<>"" then
rs("tccq_cjd")=text3
end if
if text4<>"" then
rs("tccq_cjh")=text4
end if
if text5<>"" then
rs("tccq_qj")=text5
end if
if text6<>"" then
rs("tccq_pxfp")=text6
end if
if text7<>"" then
rs("tccq_xb")=text7
end if
if text8<>"" then
rs("tccq_sc_dym")=text8
end if
if text9<>"" then
rs("tccq_sc_cs")=text9
end if
if text10<>"" then
rs("tccq_sc_rcy")=text10
end if
if text11<>"" then
rs("tccq_sc_rco")=text11
end if
if text12<>"" then
rs("tccq_sc_ljyl")=text12
end if
if text13<>"" then
rs("tccq_sc_ljol")=text13
end if
if text14<>"" then
rs("tccq_sc_ljsl")=text14
end if
if text15<>"" then
rs("tccq_sc_cl")=text15
end if
if text16<>"" then
rs("tccq_tch_rcy")=text16
end if
if text17<>"" then
rs("tccq_tch_rco")=text17
end if
if text18<>"" then
rs("tccq_tch_hs")=text18
end if
if text19<>"" then
rs("tccq_tch_dym")=text19
end if
if text20<>"" then
rs("tccq_memo")=text20
end if
rs.update
rs.close
response.redirect "frm_tccq.asp?well_id=" &wellId& "&date=" &sdate
end if
%>
</body>
</html>
<!--#include virtual="/include/DBClose.inc"-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -