更改账户信息

This commit is contained in:
linxiaoping 2018-06-17 12:14:21 +08:00
parent 53104c097d
commit c1eab8db5e

View File

@ -46,7 +46,7 @@
//省市
function selectRegionCode(){
var area_code = getItemValue(0,getRow(),"district");
AsDialog.PopView("/Common/ToolsA/AreaVFrame.jsp","dialogWidth=850px;dialogHeight=450px;center:yes;status:no;statusbar:no",function(sAreaCodeInfo){
AsDialog.PopView("/Common/ToolsA/AreaVFrame.jsp","AreaCode="+area_code,"dialogWidth=850px;dialogHeight=450px;center:yes;status:no;statusbar:no",function(sAreaCodeInfo){
//增加清空功能的判断
if( sAreaCodeInfo == '_CANCEL_'){
return;
@ -54,14 +54,14 @@
if(sAreaCodeInfo == "NO" || sAreaCodeInfo == '_CLEAR_'){
setItemValue(0,getRow(),"district","");
//setItemValue(0,getRow(),"DISTRIBUTOR_ADDRESSNAME","");
}else{
} else{
if(typeof(sAreaCodeInfo) != "undefined" && sAreaCodeInfo != ""){
sAreaCodeInfo = sAreaCodeInfo.split('@');
sAreaCodeValue = sAreaCodeInfo[0];//-- 行政区划代码
sAreaCodeName = sAreaCodeInfo[1];//--行政区划名称
//setItemValue(0,getRow(),"DISTRIBUTOR_ADDRESS",sAreaCodeValue);
setItemValue(0,getRow(),"district",sAreaCodeName);
}
}
}
},'请选择省市');
}