📄 frm_bnxjbb.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>
<!--
function subcheck(act) {
if (act==0)
form1.action="frm_bnxjbb_remove.asp";
else
form1.action="frm_bnxjbb_modify.asp";
form1.submit();
}
-->
</SCRIPT>
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><br>
<%
sdate=cdate(request("year") & "-" & request("month") & "-1")
syear=request("year")
smonth=request("month")
Set Rs = Server.CreateObject("ADODB.RecordSet")
dim bnxjbb(),bnxjbbCount
bnxjbbCount=0
SQL="select * from oil.oil_incre,oil.oil_well,oil.oil_dict where incre_obj_date='" &sdate& "' and incre_well_id=well_id and well_area=dict_code and dict_type='area' and incre_well_type='新井'"
rs.open SQL,conn,1,1
do while not rs.eof
bnxjbbCount=bnxjbbCount+1
redim preserve bnxjbb(bnxjbbCount)
bnxjbb(bnxjbbCount-1)=""
bnxjbb(bnxjbbCount-1)=bnxjbb(bnxjbbCount-1)& "@" & rs("incre_id")
bnxjbb(bnxjbbCount-1)=bnxjbb(bnxjbbCount-1)& "@" & rs("incre_well_id")
bnxjbb(bnxjbbCount-1)=bnxjbb(bnxjbbCount-1)& "@" & rs("dict_value")
bnxjbb(bnxjbbCount-1)=bnxjbb(bnxjbbCount-1)& "@" & rs("incre_cscw")
bnxjbb(bnxjbbCount-1)=bnxjbb(bnxjbbCount-1)& "@" & rs("incre_tcfs")
bnxjbb(bnxjbbCount-1)=bnxjbb(bnxjbbCount-1)& "@" & rs("incre_csrq")
bnxjbb(bnxjbbCount-1)=bnxjbb(bnxjbbCount-1)& "@" & rs("incre_bf_rcy")
bnxjbb(bnxjbbCount-1)=bnxjbb(bnxjbbCount-1)& "@" & rs("incre_bf_rco")
bnxjbb(bnxjbbCount-1)=bnxjbb(bnxjbbCount-1)& "@" & rs("incre_bf_hs")
bnxjbb(bnxjbbCount-1)=bnxjbb(bnxjbbCount-1)& "@" & rs("incre_bf_dym")
bnxjbb(bnxjbbCount-1)=bnxjbb(bnxjbbCount-1)& "@" & rs("incre_af_rcy")
bnxjbb(bnxjbbCount-1)=bnxjbb(bnxjbbCount-1)& "@" & rs("incre_af_rco")
bnxjbb(bnxjbbCount-1)=bnxjbb(bnxjbbCount-1)& "@" & rs("incre_af_hs")
bnxjbb(bnxjbbCount-1)=bnxjbb(bnxjbbCount-1)& "@" & rs("incre_af_dym")
bnxjbb(bnxjbbCount-1)=bnxjbb(bnxjbbCount-1)& "@" & rs("incre_bysc")
bnxjbb(bnxjbbCount-1)=bnxjbb(bnxjbbCount-1)& "@" & rs("incre_yxts")
bnxjbb(bnxjbbCount-1)=bnxjbb(bnxjbbCount-1)& "@" & rs("incre_rzyl")
bnxjbb(bnxjbbCount-1)=bnxjbb(bnxjbbCount-1)& "@" & rs("incre_yzol")
bnxjbb(bnxjbbCount-1)=bnxjbb(bnxjbbCount-1)& "@" & rs("incre_ljzy")
bnxjbb(bnxjbbCount-1)=bnxjbb(bnxjbbCount-1)& "@" & rs("incre_memo")
rs.movenext
loop
rs.close
%>
<span class="subject">
<%=syear%>年度<%=smonth%>月的新投井效果统计报表
</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=1100>
<tr height="20">
<td class="title" rowspan=2 align=center width=60>井号</td>
<td class="title" rowspan=2 align=center width=60>作业区</td>
<td class="title" rowspan=2 align=center width=60>投产方式</td>
<td class="title" rowspan=2 align=center width=60>措施日期</td>
<td class="title" colspan=3 align=center>目前</td>
<td class="title" rowspan=2 align=center width=80>本月生产天数</td>
<td class="title" rowspan=2 align=center width=80>措施有效天数</td>
<td class="title" rowspan=2 align=center width=60>日增油量</td>
<td class="title" rowspan=2 align=center width=60>月增油量</td>
<td class="title" rowspan=2 align=center width=60>累计增油量</td>
<td class="title" rowspan=2 align=center width=120>备注</td>
</tr>
<tr height="20">
<td class="title" align=center width=60>日产液 </td>
<td class="title" align=center width=60>日产油</td>
<td class="title" align=center width=60>含水</td>
</tr>
<%for i=0 to bnxjbbCount-1%>
<tr height="20" align=center>
<td> <%=split(bnxjbb(i),"@")(2)%></td>
<td> <%=split(bnxjbb(i),"@")(3)%></td>
<td> <%=split(bnxjbb(i),"@")(5)%></td>
<td> <%=split(bnxjbb(i),"@")(6)%></td>
<td> <%=split(bnxjbb(i),"@")(11)%></td>
<td> <%=split(bnxjbb(i),"@")(12)%></td>
<td> <%=split(bnxjbb(i),"@")(13)%></td>
<td> <%=split(bnxjbb(i),"@")(15)%></td>
<td> <%=split(bnxjbb(i),"@")(16)%></td>
<td> <%=split(bnxjbb(i),"@")(17)%></td>
<td> <%=split(bnxjbb(i),"@")(18)%></td>
<td> <%=split(bnxjbb(i),"@")(19)%></td>
<td> <textarea rows=2 cols=25 class=text><%=split(bnxjbb(i),"@")(20)%></textarea></td>
</tr>
<%next%>
</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="button" name="Submit32" value=" 返回 " class=button LANGUAGE=javascript onclick='javascript:location.replace("frm_bnxjbb_form.asp");'>
</td>
</tr>
</table>
</form>
</body>
</html>
<!--#include virtual="/include/DBClose.inc"-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -