?? 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 + -