📄 shopadressupdate.jsp
字号:
<%@ page language="java" import="com.jxc.vo.*" pageEncoding="UTF-8"%>
<%String path = request.getContextPath(); %>
<head>
<style type="text/css">
.style1 {font-size: 12px}
</style></head>
<body bgcolor="#F1F4F8">
<%
if (session.getAttribute("yid")==null) {
%>
<script language=javascript>
window.location.href="../erro.jsp";
</script>
<%} %>
<table width="640" height="430">
<tr>
<td width="640" height="30"><strong><span class="style3 style1"><font color="#CC33CC">---->供应商信息修改<----</font></span></strong></td>
</tr>
<tr>
<td width="640" height="25"><center class="style3 style1">
<strong><font color="#CC33CC">
<%
if(session.getAttribute("erro")=="null"){
%>
带星号的必须填!!
<%
session.removeAttribute("erro");
}else if(session.getAttribute("erro")=="fal"){
%>
供应商信息修改失败!!
<%
session.removeAttribute("erro");
}else if(session.getAttribute("erro")=="succ"){
%>
供应商信息修改成功!!
<%
session.removeAttribute("erro");
}
%>
<%if(session.getAttribute("shopa")!=null){
ShopAdress shopa=new ShopAdress();
shopa=(ShopAdress)session.getAttribute("shopa");
%>
</font></strong>
</center></td>
</tr>
<tr>
<td width="640" height="330"><form name="form1" method="post" action="<%=path%>/servlet/ShopAdressUpdate?gid=<%=shopa.getGid()%>">
<table width="444" height="256" align="center" bgcolor="#cccccc">
<tr>
<td width="122" height="20" bgcolor="#F1F4F8"><div align="right" class="style3 style1"><strong>供应商编号:</strong></div></td>
<td width="310" height="20" bgcolor="#F1F4F8"> <span class="style1"> <input name="id" type="text" size="20" value=<%=shopa.getGid() %>>
*</span></td>
</tr>
<tr>
<td height="20" bgcolor="#F1F4F8"><div align="right" class="style1 style3"><strong>供应商电话:</strong></div></td>
<td height="20" bgcolor="#F1F4F8"> <span class="style1"> <input name="gpho" type="text" size="20" value=<%=shopa.getGpho() %>>
</span></td>
</tr>
<tr>
<td height="20" bgcolor="#F1F4F8"><div align="right" class="style1 style3"><strong>所属公司:</strong></div></td>
<td height="20" bgcolor="#F1F4F8"> <span class="style1"> <input name="gfac" type="text" size="20" value=<%=shopa.getGfac() %>>
</span></td>
</tr>
<tr>
<td height="20" bgcolor="#F1F4F8"><div align="right" class="style1 style3"><strong>供应商名称:</strong></div></td>
<td height="20" bgcolor="#F1F4F8"> <span class="style1"> <input name="gname" type="text" size="20" value=<%=shopa.getGname() %>>
*</span></td>
</tr>
<tr>
<td height="20" colspan="2" bgcolor="#F1F4F8">
<div align="center" class="style1">
<input type="submit" name="Submit" value="提交">
<input type="reset" name="Submit2" value="重置">
</div></td>
</tr>
</table>
<%
}session.removeAttribute("shopa"); %>
</form></td>
</tr>
<tr>
<td width="640" height="40"> </td>
</tr>
</table>
</body>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -