业务申请,租赁车辆信息页面上牌城市字段添加选择城市方法
This commit is contained in:
parent
dfe0c6c3e4
commit
1aebc6533b
@ -116,6 +116,31 @@
|
||||
<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=定义按钮事件;]~*/%>
|
||||
<script type="text/javascript">
|
||||
|
||||
//省市
|
||||
function selectRegionCode(){
|
||||
var sCity = "";
|
||||
AsDialog.PopView("/Common/ToolsA/AreaVFrame.jsp","AreaCode="+sCity,"dialogWidth=850px;dialogHeight=450px;center:yes;status:no;statusbar:no",function(sAreaCodeInfo){
|
||||
//增加清空功能的判断
|
||||
if( sAreaCodeInfo == '_CANCEL_'){
|
||||
return;
|
||||
}
|
||||
if(sAreaCodeInfo == "NO" || sAreaCodeInfo == '_CLEAR_'){
|
||||
//setItemValue(0,getRow(),"province","");
|
||||
//setItemValue(0,getRow(),"provincename","");
|
||||
setItemValue(0,getRow(),"EQUIP_DELIVERY_PLACE","");
|
||||
}else{
|
||||
if(typeof(sAreaCodeInfo) != "undefined" && sAreaCodeInfo != ""){
|
||||
sAreaCodeInfo = sAreaCodeInfo.split('@');
|
||||
//sAreaCodeValue = sAreaCodeInfo[0];//-- 行政区划代码
|
||||
sAreaCodeName = sAreaCodeInfo[1];//--行政区划名称
|
||||
//setItemValue(0,getRow(),"province",sAreaCodeValue);
|
||||
//setItemValue(0,getRow(),"provincename",sAreaCodeName);
|
||||
setItemValue(0,getRow(),"EQUIP_DELIVERY_PLACE",sAreaCodeName);
|
||||
}
|
||||
}
|
||||
},'请选择省市');
|
||||
}
|
||||
|
||||
/*~[Describe=保存记录;InputParam=无;OutPutParam=无;]~*/
|
||||
function saveRecord(){
|
||||
var sFlowUnid = "<%=sFlowUnid%>";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user