86 lines
4.2 KiB
Plaintext
86 lines
4.2 KiB
Plaintext
<%@ page contentType="text/html; charset=GBK"%>
|
|
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
|
|
/*
|
|
Author: undefined 2018-05-23
|
|
Content: 示例详情页面
|
|
History Log:
|
|
*/
|
|
String sPrevUrl = CurPage.getParameter("PrevUrl");
|
|
if(sPrevUrl == null) sPrevUrl = "";
|
|
|
|
String sTempletNo = "LegalPersonApplicationInfo";//--模板号--
|
|
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
|
doTemp.setColTips("", "");
|
|
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
|
dwTemp.Style = "2";//freeform
|
|
//dwTemp.ReadOnly = "-2";//只读模式
|
|
dwTemp.genHTMLObjectWindow(CurPage.getParameter("FlowUnid"));
|
|
|
|
String sButtons[][] = {
|
|
{"true","All","Button","保存","保存所有修改","as_save(0)","","","",""},
|
|
{String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""}
|
|
};
|
|
sButtonPosition = "south";
|
|
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
|
<script type="text/javascript">
|
|
function returnList(){
|
|
AsControl.OpenView("<%=sPrevUrl%>", "","_self","");
|
|
}
|
|
|
|
function selectProviceCode(){//选择省份
|
|
var countrycode = getItemValue(0,getRow(),"countrycode");
|
|
if(typeof(countrycode)!=undefined && countrycode == 'CHN'){
|
|
var provincecode = getItemValue(0,getRow(),"provincecode");
|
|
var provincecodename = getItemValue(0,getRow(),"provincecodeodename");
|
|
AsDialog.SetTreeValue("SelectProvice", "__0000", "provincecode=itemno@provincecodename=itemname","itemno","itemname", [provincecode,provincecodename], false, true,"",function(sReturn){
|
|
sReturn = sReturn.split("@");
|
|
if(sReturn[0]!=provincecode){
|
|
setItemValue(0,getRow(),"citycode","");
|
|
setItemValue(0,getRow(),"citycodename","");
|
|
}
|
|
});
|
|
}
|
|
}
|
|
function selectCityCode(){//选择城市
|
|
var provincecode = getItemValue(0,getRow(),"provincecode");
|
|
if(typeof(provincecode)!=undefined && provincecode != ''){
|
|
var citycode = getItemValue(0,getRow(),"citycode");
|
|
var citycodename = getItemValue(0,getRow(),"citycodename");
|
|
var param = provincecode.substr(0,2);
|
|
AsDialog.SetTreeValue("SelectCity", param+'0000,'+param+'__00', "citycode=itemno@citycodename=itemname","itemno","itemname", [citycode,citycodename], false, true);
|
|
}
|
|
}
|
|
function selectEconomicType(){//选择经济类型
|
|
var sParaString = "CodeNo"+",EconomicType";
|
|
AsDialog.setObjectValue("SelectEconomicType",sParaString,"@economytype@0@economytypename@1",0,0,"resizable=yes;dialogWidth=400px;dialogHeight=355px;center:yes;status:no;statusbar:no");
|
|
}
|
|
function selectOrgnature(){//选择机构类型
|
|
var orgnature = getItemValue(0,getRow(),"orgnature");
|
|
var orgnaturename = getItemValue(0,getRow(),"orgnaturename");
|
|
AsDialog.SetTreeValue("SelectOrgnature", '_0', "orgnature=itemno@orgnaturename=itemname","itemno","itemname", [orgnature,orgnaturename], false, true);
|
|
}
|
|
function selectOrgnatureCategory(){//选择机构细分类
|
|
var orgnature = getItemValue(0,getRow(),"orgnature");
|
|
if(typeof(orgnature) != undefined && orgnature != ""){
|
|
var orgnaturecategory = getItemValue(0,getRow(),"orgnaturecategory");
|
|
var orgnaturecategoryname = getItemValue(0,getRow(),"orgnaturecategoryname");
|
|
AsDialog.SetTreeValue("SelectOrgnature", orgnature+'__', "orgnaturecategory=itemno@orgnaturecategoryname=itemname","itemno","itemname", [orgnaturecategory,orgnaturecategoryname], false, true);
|
|
}
|
|
}
|
|
function selectIndustryType(){//选择行业分类
|
|
var industryType = getItemValue(0,getRow(),"industrytype");
|
|
AsDialog.PopView("/Common/ToolsA/IndustryVFrame.jsp","IndustryType="+industryType,"dialogWidth=650px;dialogHeight=450px;center:yes;status:no;statusbar:no",function(sIndustryTypeInfo){
|
|
if(sIndustryTypeInfo == "NO"||sIndustryTypeInfo=="_CLEAR_"){
|
|
setItemValue(0,getRow(),"industrytype","");
|
|
setItemValue(0,getRow(),"industrytypename","");
|
|
}else if(typeof(sIndustryTypeInfo) != "undefined" && sIndustryTypeInfo != ""){
|
|
sIndustryTypeInfo = sIndustryTypeInfo.split('@');
|
|
sIndustryTypeValue = sIndustryTypeInfo[0];
|
|
sIndustryTypeName = sIndustryTypeInfo[1];
|
|
setItemValue(0,getRow(),"industrytype",sIndustryTypeValue);
|
|
setItemValue(0,getRow(),"industrytypename",sIndustryTypeName);
|
|
}
|
|
},"请选择行业分类");
|
|
}
|
|
</script>
|
|
<%@ include file="/Frame/resources/include/include_end.jspf"%> |