📄 dispatch.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=UTF-8">
<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 doAssgin(obj){
var user= document.forms['pageForm'].elements['sales.assignId'];
if(user.value==""){
alert("请选择指派人");
return ;
}
document.forms['pageForm'].action="<%=request.getContextPath()%>/sales.do?method=doAssgin&sid="+obj;
document.forms['pageForm'].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="back();">返回</button>
<button class="common_button" onclick="doAssgin('${sales.salesChanceId }');">保存</button>
</div>
<html:form action="/sales" method="post" styleId="pageForm">
<table class="query_form_table">
<tr>
<th>编号</th>
<td>${sales.salesChanceId }</td>
<th>机会来源</th>
<td>
${sales.salesChanceSource } </td>
</tr>
<tr>
<th>客户名称</th>
<td>${sales.salesChanceCustomerName }</td>
<th>成功机率(%)</th>
<td> ${sales.salesChanceSucessOdds }</td>
</tr>
<tr>
<th>概要</th>
<td colspan="3">${sales.salesChanceSummary }</td>
</tr>
<tr>
<th>联系人</th>
<td>${sales.salesChanceLinkMan }</td>
<th>联系人电话</th>
<td>${sales.salesChanceLinkManPhone }</td>
</tr>
<tr>
<th>机会描述</th>
<td colspan="3">${sales.salesChanceDescription }</td>
</tr>
<tr>
<th>创建人</th>
<td>${sales.userInfoBySalesChanceCreaterId.userName }</td>
<th>创建时间</th>
<td>${sales.salesChanceDataTime }</td>
</tr>
</table>
<br />
<table class="query_form_table" id="table1">
<tr>
<th>指派给</th>
<td>
<html:select property="sales.assignId">
<html:option value="">请选择...</html:option>
<c:forEach items="${userlist}" var="user">
<html:option value="${user.userId}">${user.userName}</html:option></c:forEach>
</html:select><span class="red_star">*</span></td>
<th>指派时间</th>
<td>
<input id="t2" name="T20" readonly size="20" /><span class="red_star">*</span></td>
</tr>
</table></html:form>
<script>
setCurTime('t2');
</script>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -