📄 frm_ydcsxg_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")
welltype=request.form("welltype")
syear=split(sdate,"-")(0)
smonth=split(sdate,"-")(1)
ydcsxgId=request.form("chydcsxg")
if ydcsxgId="" then
response.redirect "/profile/errorpage.asp?title=修改数据&msg=您没有选择任何数据!"
else
ydcsxgId=split(ydcsxgId,",")(0)
end if
isSub=request.form("isSub")
Set Rs = Server.CreateObject("ADODB.RecordSet")
if isSub="" then
dim ydcsxg(23)
if welltype=0 then
SQL="select * from oil.oil_incre,oil.oil_well,oil.oil_dict where incre_well_id=well_id and well_area=dict_code and dict_type='area' and incre_id='" &ydcsxgId& "'"
rs.open SQL,conn,1,1
ydcsxg(0)=rs("incre_id")
ydcsxg(1)=rs("incre_well_id")
ydcsxg(2)=rs("dict_value")
ydcsxg(3)=rs("incre_cscw")
ydcsxg(4)=rs("incre_csnr")
ydcsxg(5)=rs("incre_csrq")
ydcsxg(6)=rs("incre_bf_rcy")
ydcsxg(7)=rs("incre_bf_rco")
ydcsxg(8)=rs("incre_bf_hs")
ydcsxg(9)=rs("incre_bf_dym")
ydcsxg(10)=rs("incre_af_rcy")
ydcsxg(11)=rs("incre_af_rco")
ydcsxg(12)=rs("incre_af_hs")
ydcsxg(13)=rs("incre_af_dym")
ydcsxg(14)=rs("incre_bysc")
ydcsxg(15)=rs("incre_yxts")
ydcsxg(16)=rs("incre_rzyl")
ydcsxg(17)=rs("incre_yzol")
ydcsxg(18)=rs("incre_ljzy")
ydcsxg(19)=rs("incre_memo")
rs.close
else
SQL="select * from oil.oil_cszz,oil.oil_well,oil.oil_dict where cszz_well_id=well_id and well_area=dict_code and dict_type='area' and cszz_id='" &ydcsxgId& "'"
rs.open SQL,conn,1,1
ydcsxg(0)=rs("cszz_id")
ydcsxg(1)=rs("cszz_well_id")
ydcsxg(2)=rs("dict_value")
ydcsxg(3)=rs("cszz_cscw")
ydcsxg(4)=rs("cszz_csnr")
ydcsxg(5)=rs("cszz_csrq")
ydcsxg(6)=rs("cszz_bf_fsq")
ydcsxg(7)=rs("cszz_bf_gy")
ydcsxg(8)=rs("cszz_bf_oy")
ydcsxg(9)=rs("cszz_bf_ty")
ydcsxg(10)=rs("cszz_bf_pz")
ydcsxg(11)=rs("cszz_bf_sz")
ydcsxg(12)=rs("cszz_af_fsq")
ydcsxg(13)=rs("cszz_af_gy")
ydcsxg(14)=rs("cszz_af_oy")
ydcsxg(15)=rs("cszz_af_ty")
ydcsxg(16)=rs("cszz_af_pz")
ydcsxg(17)=rs("cszz_af_sz")
ydcsxg(18)=rs("cszz_period")
ydcsxg(19)=rs("cszz_rzz")
ydcsxg(20)=rs("cszz_yzz")
ydcsxg(21)=rs("cszz_ljzz")
ydcsxg(22)=rs("cszz_memo")
rs.close
end if
%>
<span class="subject">
修改<%=syear%>年度<%=smonth%>月的月度措施效果统计(<%if welltype=0 then response.write "油井" else response.write "水井" end if%>)<font color=cc0000><%=ydcsxgId%></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" align=center width=30% colspan=2> </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=2>措施井号</td>
<td align=left width=70% colspan=2>  <%=ydcsxg(1)%></td>
</tr>
<tr height="20">
<td class="title" align=center width=30% colspan=2>措施内容</td>
<td align=left width=30%>  <textarea cols=30 rows=3 class=text><%=ydcsxg(4)%></textarea></td>
<td align=left width=40%>  <textarea name=text2 cols=30 rows=3 class=text></textarea></td>
</tr>
<tr height="20">
<td class="title" align=center width=30% colspan=2>措施层位</td>
<td align=left width=30%>  <%=ydcsxg(3)%></td>
<td align=left width=40%>  <input type=text name=text3 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=30% colspan=2>完井日期</td>
<td align=left width=30%>  <%=ydcsxg(5)%></td>
<td align=left width=40%>  <input type=text name=text4 size=20 class=text> <input type=button value=".." name=datebt class=button onclick="fPopCalendar(text4,text4); return false" alt="按此选时"></td>
</tr>
<%if welltype=0 then%>
<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=30%>  <%=ydcsxg(6)%></td>
<td align=left width=40%>  <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=30%>  <%=ydcsxg(7)%></td>
<td align=left width=40%>  <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=30%>  <%=ydcsxg(8)%></td>
<td align=left width=40%>  <input type=text name=text7 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=15% >动液面</td>
<td align=left width=30%>  <%=ydcsxg(9)%></td>
<td align=left width=40%>  <input type=text name=text8 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=30%>  <%=ydcsxg(10)%></td>
<td align=left width=40%>  <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=30%>  <%=ydcsxg(11)%></td>
<td align=left width=40%>  <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=30%>  <%=ydcsxg(12)%></td>
<td align=left width=40%>  <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=30%>  <%=ydcsxg(13)%></td>
<td align=left width=40%>  <input type=text name=text12 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" colspan=2 align=center width=30%>本月生产天数</td>
<td align=left width=30%>  <%=ydcsxg(14)%></td>
<td align=left width=40%>  <input type=text name=text13 size=20 class=text value=<%=stext1%>></td>
</tr>
<tr height="20">
<td class="title" colspan=2 align=center width=30%>措施有效天数</td>
<td align=left width=30%>  <%=ydcsxg(15)%></td>
<td align=left width=40%>  <input type=text name=text14 size=20 class=text value=<%=stext2%>></td>
</tr>
<tr height="20">
<td class="title" colspan=2 align=center width=30%>日增油量</td>
<td align=left width=30%>  <%=ydcsxg(16)%></td>
<td align=left width=40%>  <input type=text name=text15 size=20 class=text value=<%=stext3%>></td>
</tr>
<tr height="20">
<td class="title" colspan=2 align=center width=30%>月增油量</td>
<td align=left width=30%>  <%=ydcsxg(17)%></td>
<td align=left width=40%>  <input type=text name=text16 size=20 class=text value=<%=stext4%>></td>
</tr>
<tr height="20">
<td class="title" colspan=2 align=center width=30%>累计增油量</td>
<td align=left width=30%>  <%=ydcsxg(18)%></td>
<td align=left width=40%>  <input type=text name=text17 size=20 class=text value=<%=stext5%>></td>
</tr>
<tr height="20">
<td class="title" colspan=2 align=center width=30%>备注</td>
<td align=left width=30%>  <textarea cols=30 rows=3 class=text><%=ydcsxg(19)%></textarea></td>
<td align=left width=40%>  <textarea name=text18 cols=30 rows=3 class=text></textarea></td>
</tr>
<%else%>
<tr height="20">
<td class="title" rowspan=6 align=center width=15%>措施前</td>
<td class="title" align=center width=15%>分水器压力</td>
<td align=left width=30%>  <%=ydcsxg(6)%></td>
<td align=left width=40%>  <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=30%>  <%=ydcsxg(7)%></td>
<td align=left width=40%>  <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=30%>  <%=ydcsxg(8)%></td>
<td align=left width=40%>  <input type=text name=text7 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=15% >套压</td>
<td align=left width=30%>  <%=ydcsxg(9)%></td>
<td align=left width=40%>  <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=30%>  <%=ydcsxg(10)%></td>
<td align=left width=40%>  <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=30%>  <%=ydcsxg(11)%></td>
<td align=left width=40%>  <input type=text name=text10 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" rowspan=6 align=center width=15%>措施后</td>
<td class="title" align=center width=15%>分水器压力</td>
<td align=left width=30%>  <%=ydcsxg(12)%></td>
<td align=left width=40%>  <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=30%>  <%=ydcsxg(13)%></td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -