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

📄 chance_dispatch.jsp

📁 crm系统 有源码 及相关文档sql2005 数据库 客户反馈模块
💻 JSP
字号:
<%@ page language="java" pageEncoding="GBK" %>

<%@ 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="/WEB-INF/jb-common.tld" prefix="jb"  %>
<script src="validate.js" ></script>
<script src="icommon.js" ></script>
<html:errors/>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
  <head>
    <title>修改销售机会</title>
	<link rel="stylesheet" type="text/css" href="styles.css" >
	<script>
		function doDel(id){
			if ( window.confirm("确定删除?") ){
				window.location.href = "?o=doDel&id=" + id;
			}
		}
	</script>
  </head>

  <body class="main">
  <html:form action="chance" method="post">
  	<html:hidden property="o" value="doDispatch" />
  	<html:hidden property="item.chcId" />
  		<span class="page_title">修改销售机会</span>
		<div class="button_bar">
			<button class="common_button" onclick="javascript:help();">帮助</button>
			<button class="common_button" onclick="javascript:history.go(-1);">返回</button>
			<button class="common_button" onclick="javascript:doSubmit('doDispatch');">保存</button>
		</div>
		<table class="query_form_table" border="0" cellPadding="3" cellSpacing="0">
			<tr>
				<th>编号</th>
				<td>${chanceForm.item.chcId }&nbsp;</td>
								<th>机会来源</th>
				<td>${chanceForm.item.chcSource }&nbsp;</td>
			</tr>
			<tr>
				<th>客户名称</th>
				<td>${chanceForm.item.chcCustName }&nbsp;</td>
				<th>成功机率(%</th>

				<td>${chanceForm.item.chcRate }&nbsp;</td>
			</tr>
			<tr><th>概要</th>
				<td colspan="2">${chanceForm.item.chcTitle }&nbsp;</td>
								
								
			</tr>
			<tr><th>联系人</th>

				<td>${chanceForm.item.chcLinkman }&nbsp;</td>
								<th>联系人电话</th>
				<td>${chanceForm.item.chcTel }&nbsp;</td>
						
			</tr>
			<tr>
					<th>机会描述</th>
				<td colspan="3">${chanceForm.item.chcDesc }&nbsp;</td>
			</tr>
			<tr>
								<th>创建人</th>
				<td>
				${chanceForm.item.chcCreateBy }&nbsp;</td>
							

								<th>创建时间</th>
				<td><bean:write name="chanceForm" property="item.chcCreateDate" format="yyyy年MM月dd日" />&nbsp;</td>
			</tr>
		</table>
		<br />
		<table class="query_form_table" border="0" cellPadding="3" cellSpacing="0">				
			<tr>					<th>指派给</th>
				<td>
					<html:select property="item.chcDueId" onchange="setLabel(this,'item.chcDueTo');">
						<html:option value="0">未指定</html:option>
						<html:optionsCollection name="USERS_OPTIONS" label="usrName" value="usrId" />
					</html:select>					
					<html:hidden property="item.chcDueTo" /><span class="red_star">*</span>
				</td>
			<th>指派时间</th>
				<td><input readonly="true" name="chcDueDate" /><span class="red_star">*</span></td>
			</tr>
		</table>
		
		<script>
		build_validate("item.chcDueId","指派给不能为空","Limit","1","50");
		setCurTime('chcDueDate');
		function setLabel(oSrc,tTarName)
		{			
			var oCtl = document.forms[0].elements[tTarName];
			oCtl.value = oSrc.options[oSrc.selectedIndex].text;
		}
		</script>
	</html:form>	
  </body>
</html:html>

⌨️ 快捷键说明

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