信呼OA版本v2.3.8

This commit is contained in:
雨中磐石
2022-08-14 16:47:40 +08:00
parent 4640677d27
commit e3fcd913e3
1405 changed files with 133635 additions and 73 deletions

View File

@@ -0,0 +1,19 @@
//初始函数
function initbodys(){
c.onselectdata['sheng'] = function(d){
if(!d.shengname)return;
if(form('sheng'))form('sheng').value = d.shengname;
if(form('shi'))form('shi').value = d.cityname;
}
}
//地图选择
c.onselectmap=function(sna,res){
var info = res.addressinfo;
if(form('sheng'))form('sheng').value = info.province;
if(form('shi'))form('shi').value = info.city;
var dz = info.town;
dz+=(info.streetNumber)?info.streetNumber:info.street;
form(sna).value=dz;
}