diff --git a/WebContent/DealerDeposit/DMarginChargeInfo_Temp.jsp b/WebContent/DealerDeposit/DMarginChargeInfo_Temp.jsp index 19b1dc6e1..3edb3ed11 100644 --- a/WebContent/DealerDeposit/DMarginChargeInfo_Temp.jsp +++ b/WebContent/DealerDeposit/DMarginChargeInfo_Temp.jsp @@ -10,7 +10,7 @@ //String ProjectName = CurPage.getParameter("ProjectName"); /* if(sPrevUrl == null) sPrevUrl = "/DealerDeposit/DMarginChargeInfo_TempList.jsp"; */ BizObject flow=JBOFactory.createBizObjectQuery("jbo.com.tenwa.entity.comm.flow.FLOW_BUSSINESS_OBJECT","flow_unid=:flowunid").setParameter("flowunid", sFlowUnid).getSingleResult(false); - String DISTRIBUTOR_NO=flow.getAttribute("Flow_Key").getString(); +// String DISTRIBUTOR_NO=flow.getAttribute("Flow_Key").getString(); String sTempletNo = "DMarginChargeInfo_Temp";//--模板号-- ASObjectModel doTemp = new ASObjectModel(sTempletNo); /* doTemp.setColTips("", "测试"); */ diff --git a/WebContent/Tenwa/Lease/DistributorManage/DistributorChange/CustomerDistributorChangeApplyList.jsp b/WebContent/Tenwa/Lease/DistributorManage/DistributorChange/CustomerDistributorChangeApplyList.jsp index 1f1ce6be7..42e9dc302 100644 --- a/WebContent/Tenwa/Lease/DistributorManage/DistributorChange/CustomerDistributorChangeApplyList.jsp +++ b/WebContent/Tenwa/Lease/DistributorManage/DistributorChange/CustomerDistributorChangeApplyList.jsp @@ -16,8 +16,8 @@ //alert(distributor_name); var projectName = sReturn[1]+"-"+sReturn[2]; var sParams = "ApplyType=<%=sApplyType%>,CurUserID=<%=CurUser.getUserID()%>"; - //sParams = sParams+",FlowKey="+distributor_no+",ProjectName="+projectName+",distributor_no="+distributor_no+",distributor_name="+distributor_name; - sParams = sParams+",FlowKey="+distributor_no+",distributor_no="+distributor_no+",distributor_name="+distributor_name; + sParams = sParams+",FlowKey="+distributor_no+",ProjectName="+projectName+",distributor_no="+distributor_no+",distributor_name="+distributor_name; + //sParams = sParams+",FlowKey="+distributor_no+",distributor_no="+distributor_no+",distributor_name="+distributor_name; var sReturnInfo = RunJavaMethodTrans("com.tenwa.flow.action.comm.BaseFlowStartAction","initFLow",sParams); if(typeof(sReturnInfo)=="undefined" || sReturnInfo=="" || sReturnInfo=="_CANCEL_") return; diff --git a/WebContent/Tenwa/Lease/DistributorManage/DistributorChange/LDistributorInfo.jsp b/WebContent/Tenwa/Lease/DistributorManage/DistributorChange/LDistributorInfo.jsp index a916a45b0..ecb7ec7ea 100644 --- a/WebContent/Tenwa/Lease/DistributorManage/DistributorChange/LDistributorInfo.jsp +++ b/WebContent/Tenwa/Lease/DistributorManage/DistributorChange/LDistributorInfo.jsp @@ -84,7 +84,7 @@ function saveproj_name(){ setItemValue(0,0,"LIMIT_END_DATE",end_date); } //省市 - function selectRegionCode(){ +/* function selectRegionCode(){ var area_code = getItemValue(0,getRow(),"DISTRIBUTOR_ADDRESS"); AsDialog.PopView("/Common/ToolsA/AreaVFrame.jsp","AreaCode="+area_code,"dialogWidth=850px;dialogHeight=450px;center:yes;status:no;statusbar:no",function(sAreaCodeInfo){ //增加清空功能的判断 @@ -104,6 +104,46 @@ function saveproj_name(){ } } },'请选择省市'); + } */ + + var province="";//定义一个全局变量 + // 选择省份 + function selectProvinceCode(){ + AsDialog.OpenSelector("selectProvinceCode","","dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px", + function(sReturn){ + if(!sReturn||sReturn=="_CANCEL_"||sReturn==""){ + //alert(getHtmlMessage('1'));//请选择一条信息! + return; + } + sReturn = sReturn.split("@"); +// alert(sReturn[1]); + setItemValue(0,0,"provinces",sReturn[1]); + province=sReturn[0]; + setCertType(); + },"请选择省份",''); } + // 选择市区 + function selectCityCode(){ + //alert("参数:"+province); + if(province=="" || province==null){ + alert("请先选择省份。"); + return; + }else{ + AsDialog.OpenSelector("selectCityCode","province,"+province,"dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px", + function(sReturn){ + + if(!sReturn||sReturn=="_CANCEL_"||sReturn==""){ + //alert(getHtmlMessage('1'));//请选择一条信息! + return; + } + sReturn = sReturn.split("@"); + setItemValue(0,0,"DISTRIBUTOR_ADDRESS",sReturn[0]);//地区区号 + setItemValue(0,0,"DISTRIBUTOR_ADDRESSNAME",sReturn[1]);//地区 + },"请选择地区",''); + } + } + + + <%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file