📄 skdjlist_edit.jsp
字号:
<%@page contentType="text/html; charset=gb2312" language="java" errorPage="" %>
<jsp:useBean id="List1" scope="page" class="JXC.web.Lists" />
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
<link rel="stylesheet" href="../other/customer.css">
</head><body>
<table width="100%" border="1" cellspacing="0" cellpadding="0" bordercolor="#FFFFFF">
<tr>
<td bordercolor="#86c2fe">
<table width="100%" border="0" cellspacing="0" cellpadding="0" bordercolor="#86c2fe">
<tr>
<td bgcolor="#4180BE">
<table width="100%" height="44" border="0" cellspacing="0" cellpadding="0" align="left">
<tr>
<td width="100%">
<p align="center">
<font color="#FFFFFF">收 款 信 息 管 理 --<font size="2"> 资料修改</font></font>
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%
String id=request.getParameter("bh");
String Page=request.getParameter("page");
int csbh=0;
int ygbh=0;
int fkfs=0;
String memo="";
String Fdate="";
String je="";
String str="SELECT * From skdjlist WHERE ID ="+id;
List1.setShowAll();
List1.setStrSql(str);
if (List1.excute()){
csbh =Integer.parseInt(List1.getString("csbh"));
ygbh =Integer.parseInt(List1.getString("ygbh"));
fkfs =Integer.parseInt(List1.getString("fkfs"));
memo =List1.getString("Memo");
je =List1.getString("je");
Fdate=List1.getString("Fdate").substring(0,10);
%>
<table width="20%" >
<td ><a href="skdjlist.jsp?page=<%=Page%>"><img border="0" src="../images/return.jpg" width="52" height="23"></a></td>
</Table>
<table width="98%" cellspacing="1" align="center">
<tr>
<td height="100%" colspan="2">
<form method="POST" action="skdjlist_ed.jsp?id=<%=id%>&page=<%=Page%>">
<table width="100%" cellspacing="1" bgcolor="#86c2fe">
<tr>
<td class='small' width="15%" bgcolor="#D8EBF5">
<div align="center">单据编号:</div>
</td>
<td width="35%" bgcolor="#D8EBF5"><input type="text" name="djbh" size="20" value="<%=List1.getString("djbh")%>">*</td>
<td class='small' width="15%" bgcolor="#D8EBF5">
<div align="center">收款客户:</div>
</td>
<td bgcolor="#D8EBF5"><select size="1" name="csbh" width="20">
<% List1.setShowAll();
List1.setSql("khb");
if (List1.excute()) {
for (int i=0;i<List1.getListCount();i++) {
List1.setRow(i);
%>
<option value="<%=List1.getString("id")%>" <% if (Integer.parseInt(List1.getString("id"))==csbh )
out.println("selected"); %>><%=List1.getString("csname")%></option>
<% }
}%>
</select>*</td>
</tr>
<tr>
<td class='small' width="15%" bgcolor="#D8EBF5">
<div align="center">收款金额:</div>
</td>
<td width="35%" bgcolor="#D8EBF5"><input type="text" name="je" size="20" value="<%=je%>">*</td>
<td class='small' width="15%" bgcolor="#D8EBF5">
<div align="center">业 务 员:</div>
</td>
<td bgcolor="#D8EBF5"><select size="1" name="ygbh">
<%
List1.setSql("personnel where post='业务员'");
if (List1.excute()) {
for (int i=0;i<List1.getListCount();i++) {
List1.setRow(i);
%>
<option value="<%=List1.getString("id")%>" <% if (Integer.parseInt(List1.getString("id"))==ygbh )
out.println("selected"); %>><%=List1.getString("name")%></option>
<% }
}%>
</select> *</td>
</tr>
<tr>
<td class='small' width="15%" bgcolor="#D8EBF5">
<div align="center">收款方式:</div>
</td>
<td width="35%" bgcolor="#D8EBF5"><select size="1" name="fkfs" width="20">
<%
List1.setSql("pay");
if (List1.excute()) {
for (int i=0;i<List1.getListCount();i++) {
List1.setRow(i);
%>
<option value="<%=List1.getString("id")%>" <% if (Integer.parseInt(List1.getString("id"))==fkfs )
out.println("selected"); %>><%=List1.getString("name")%></option>
<% }
}
}%>
</select></td>
<td class='small' width="15%" bgcolor="#D8EBF5">
<div align="center">日 期:</div>
</td>
<td bgcolor="#D8EBF5"><input type="text" name="Fdate" size="20" value="<%=Fdate%>" id=a7 onkeypress="javascript:if (event.keyCode == 13){form1.a8.focus();{return false;}}"><A
onclick="var pathname = (window.location.pathname); showx = (window.screen.width - 280)/2 ; // + deltaX; showy = (window.screen.height - 255)/2 ; // + deltaY; window.open(pathname.substring(0,(pathname.lastIndexOf('.nsf')))+'time1.jsp','SetStartDate', 'status=yes,resizable=no,scrollbars=yes,'+'top='+showy+',left='+showx+',width=280,height=265'); return false;"
href="time1.jsp"><IMG height=16
src="../Pic/datetime.gif" width=16
border=0></A></td>
</tr>
<tr>
<td class='small' width="15%" bgcolor="#D8EBF5">
<div align="center">备 注:</div>
</td>
<td colspan="3" bgcolor="#D8EBF5"><input type="text" name="memo" size="66" value="<%=memo%>"></td>
</tr>
<tr>
<td colspan="4" width="100%" bgcolor="#D8EBF5" class='small' align="center">
<input style="BORDER-RIGHT: #005dce 1px solid; BORDER-TOP: #005dce 1px solid; FONT-SIZE: 10pt; BORDER-LEFT: #005dce 1px solid; BORDER-BOTTOM: #005dce 1px solid; BACKGROUND-COLOR: #dbeafb" type="submit" value="保存" name="B1" align="center" >
<input style="BORDER-RIGHT: #005dce 1px solid; BORDER-TOP: #005dce 1px solid; FONT-SIZE: 10pt; BORDER-LEFT: #005dce 1px solid; BORDER-BOTTOM: #005dce 1px solid; BACKGROUND-COLOR: #dbeafb" type="reset" value="重写" name="B2" align="center" >
</td>
</tr>
</table>
</form>
</td>
</tr>
<tr>
<td class="small" width="23%" >
</td>
</tr>
</table>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -