📄 dstwvlg0141.jsp
字号:
<!-- DSTWVLG0141.jsp 车辆查询一览 -->
<%@ include file="../../config.jsp"%>
<%@ page import="java.lang.*" %>
<%@ page import="cn.com.toyota.sales.dist.vehicle.vehicleinquiry.*" %>
<%@ page import="com.nec.jp.treck.core.base.*" %>
<%@ page import="com.nec.jp.treck.core.base.form.*" %>
<%@ page import="com.nec.jp.treck.core.common.*" %>
<%@ page import="java.util.*" %>
<% PropertyManager pMgr = PropertyManager.getInstance(); %>
<% String strThisServlet = "VlgVehicleInquiry.SRV";
String strErrMsg = "";
String makerType=null;
//System.out.println("********************************************************************************");
String strmodstrThisModel = pMgr.getProperty("model." + strThisServlet);
//System.out.println("strmodstrThisModel:=="+strmodstrThisModel);
//System.out.println("********************************************************************************");
VlgVehicleInquiryModel modThisModel = (VlgVehicleInquiryModel)session.getAttribute(strmodstrThisModel);
if (modThisModel == null) {
//System.out.println("JSP NULL : session.getAttribute()");
try{
modThisModel = new VlgVehicleInquiryModel();
} catch( Exception ex ){
out.println("!!!!!!!!!!!!!!!!! new model ");
}
}
%>
<html>
<head>
<title>
Vehicle Inquiry
</title>
<%
String styleFileName = pMgr.getProperty("treck.styleSheet");
String styleType = "";
if (session.getAttribute("STYLEFLAG")!=null){
styleType = session.getAttribute("STYLEFLAG")+"";
}else{
styleType = "0";
}
styleFileName = styleFileName.substring(0,styleFileName.length()-4)+styleType+".css";
%>
<link rel=stylesheet href=/<%=styleFileName%> type="text/css">
<!--siyahong-20060411---add---start--->
<SCRIPT Language="JavaScript">
function dosrvfile() {
window.open('VlgVehicleInquiry.SRV?submit=POPUP','VlgVehicleInquiryDownload', 'top=300,left=350,width=300,height=50,menubar=no,toolbar=no,status=no,revisable=no,directions=no');
}
</SCRIPT>
<!--siyahong-20060411---add---end--->
<style type="text/css">
<!--
.style1 {color: #FF0000}
-->
</style>
</head>
<!--siyahong-20060411---modify---start--->
<body
<%
if (modThisModel.bDBException ){%><%=modThisModel.strErrorPath%>
<% //System.out.println("%%%%%%%%%%%%%%%%%%%%%%%%bexception$$$$$$$$$$$$$$$$$$$$$$$$$$");
}%>
<% System.out.println("????????????bOutExlFlag=" + modThisModel.bOutExlFlag);
if (modThisModel.bOutExlFlag) {
System.out.println("????? will execute dosrvfile ....");
%>
onload="dosrvfile()"
<%} else {
}%>
>
<!--siyahong-20060411---modify---end--->
<form method="post" action=<%=strThisServlet%> onsubmit="return MM_popupMsg(msg)" name="f1" >
<!--modify by yanxiao 20061213 start-->
<!-- modify by shanlihua 20070110 start
<%// String strPageName="Vehicle Inquiry";%> -->
<% String strPageName="Vehicle Status Inquiry";%>
<!-- modify by shanlihua 20070110 end-->
<%@ include file="/cn/toyota_sales/title.jsp"%>
<!--
<table width=720 border="0" align="center" class="table">
<tr>
<td><br><br><br>
<div align="center"><a class="title">Vehicle Inquiry</a></div>
</td>
</tr>
</table>
-->
<!--modify by yanxiao 20061213 end-->
<!-- add by yanxiao 20061213 start-->
<div align="left">
<!-- add by yanxiao 20061213 end-->
<table class="table" border="0" width=748 height="0">
<!--siyahong-20060413---modify---start--->
<%
if(modThisModel.bErrorFlag || modThisModel.bOutExlFlag ){%>
<jsp:include page="CmnMsg0001.jsp" />
<%}else{ if (!modThisModel.bOutExlFlag){ %>
<jsp:include page="CmnMsg0001.jsp" />
<%}else{ %>
<br>
<%}}%>
<!--siyahong-20060413---modify---end--->
</table>
<TABLE class="table" width=750 border=0>
<TBODY>
<TR>
<td width="30%" height="30" align="left" true>Model</td>
<td width="3%" align="left" height="30" true>
<input class="text" type="text" name="<%=modThisModel.textModel.getName()%>"
<%
//System.out.println("################");
//System.out.println(modThisModel.textModel.getValue());
//System.out.println("################");
%>
value="<%=modThisModel.textModel.getValue()%>" size='17' maxlength='25' <%=modThisModel.textModel.getStatus()%> ></td>
<td width="3%" align="center" height="30" true>SFX</td>
<td width="8%" align="left" height="30" true>
<input class="text" type="text" name="<%=modThisModel.textSfx.getName()%>" value="<%=modThisModel.textSfx.getValue()%>" size='10' maxlength='15' <%=modThisModel.textSfx.getStatus()%> ></td>
<td width="25%" align="center" height="30" true>Ext.Color</td>
<td width="28%" align="left" height="30" true>
<input class="text" type="text" name="<%=modThisModel.textExtCol.getName()%>" value="<%=modThisModel.textExtCol.getValue()%>" size='6' maxlength='8' <%=modThisModel.textExtCol.getStatus()%> ></td>
<td width="5%" align="center" height="30" true>Status<br>
</td>
<td width="5%" align="left" height="30" true>
<select class="select" name="<%=modThisModel.statusSelect.getName()%>" <%=modThisModel.statusSelect.getStatus()%>>
<%
for(Enumeration ops=modThisModel.statusSelect.elements();ops.hasMoreElements();){
TfpOption op=(TfpOption)ops.nextElement();
if (op.getSelected()=="SELECTED"){
makerType=op.getValue();
}
%>
<option value="<%=op.getValue()%>" <%=op.getSelected()%>><%=op.getLabel()%></option>
<%
}
%>
</select>
</TR></TBODY>
<TR> <!--siyahong-20060414---modify---start--->
<td width="10%" align="left" height="30" true style="color:red">ETD<br>
</td>
<!--siyahong-20060414---modify---end--->
<td width="3%" align="right" height="30" true style="color:red"> From
<input class="text" type="text" name="<%=modThisModel.textLineOffFrom.getName()%>" value="<%=modThisModel.textLineOffFrom.getValue()%>" size='10' maxlength='10' <%=modThisModel.textLineOffFrom.getStatus()%> ></td>
<td width="3%" align="right" height="30" true style="color:red"> To<br>
</td>
<!--edit by zhangliqiang being-->
<td align="left" height="30" true>
<input class="text" type="text" name="<%=modThisModel.textLineOffTo.getName()%>" value="<%=modThisModel.textLineOffTo.getValue()%>" size='10' maxlength='10' <%=modThisModel.textLineOffTo.getStatus()%> ></td>
<!--add by jianghongwei begin-->
<td width="3%" align="right" height="30" true> DealerCode<br>
</td>
<td width="4%" align="left" height="30" true>
<input class="text" type="text" name="<%=modThisModel.textDealerCode.getName()%>" value="<%=modThisModel.textDealerCode.getValue()%>" size='10' maxlength='10' <%=modThisModel.textDealerCode.getStatus()%> ></td>
<!--add by jianghongwei end-->
<td align="right" height="30" colspan=4 true>
<!--siyahong-20060411---add---start--->
<input class="button" type="submit" name="<%=modThisModel.btDownload.getName()%>" value="<%=modThisModel.btDownload.getValue()%>" <%=modThisModel.btDownload.getStatus()%>>
<!--siyahong-20060411---add---end--->
<input class="button" type="submit" name="<%=modThisModel.btSearch.getName()%>" value="<%=modThisModel.btSearch.getValue()%>" <%=modThisModel.btSearch.getStatus()%>>
<input class="button" type="submit" name="<%=modThisModel.btClear.getName()%>" value="<%=modThisModel.btClear.getValue()%>" <%=modThisModel.btClear.getStatus()%>>
</td>
<!--edit by zhangliqiang end-->
</TR></TABLE>
<%
if(modThisModel.listMemberSet!=null && modThisModel.listMemberSet.size()>0){
%>
<!--modify by yanxiao 20061213 start-->
<TABLE class="table" width=720 border=0>
<TBODY>
<TR>
<!--
<TABLE class="table" width=720 align=center border=0>
<TBODY>
<TR>
-->
<!--modify by yanxiao 20061213 end-->
<TD width=158><FONT face="Arial Unicode MS" size=2>TOTAL
Quantity</FONT></TD>
<TD width=769><FONT face="Arial Unicode MS"
size=5><STRONG><%=modThisModel.listMemberSet.size()%></STRONG></FONT></TD></TR></TBODY></TABLE>
<table class="showTab" width=760 border="0">
<tr class="titlebgcolor">
<td width="20%" nowrap="true"><div align="center">VIN</div></td>
<td width="20%" nowrap="true"><div align="center">Model</div></td>
<td width="5%" nowrap="true"><div align="center">SFX</div></td>
<td width="5%" nowrap="true"><div align="center">Ext.<br> Color</div></td>
<td width="5%" nowrap="true"><div align="center">Int.<br>Color</div></td>
<td width="10%" nowrap="true"><div align="center">Engine</div></td>
<td width="10%" nowrap="true"><div align="center">Status</div></td>
<td width="10%" nowrap="true"><div align="center">L/O</div></td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -