📄 rpt_fixparam.jsp
字号:
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ page import="com.doone.uurm.*, com.doone.data.*, com.doone.fj1w.common.*" %>
<%@ page import="com.doone.fj1w.fjmgr.order.OrderService" %>
<%@ taglib uri="/WEB-INF/curstom-tags.tld" prefix="custom" %>
<%
response.reset();
response.setContentType("text/html; charset=utf-8");
request.setCharacterEncoding("GBK");
WebAuth auth = WebAuth.getInstance(request);
String cityCode = auth.getCityCode();
if (cityCode == null || cityCode.equals("") ) cityCode = "0590";
String cityName = auth.getCityName();
if (cityName == null || cityName.equals("") ) cityName = "全省";
java.util.Map _map = (java.util.Map)request.getAttribute("XMLPARAM");
try {
if ( _map == null ) throw new RuntimeException("参数不能为空。");
pageContext.setAttribute("SELECT_PARAM", _map);
}catch(Exception ex){}
String sType = request.getParameter("type");
String sPage = request.getParameter("page");
String sModal = request.getParameter("modal");
if ( sType.equals("0") ) {
// 输出记录数。
out.print("str-->500");
return ;
}
else if ( ! sType.equals("1") ) {
// 输出错误信息
return ;
}
DataTable oArea = null;
if ( ! cityCode.equals("0590") ) {
java.util.Map map = new java.util.HashMap();
map.put("CITYCODE", cityCode);
oArea = OrderService.getAreaList(request, response, map);
pageContext.setAttribute("AREA", oArea);
}
%>str--><table width="100%">
<tr>
<%
if(sModal == null || !sModal.equals("reckoning")){
%>
<td width="10%" class="Caption_Td" align="right" nowrap="nowrap">开始时间:</td>
<td width="15%" class="body_td" align="left" nowrap="nowrap">
<!--
<input type="text" name="STARTTIME" id="STARTTIME" title="双击清空。" style="width: 70%;" ondblclick="this.value='';" readonly="" /><span style="cursor:hand"
onclick="return showCalendar('STARTTIME', '%Y-%m-%d %H:%M', '24', true);">
<img border="0" src="../calendar/date_botton.gif" width="20" height="14">
-->
<input type="text" name="STARTTIME" id="STARTTIME" onFocus="CreateMonthView(this,false)" onBlur="DeleteMonthView(this)" value="" style="width: 100%;" >
</td>
<td width="10%" class="Caption_Td" align="right" nowrap="nowrap">结束时间:</td>
<td width="15%" class="body_td" align="left" nowrap="nowrap">
<input type="text" name="ENDTIME" id="ENDTIME" onFocus="CreateMonthView(this,false)" onBlur="DeleteMonthView(this)" value="" style="width: 100%;">
</td>
<%
}
%>
<td width="10%" class="Caption_Td" align="right" nowrap="nowrap">选择地市:</td>
<td width="15%" class="body_td" align="left" nowrap="nowrap">
<custom:HtmlSelect name="CITYCODE" style="width:100%" styleId="CITYCODE"
servicename="com.doone.fj1w.fjmgr.order.list.CityQueryImpl"
method="getList"
mapName="SELECT_PARAM"
onChange="fCityCode_OnChange(this);"
textFieldName="OPTIONTEXT"
valueFieldName="OPTIONVALUE"
value='<%= auth.getCityCode()%>'
disabled='<%= (auth.getCityCode()!=null)?"true":"false"%>'>
</custom:HtmlSelect>
</td>
<%
if(sPage == null || !sPage.equals("fun")){
%>
<td width="10%" class="Caption_Td" align="right" nowrap="nowrap">选择区域:</td>
<td width="15%" class="body_td" nowrap="nowrap">
<custom:HtmlSelect styleId="AREA" name="AREA" style="width: 100%"
dataSource="AREA"
textFieldName="AREANAME"
valueFieldName="AREACODE">
<custom:HtmlOption value="" disabled='<%= (oArea != null)?! oArea.getTableName().equalsIgnoreCase("TD_AREA"):false%>'>全部</custom:HtmlOption>
<custom:HtmlOption value="-1" disabled='<%= (oArea != null)?! oArea.getTableName().equalsIgnoreCase("TD_AREA"):false%>'>按地区统计</custom:HtmlOption>
</custom:HtmlSelect>
</td>
<%
}
else if(sModal != null && sModal.equals("reckoning")){{
%>
<td width="10%" class="Caption_Td" align="right" nowrap="nowrap"> </td>
<td width="15%" class="Caption_Td" nowrap="nowrap">
</td>
<td width="10%" class="Caption_Td" align="right" nowrap="nowrap"> </td>
<td width="15%" class="Caption_Td" nowrap="nowrap">
</td>
<td width="10%" class="Caption_Td" align="right" nowrap="nowrap"> </td>
<td width="15%" class="Caption_Td" nowrap="nowrap">
</td>
<%
}
%>
<%
}
else {
%>
<td width="10%" class="Caption_Td" align="right" nowrap="nowrap"> </td>
<td width="15%" class="Caption_Td" nowrap="nowrap">
</td>
<%
}
%>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -