⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 edit.jsp

📁 主要实现管理客户以及客户信息和其公司的服务管理
💻 JSP
字号:
<%@ page language="java" pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>jb-aptech毕业设计项目</title>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="<%=request.getContextPath() %>/html/css/style.css" rel="stylesheet" type="text/css">
<script src="<%=request.getContextPath() %>/html/script/common.js"></script>
<script type="text/javascript">

    function savecus(obj1)
    {
       
       
        document.forms['doupdatecustomer'].action="<%=request.getContextPath()%>/customersAction.do?operate=doupdate&cid="+obj1;
	  	document.forms['doupdatecustomer'].submit();
    }
    function tolianxiren(ids)
    {
       
       
      var url="<%=request.getContextPath()%>/linkMan.do?operate=SearchLinkMan&id="+ids;
	  	to(url);
	  	
    }
    function tojilu(idss)
    {
       document.forms['doupdatecustomer'].action="<%=request.getContextPath()%>/intercourseInfo.do?operate=SearchInfo&intercourseinfoid="+idss;
	  	document.forms['doupdatecustomer'].submit();
    }
    function toOrders(obj1)
		{
		   document.forms['doupdatecustomer'].action="<%=request.getContextPath()%>/orders.do?operate=SearchOrders&id="+obj1;
		   document.forms['doupdatecustomer'].submit();
		}
    
    
</script>
</head>
<body>

<div class="page_title">客户信息管理 > 客户信息</div>
<div class="button_bar">
	<button class="common_button" onclick="help('');">帮助</button>
	<button class="common_button" onclick="tolianxiren('${customers.customersId}');">联系人</button>
	<button class="common_button" onclick="tojilu('${customers.customersId}');">交往记录</button>
	<button class="common_button" onclick="toOrders('${customers.customersId }');">历史订单</button>
	
	<button class="common_button" onclick="back();">返回</button>
	<button class="common_button" onclick="savecus('${customers.customersId}');">保存</button>
</div>
<html:form action="/customersAction?operate=doupdatecustomer" styleId="doupdatecustomer">
<table class="query_form_table">

	<tr>
		<th>客户编号</th>
		<td>
		${customers.customersNo }</td>
		<th>名称</th>
		<td><html:text property="item.customersName" value="${customers.customersName }"></html:text><span class="red_star">*</span></td>
	</tr>
	<tr>
		<th>地区</th>
		<td>
		    <html:select property="item.customersArea" value="${customers.customersArea }">
		    <html:option value="北京">北京</html:option>
		       <html:option value="上海">上海</html:option>
		         <html:option value="东北">东北</html:option>
		           <html:option value="西北">西北</html:option>
		             <html:option value="广州">广州</html:option>
		             
		    </html:select>
			
			<span class="red_star">*</span></td>
		<th>客户经理</th>
		<td>
		    <html:select property="item.manager" >
		       <c:forEach items="${linkman}" var="linkman">
		       <html:option value="${linkman.linkManId}">${linkman.linkManName}</html:option>
		       </c:forEach>
		    </html:select>
			<span class="red_star">*</span>
		</td>
	</tr>
	<tr>
		<th>客户等级</th>
		<td>
		
		    <html:select property="item.grade">
		    <c:forEach items="${listbasedata}" var="listbasedata">
		     <html:option value="${listbasedata.baseId }">${listbasedata.baseName }</html:option>
		     </c:forEach>
		    </html:select>
			<span class="red_star">*</span>
		</td>
		<th> </th>
		<td> </td>
	</tr>
	<tr>
		<th>客户满意度</th>
		<td>
		    <select name="item.customersSatisfaction">
		    	<option value="5">☆☆☆☆☆</option>
				<option value="4">☆☆☆☆</option>
				<option value="3">☆☆☆</option>
				<option value="2">☆☆</option>
				<option value="1">☆</option>
		    </select>
			<span class="red_star">*</span>
		</td>
		<th>客户信用度</th>
		<td>
		    <select name="item.customersCredits">
		    <option value="">请选择...</option>
				<option value="5">☆☆☆☆☆</option>
				<option value="4">☆☆☆☆</option>
				<option value="3">☆☆☆</option>
				<option value="2">☆☆</option>
				<option value="1">☆</option>
		    </select>
			<span class="red_star">*</span>
		</td>
	</tr>
</table>

<br />
<table class="query_form_table" id="table1">
	<tr>
		<th>地址</th>
		<td><html:text property="item.customersAddress" value="${customers.customersAddress}"></html:text><span class="red_star">*</span>
		</td>
		<th>邮政编码</th>
		<td><html:text property="item.customersPostcode" value="${customers.customersPostcode}"></html:text><span class="red_star">*</span></td>
	</tr>
	<tr>
		<th>电话</th>
		<td>
			<html:text property="item.customersPhone" value="${customers.customersPhone}"></html:text><span class="red_star">*</span></td>
		<th>传真</th>
		<td>
			<html:text property="item.customersFax" value="${customers.customersFax}"></html:text><span class="red_star">*</span>
		</td>
	</tr>	
	<tr>
		<th>网址</th>
		<td>
			<html:text property="item.customersUrl" value="${customers.customersUrl}"></html:text><span class="red_star">*</span>
		</td>
		<th> </th>
		<td> </td>
	</tr>
</table>
<br />
<table class="query_form_table" id="table2">
	<tr>
		<th>营业执照注册号</th>
		<td><html:text property="item.customersBlno" value="${customers.customersBlno}"></html:text></td>
		<th>法人</th>
		<td><html:text property="item.customersFr" value="${customers.customersFr}"></html:text><span class="red_star">*</span>
		</td>
	</tr>
	<tr>
		<th>注册资金(万元)</th>
		<td>
			<html:text property="item.customersZczj" value="${customers.customersZczj}"></html:text> </td>
		<th>年营业额</th>
		<td>
			<html:text property="item.customersSales" value="${customers.customersSales}"></html:text>
		</td>
	</tr>	
	<tr>
		<th>开户银行</th>
		<td>
			<html:text property="item.customersBank" value="${customers.customersBank}"></html:text><span class="red_star">*</span>
		</td>
		<th>银行帐号</th>
		<td><html:text property="item.customersBankNo" value="${customers.customersBankNo}"></html:text><span class="red_star">*</span></td>
	</tr>
	<tr>
		<th>地税登记号</th>
		<td><html:text property="item.customersLtax" value="${customers.customersLtax}"></html:text></td>
		<th>国税登记号</th>
		<td>:<html:text property="item.customersCtax" value="${customers.customersCtax}"></html:text></td>
	</tr>
</table>
</html:form>
<p> </p>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -