assignsalchance.jsp
来自「通过这个系统完成对客户基本信息、联系人信息、交往信息、客户服务信息的充分共享和规」· JSP 代码 · 共 166 行
JSP
166 行
<%@ page language="java" pageEncoding="GBK"%>
<%@ include file="/include.inc"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>指派销售机会</title>
<link rel="stylesheet"
href="<%=request.getContextPath()%>/css/style.css" type="text/css"></link>
<link rel="stylesheet"
href="<%=request.getContextPath()%>/css/styles.css" type="text/css"></link>
<script type="text/javascript">
function change(obj){
}
//保存按钮
function dosave(){
var obj = document.getElementById("sel");
var index = obj.selectedIndex;
var value = obj.options[index].text;
if(index == 0){
alert("请选择指派经理");
return ;
}
document.getElementById("dueTo").value=obj;
var selectId = document.getElementById("salItem.chcDueId").value;
if(selectId == ""){
alert("请选择指派人");
}else{
document.forms[0].submit();
}
}
</script>
</head>
<body>
<html:form action="/chance.do?o=doAssign" method="post">
<div class="page_title">
销售机会管理 > 指派销售机会
</div>
<div class="button_bar">
<button class="common_button" onclick="help('');">
帮助
</button>
<button class="common_button" onclick="javascript:history.go(-1);">
返回
</button>
<button class="common_button" onclick="dosave();">
保存
</button>
</div>
<table class="query_form_table">
<tr>
<th>
编号
</th>
<td>
<html:hidden property="salItem.chcId" write="true"></html:hidden>
</td>
<th>
机会来源
</th>
<td>
<html:hidden property="salItem.chcSource" write="true"></html:hidden>
</td>
</tr>
<tr>
<th>
客户名称
</th>
<td>
<html:hidden property="salItem.chcCustName" write="true"></html:hidden>
</td>
<th>
成功机率(%)
</th>
<td>
<html:hidden property="salItem.chcRate" write="true"></html:hidden>
</td>
</tr>
<tr>
<th>
概要
</th>
<td colspan="3">
<html:hidden property="salItem.chcTitle" write="true"></html:hidden>
</td>
</tr>
<tr>
<th>
联系人
</th>
<td>
<html:hidden property="salItem.chcLinkman" write="true"></html:hidden>
</td>
<th>
联系人电话
</th>
<td>
<html:hidden property="salItem.chcTel" write="true"></html:hidden>
</td>
</tr>
<tr>
<th>
机会描述
</th>
<td colspan="3">
<html:hidden property="salItem.chcDesc" write="true"></html:hidden>
</td>
</tr>
<tr>
<th>
创建人
</th>
<td>
<html:hidden property="salItem.chcCreateId" />
<html:hidden property="salItem.chcCreateBy" write="true" />
</td>
<th>
创建时间
</th>
<td>
<html:hidden property="salItem.chcCreateDate" write="true" />
</td>
</tr>
</table>
<br />
<table class="query_form_table" id="table1">
<tr>
<th>
指派给
</th>
<td>
<html:hidden styleId="dueTo" property="salItem.chcDueTo" />
<html:select property="salItem.chcDueId" styleId="sel">
<html:option value="请选择...."></html:option>
<html:optionsCollection name="userList" label="usrName"
value="usrId" />
</html:select>
<span class="red_star">*</span>
</td>
<th>
指派时间
</th>
<td>
默认为当前时间
</td>
</tr>
</table>
</html:form>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?