📄 frm_ydgzlbb_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("sdate")
syear=split(sdate,"-")(0)
smonth=split(sdate,"-")(1)
welltype=request.form("welltype")
ydgzlbbId=request.form("chydgzlbb")
if ydgzlbbId="" then
response.redirect "/profile/errorpage.asp?title=修改月度井下工作量月报数据&msg=您没有选择任何数据!"
else
ydgzlbbId=split(ydgzlbbId,",")(0)
end if
isSub=request.form("isSub")
if isSub="" then
Set Rs = Server.CreateObject("ADODB.RecordSet")
if welltype=0 then
SQL="select * from oil.oil_jxzygzl where jxzygzl_id='" &ydgzlbbId& "'"
rs.open SQL,conn,1,1
if rs.eof then
response.redirect "/profile/errorpage.asp?title=修改月度井下工作量月报数据&msg=数据可能已经被删除!"
else
redim preserve ydgzlbb(22)
ydgzlbb(0)=rs("jxzygzl_id")
ydgzlbb(1)=rs("jxzygzl_field")
ydgzlbb(2)=rs("jxzygzl_total")
ydgzlbb(3)=rs("Jxzygzl_yqj_heji")
ydgzlbb(4)=rs("jxzygzl_yqj_csxj")
ydgzlbb(5)=rs("jxzygzl_yqj_yl")
ydgzlbb(6)=rs("jxzygzl_yqj_sh")
ydgzlbb(7)=rs("jxzygzl_yqj_bkgc")
ydgzlbb(8)=rs("jxzygzl_yqj_hz")
ydgzlbb(9)=rs("jxzygzl_yqj_hdb")
ydgzlbb(10)=rs("jxzygzl_yqj_xdb")
ydgzlbb(11)=rs("jxzygzl_yqj_xslb")
ydgzlbb(12)=rs("jxzygzl_yqj_sy")
ydgzlbb(13)=rs("jxzygzl_yqj_kds")
ydgzlbb(14)=rs("jxzygzl_yqj_zsjjd")
ydgzlbb(15)=rs("jxzygzl_yqj_pmxj")
ydgzlbb(16)=rs("jxzygzl_yqj_bryl")
ydgzlbb(17)=rs("jxzygzl_yqj_other")
ydgzlbb(18)=rs("jxzygzl_yqj_daxiu")
ydgzlbb(19)=rs("jxzygzl_yqj_wh_xj")
ydgzlbb(20)=rs("jxzygzl_yqj_wh_jbcs")
ydgzlbb(21)=rs("jxzygzl_yqj_xjtc")
end if
rs.close
else
SQL="select * from oil.oil_jxzygzl where jxzygzl_id='" &ydgzlbbId& "'"
rs.open SQL,conn,1,1
if rs.eof then
response.redirect "/profile/errorpage.asp?title=修改月度井下工作量月报数据&msg=数据可能已经被删除!"
else
redim preserve ydgzlbb(17)
ydgzlbb(0)=rs("jxzygzl_id")
ydgzlbb(1)=rs("jxzygzl_field")
ydgzlbb(2)=rs("jxzygzl_zsj_total")
ydgzlbb(3)=rs("jxzygzl_zsj_xj")
ydgzlbb(4)=rs("jxzygzl_zsj_yl")
ydgzlbb(5)=rs("jxzygzl_zsj_sh")
ydgzlbb(6)=rs("jxzygzl_zsj_bkgc")
ydgzlbb(7)=rs("jxzygzl_zsj_zzother")
ydgzlbb(8)=rs("jxzygzl_zsj_ds")
ydgzlbb(9)=rs("jxzygzl_zsj_dx")
ydgzlbb(10)=rs("jxzygzl_zsj_wh_xj")
ydgzlbb(11)=rs("jxzygzl_zsj_hz")
ydgzlbb(12)=rs("jxzygzl_zsj_fz")
ydgzlbb(13)=rs("jxzygzl_zsj_jc")
ydgzlbb(14)=rs("jxzygzl_zsj_whother")
ydgzlbb(15)=rs("jxzygzl_zsj_tzjk")
ydgzlbb(16)=rs("jxzygzl_zsj_other")
end if
rs.close
end if
%>
<span class="subject">
修改<%=syear%>年<%=smonth%>月<%=ydgzlbb(1)%>的(<%if welltype=0 then response.write "油气井" else response.write "注水井" end if%>)井下工作量月报
</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" align=center width=30% colspan=3> </td>
<td class="title" align=center width=30%>原数据</td>
<td class="title" align=center width=40%>修改后(数据不变化则不填写!)</td>
</tr>
<tr height="20">
<td class="title" align=center width=30% colspan=3>油田</td>
<td align=left colspan=2>  <%=ydgzlbb(1)%></td>
</tr>
<%if welltype=0 then%>
</tr>
<tr height="20">
<td class="title" align=center width=30% colspan=3>油(气)水井总工作量</td>
<td align=left>  <%=ydgzlbb(2)%></td>
<td align=left>  <input type=text name=text2 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=10% rowspan=19>油(气)井作业</td>
<td class="title" align=center width=20% colspan=2>工作量合计</td>
<td align=left>  <%=ydgzlbb(3)%></td>
<td align=left>  <input type=text name=text3 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=10% rowspan=14>增产措施</td>
<td class="title" align=center width=10%>措施小计</td>
<td align=left>  <%=ydgzlbb(4)%></td>
<td align=left>  <input type=text name=text4 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=10%>压裂</td>
<td align=left>  <%=ydgzlbb(5)%></td>
<td align=left>  <input type=text name=text5 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=10%>酸化</td>
<td align=left>  <%=ydgzlbb(6)%></td>
<td align=left>  <input type=text name=text6 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=10%>补孔改层</td>
<td align=left>  <%=ydgzlbb(7)%></td>
<td align=left>  <input type=text name=text7 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=10%>换轴</td>
<td align=left>  <%=ydgzlbb(8)%></td>
<td align=left>  <input type=text name=text8 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=10%>换大泵</td>
<td align=left>  <%=ydgzlbb(9)%></td>
<td align=left>  <input type=text name=text9 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=10%>下电泵</td>
<td align=left>  <%=ydgzlbb(10)%></td>
<td align=left>  <input type=text name=text10 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=10%>下水力泵</td>
<td align=left>  <%=ydgzlbb(11)%></td>
<td align=left>  <input type=text name=text11 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=10%>试油</td>
<td align=left>  <%=ydgzlbb(12)%></td>
<td align=left>  <input type=text name=text12 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=10%>卡堵水</td>
<td align=left>  <%=ydgzlbb(13)%></td>
<td align=left>  <input type=text name=text13 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=10%>正水击解堵</td>
<td align=left>  <%=ydgzlbb(14)%></td>
<td align=left>  <input type=text name=text14 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=10%>泡沫洗井</td>
<td align=left>  <%=ydgzlbb(15)%></td>
<td align=left>  <input type=text name=text15 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=10%>爆燃压裂</td>
<td align=left>  <%=ydgzlbb(16)%></td>
<td align=left>  <input type=text name=text16 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=10%>其他</td>
<td align=left>  <%=ydgzlbb(17)%></td>
<td align=left>  <input type=text name=text17 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=20% colspan=2>大修(口)</td>
<td align=left>  <%=ydgzlbb(18)%></td>
<td align=left>  <input type=text name=text18 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=10% rowspan=2>维护作业</td>
<td class="title" align=center width=10%>小计</td>
<td align=left>  <%=ydgzlbb(19)%></td>
<td align=left>  <input type=text name=text19 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=10%>其中解泵</td>
<td align=left>  <%=ydgzlbb(20)%></td>
<td align=left>  <input type=text name=text20 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=20% colspan=2>新井投产(口)</td>
<td align=left>  <%=ydgzlbb(21)%></td>
<td align=left>  <input type=text name=text21 size=20 class=text></td>
</tr>
<%else%>
</tr>
<tr height="20">
<td class="title" align=center width=10% rowspan=15>注水井作业</td>
<td class="title" align=center width=20% colspan=2>工作量合计</td>
<td align=left>  <%=ydgzlbb(2)%></td>
<td align=left>  <input type=text name=text2 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=10% rowspan=6>增注措施</td>
<td class="title" align=center width=10%>小计</td>
<td align=left>  <%=ydgzlbb(3)%></td>
<td align=left>  <input type=text name=text3 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=10%>压裂</td>
<td align=left>  <%=ydgzlbb(4)%></td>
<td align=left>  <input type=text name=text4 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=10%>酸化</td>
<td align=left>  <%=ydgzlbb(5)%></td>
<td align=left>  <input type=text name=text5 size=20 class=text></td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -