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

📄 modfiycust.jsp

📁 java阿里巴巴代码
💻 JSP
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
 "http://www.w3.org/TR/html4/strict.dtd">
<%@ page contentType="text/html;charset=GBK"%>
<%@ page import="java.util.*"%>
<%@ page import="com.saas.biz.custMgr.Custinfo"%>
<%@ page import="com.saas.biz.serverMgr.ServerInfo"%>
<%@ page import="com.saas.biz.commen.ParamethodMgr"%>
<%@ page import="com.saas.biz.AreaInfoMgr.AreaInfo"%>
<%@ page import="com.saas.biz.userMgr.UserDetailInfo"%>
<%@ page import="com.saas.biz.commen.commMethodMgr"%>
<jsp:useBean id="bean" class="com.saas.biz.commen.commMethodMgr" scope="page" />
<html>
	<head>
	<title>修改客户资料</title>
	<link href="/style/layout.css" rel="stylesheet" type="text/css">
	<script type="text/javascript" src="/ext/adapter/ext/ext-base.js"></script>
	<script type="text/javascript" src="/ext/ext-all.js"></script>
	<link rel="stylesheet" type="text/css" href="/ext/resources/css/ext-all.css"/>
	<script type='text/javascript' src='<%=request.getContextPath()%>/dwr/interface/AreaInfo.js'></script>
	<script type='text/javascript' src='<%=request.getContextPath()%>/dwr/engine.js'></script>  
	<script type='text/javascript' src='<%=request.getContextPath()%>/dwr/util.js'></script>  
	<style type="text/css">
	.line6 {width:72spx; width:70spx!important;border:#ffcb99 1px solid;  background-color:#fff8ee; text-align:left; padding-left: 20px;padding-top: 10px;padding-bottom: 10px; color:#000000; margin-top:13px; margin-bottom:13px;}   /*横栏样式6---- 头部提醒1*/
	.line6 .img{width:53px; height:53px; float:left; margin-right:20px;}
	.line6 .title {font-size:14px; font-weight:bold; color:#ff5400;}
	.line1 {border-left:#ff7300 3px solid; background-color:#e2e2e2; color:#333333;text-align:left; font-size:12px;}  /*横栏样式1*/
	h1 {float:left;padding-left:8px; font-size:15px; font-weight:bold; padding-top:5px;}
	#td{
			width:100px;
			text-align:right;
			margin-left:5px;
			height:30px;
			line-height:30px;
			}
</style>
<script language="javascript">
	function checkValue()
	{
		if(window.confirm("确定要提交吗?")){
		}else{
		 return false;
		}
	}
</script>
</head>
<%   
  HttpSession  logsession = request.getSession();     
  String cust_id="";
  if (logsession.getAttribute("SESSION_CUST_ID") != null)
  {
      cust_id = logsession.getAttribute("SESSION_CUST_ID").toString();
  }
  ArrayList custList=new ArrayList();
  String cust_name="",cust_type="",cust_aim="",all_emp_count="",china_emp_count="",local_emp_count="",
         fax_nbr="",group_contact_phone="",email="",company_address="",calling_area_code="",client_status="",
  			 juristic="",juristic_type_code="",post_addr="",job="",qq="",home_addr="",blog="",post_code="",
  			 local_native_code="",group_attr="",class_id="",develope_man="",develope_channel="",pspt_type_code="",
  			 eparchy_code="",province="",city="",group_memo="",scope="",website="",user_count="",user_id="",
  			 pspt_id="",pspt_addr="",city_code="",reg_money="",enterprise_size_code="",calling_type_code="",
  			 enterprise_type_code="",enterprise_scope="";
  boolean modify=false;
 
 // out.print("cust_id = " + cust_id  );
  String folk_code = bean.genOption("folk_code");
  ParamethodMgr paramCom = new ParamethodMgr();
  ArrayList workList = paramCom.getCompareInfo("CRM", "work_name");
  ArrayList degreeList = paramCom.getCompareInfo("CRM", "degree");
  ArrayList userCountList = paramCom.getCompareInfoByAttr("53");
  AreaInfo arae=new AreaInfo();
  ArrayList userList=new ArrayList();
  Map country_Map=new HashMap();
  country_Map=arae.getCountryAllByCode("cn"); 
  try
  {
  	custList=new Custinfo().getCustInfo(cust_id);  
  }
  catch(Exception ex)
  {
    out.print(ex.getMessage());
  }
  
  //out.print( "********custList = " + custList );
   
  if(custList !=null && custList.size()>0)
  {
    HashMap map=(HashMap)custList.get(0);
    if(map.get("cust_name")!=null)
    {	
     	cust_name=map.get("cust_name").toString();
    }
    if(map.get("cust_type")!=null)
    {	
     	cust_type=map.get("cust_type").toString();
    }
		if(map.get("cust_aim")!=null)
		{
			cust_aim=map.get("cust_aim").toString();
		}
		if(map.get("all_emp_count")!=null)
		{
			all_emp_count=map.get("all_emp_count").toString();
		}
		if(map.get("local_emp_count")!=null)
		{
			local_emp_count=map.get("local_emp_count").toString();
		}
		if(map.get("china_emp_count")!=null)
		{
			china_emp_count=map.get("china_emp_count").toString();
		}
		if(map.get("fax_nbr")!=null)
		{
			fax_nbr=map.get("fax_nbr").toString();
		}
		if(map.get("group_contact_phone")!=null)
		{	
			group_contact_phone=map.get("group_contact_phone").toString();
		}
		if(map.get("email")!=null)
		{
			email=map.get("email").toString();
		}
		if(map.get("company_address")!=null)
		{	
			company_address=map.get("company_address").toString();
		}
		if(map.get("post_code")!=null)
		{	
			post_code=map.get("post_code").toString();
		}
		if(map.get("juristic")!=null)
		{
			juristic=map.get("juristic").toString();
		}
		if(map.get("juristic_type_code")!=null)
		{
			juristic_type_code=map.get("juristic_type_code").toString();
		}
		if(map.get("group_memo")!=null)
		{
			group_memo=map.get("group_memo").toString();
		}
		if(map.get("scope")!=null)
		{
			scope=map.get("scope").toString();
		}
		if(map.get("website")!=null)
		{
			website=map.get("website").toString();
		}
		if(map.get("user_count")!=null)
		{
			user_count=map.get("user_count").toString();
		}
		
		if(map.get("group_attr")!=null)
		{
			group_attr=map.get("group_attr").toString();
		}
		
		if(map.get("client_status")!=null)
		{
			client_status=map.get("client_status").toString();
		}
		
		if(map.get("calling_area_code")!=null)
		{
			calling_area_code=map.get("calling_area_code").toString();
		}
		if(map.get("eparchy_code")!=null)
		{
			eparchy_code=map.get("eparchy_code").toString();
		}
		if(map.get("city_code")!=null)
		{
			city_code=map.get("city_code").toString();
		}
		if(map.get("province")!=null)
		{
			province=map.get("province").toString();
		}
		if(map.get("city")!=null)
		{
			city=map.get("city").toString();
		}
		if(map.get("class_id")!=null)
		{
			class_id=map.get("class_id").toString();
		}
		if(map.get("develope_man")!=null)
		{
			develope_man=map.get("develope_man").toString();
		}
		if(map.get("develope_channel")!=null)
		{
			develope_channel=map.get("develope_channel").toString();
		}
		if(map.get("pspt_type_code")!=null)
		{
			pspt_type_code=map.get("pspt_type_code").toString();
		}
		if(map.get("pspt_id")!=null)
		{
			pspt_id=map.get("pspt_id").toString();
		}
		if(map.get("pspt_addr")!=null)
		{
			pspt_addr=map.get("pspt_addr").toString();
		}
		if(map.get("reg_money")!=null)
		{
			reg_money=map.get("reg_money").toString();
		}
		if(map.get("enterprise_size_code")!=null)
		{
			enterprise_size_code=map.get("enterprise_size_code").toString();
		}
		if(map.get("calling_type_code")!=null)
		{
			calling_type_code=map.get("calling_type_code").toString();
		}
		if(map.get("enterprise_type_code")!=null)
		{
			enterprise_type_code=map.get("enterprise_type_code").toString();
		}
		if(map.get("enterprise_scope")!=null)
		{
			enterprise_scope=map.get("enterprise_scope").toString();
		}
  }
  
  commMethodMgr commen = new commMethodMgr();
 /*	String idx = commen.GenTradeId();*/
   String idx = cust_id;
  
  %>
<font color="#000000"></font>
<body>
 <form name=form1 action=/doTradeReg.do method=post target="_self">
	<table width=100% border=0 cellpadding=2 cellspacing=1 align=center bgcolor="#e7e7e7" style="margin-top:10px;">
  <tr>
    <td class="line1"  colspan="3" style="background-color:#e2e2e2; color:#000000;  font-weight:bold; font-size:13px;"  width="150" align="center">
     <%      
        out.print("修改客户资料!");   
     %>
    </td>
  </tr>
  <tr style="background-color:#f9f9f9; ">
      <td width="18%" align="right" style=" color:#000000; font-weight:bolder;">客户名称:</td>
      <td colspan="2" align="left" width="82%">
	      <div class="ping1">
	  			<input type="text" name="cust_name" readonly="true" size="20" maxlength="100" value="<%=cust_name%>">
	  		</div>
	  	</td>
	</tr>
	<tr style="background-color:#f9f9f9; display:none; ">
      <td width="18%" align="right" style=" color:#000000; font-weight:bolder;">客户类型:</td>
      <td colspan="2" align="left" width="82%">
	    	<div class="ping1">
	    	  <input type="text" name="cust_type" value="<%=cust_type%>">	
	    	</div>  
	    </td>
	</tr>	
	<tr style="background-color:#f9f9f9; ">
      <td align="right"style=" color:#000000; font-weight:bolder;">公司名称:</td>
      <td colspan="2" align="left">
	      <div class="ping1">
	      	<input type="text" name="cust_aim"  size="30" maxlength="30" value="<%=cust_aim%>">
	      </div>
	    </td>	    
	</tr>
	<tr style="background-color:#f9f9f9;  ">
      <td width="18%" align="right" style=" color:#000000; font-weight:bolder;">企业类型:</td>
      <td colspan="2" align="left" width="82%">
	    	<div class="ping1">
	    	  <input type="text" name="enterprise_type_code" value="<%=enterprise_type_code%>">	
	    	</div>  
	    </td>
	</tr>	
	<tr style="background-color:#f9f9f9;  ">
      <td width="18%" align="right" style=" color:#000000; font-weight:bolder;">行业类别:</td>
      <td colspan="2" align="left" width="82%">
	    	<div class="ping1">

⌨️ 快捷键说明

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