From e864ec2b90dac8658ae8ea6609b2d8d21e1d30b3 Mon Sep 17 00:00:00 2001 From: tangfutang Date: Thu, 25 Jul 2019 18:57:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E6=89=8B=E8=BD=A6=E4=B8=8A=E7=89=8C?= =?UTF-8?q?=E5=9C=B0=E5=8C=BA=E5=8F=AA=E8=83=BD=E9=80=89=E6=8B=A9=E5=88=B0?= =?UTF-8?q?=E5=B8=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/Common/ToolsA/AreaVFrame.jsp | 10 +- .../Common/ToolsA/SuedCarAreaCodeSelect.jsp | 119 ++++++++++++++++++ .../Comm/LBEquipment_Car/LBEquipmentInfo.jsp | 2 +- 3 files changed, 128 insertions(+), 3 deletions(-) create mode 100644 WebContent/Common/ToolsA/SuedCarAreaCodeSelect.jsp diff --git a/WebContent/Common/ToolsA/AreaVFrame.jsp b/WebContent/Common/ToolsA/AreaVFrame.jsp index 83762e0f0..0c3e6bac2 100644 --- a/WebContent/Common/ToolsA/AreaVFrame.jsp +++ b/WebContent/Common/ToolsA/AreaVFrame.jsp @@ -3,10 +3,16 @@ Content: 左右框架页面 ,行政区划 */ String sAreaCode = CurPage.getParameter("AreaCode"); + String usedCar = CurPage.getParameter("usedCar"); %><%@include file="/Resources/CodeParts/Frame03.jsp"%> <%@ include file="/IncludeEnd.jsp"%> \ No newline at end of file diff --git a/WebContent/Common/ToolsA/SuedCarAreaCodeSelect.jsp b/WebContent/Common/ToolsA/SuedCarAreaCodeSelect.jsp new file mode 100644 index 000000000..b2a331174 --- /dev/null +++ b/WebContent/Common/ToolsA/SuedCarAreaCodeSelect.jsp @@ -0,0 +1,119 @@ +<%@ page contentType="text/html; charset=GBK"%><%@ + include file="/IncludeBeginMD.jsp"%><% + /* + 页面说明: 选择行政区划 + */ + String sAreaCodeValue = CurPage.getParameter("AreaCodeValue");//在该页面打开后打开二级分类时传值。 + String sAreaCode = CurPage.getParameter("AreaCode");//已有值时,做初始化传入。 + String sOpen = ""; + String sDefaultItem = ""; + String sDefaultItem2 = ""; + + if(sAreaCode.length()>3) sDefaultItem = sAreaCode.substring(0,4); + if(sAreaCode!=null&&sAreaCode.length()>4){ + sOpen = "YES";//暂不作控制。 + sDefaultItem2 =sAreaCode; + } +%> + + +请选择行政区划 + + + + +
+
+ + + + + + + <% + if(sAreaCodeValue == null){ + %> + +

行政区划大类

+ + + <%}%> + +
+ + + + + + +
<%=new Button("确定","确定","newBusiness()","","").getHtmlText()%><%=new Button("取消","取消","goBack()","","").getHtmlText()%><%=new Button("清空","清空","clearAll()","","").getHtmlText()%>
+
+
+
+ + + +<%@ include file="/IncludeEnd.jsp"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp index 4f84d14cc..74feff739 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp @@ -203,7 +203,7 @@ //省市 function selectRegionCode(){ var sCity = ""; - AsDialog.PopView("/Common/ToolsA/AreaVFrame.jsp","AreaCode="+sCity,"dialogWidth=850px;dialogHeight=450px;center:yes;status:no;statusbar:no",function(sAreaCodeInfo){ + AsDialog.PopView("/Common/ToolsA/AreaVFrame.jsp","AreaCode="+sCity+"&usedCar=usedCar","dialogWidth=340px;dialogHeight=450px;center:yes;status:no;statusbar:no",function(sAreaCodeInfo){ //增加清空功能的判断 if( sAreaCodeInfo == '_CANCEL_'){ return;