diff --git a/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/DistributorAccountFirstTrialInfo.jsp b/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/DistributorAccountFirstTrialInfo.jsp index 1aac49dce..5b418d99e 100644 --- a/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/DistributorAccountFirstTrialInfo.jsp +++ b/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/DistributorAccountFirstTrialInfo.jsp @@ -8,7 +8,7 @@ String sPrevUrl = CurPage.getParameter("PrevUrl"); if(sPrevUrl == null) sPrevUrl = ""; String distributor_id = CurPage.getParameter("distributor_id"); - String sTempletNo = "DistributorAccountFirstTrialInfo";//--模板号-- + String sTempletNo = "DistributorAccountImportInfo";//--模板号-- ASObjectModel doTemp = new ASObjectModel(sTempletNo); //doTemp.setColTips("", "测试"); ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); @@ -28,5 +28,49 @@ var distributor_id = "<%=distributor_id%>"; AsControl.OpenView("/Tenwa/Lease/DistributorManage/DistributorApproval/DistributorAccountFirstTrialList.jsp", "distributor_no="+distributor_id,"_self",""); } + 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,"provinceInfo",sReturn[1]); + setItemValue(0,0,"district",""); + 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("@"); +// alert(sReturn[1]); + setItemValue(0,0,"district",sReturn[1]); + },"请选择地区",''); + + } + + + } <%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/DistributorAccountFirstTrialList.jsp b/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/DistributorAccountFirstTrialList.jsp index beac59d44..b65b37ea6 100644 --- a/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/DistributorAccountFirstTrialList.jsp +++ b/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/DistributorAccountFirstTrialList.jsp @@ -17,7 +17,7 @@ String sButtons[][] = { //{"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""}, {"true","All","Button","返回","返回列表","returnList()","","","","btn_icon_return"}, - {"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""}, + {"true","","Button","修改","修改","viewAndEdit()","","","","btn_icon_detail",""}, {"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","btn_icon_delete",""}, }; %><%@include file="/Frame/resources/include/ui/include_list.jspf"%> diff --git a/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/DistributorAccountImport.jsp b/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/DistributorAccountImport.jsp index 1969eacb3..89e1c51f9 100644 --- a/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/DistributorAccountImport.jsp +++ b/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/DistributorAccountImport.jsp @@ -18,7 +18,7 @@ {"true","","Button","修改","修改","viewAndEdit()","","","","btn_icon_detail",""}, {"true","","Button","导入Excel","导入Excel","importExcel()","","","","btn_icon_import"}, {"true","","Button","模版下载","模版下载","DistributorDownload()","","","","btn_icon_down",""}, - {"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","btn_icon_delete",""}, + //{"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","btn_icon_delete",""}, }; %><%@include file="/Frame/resources/include/ui/include_list.jspf"%>