修改增加类型判断
This commit is contained in:
@@ -1149,6 +1149,20 @@ $(document).ready(function(){
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(name.indexOf("商住")>-1){
|
||||||
|
if(estateTypeStr!="商住"){
|
||||||
|
alert('物业类型有误!');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
if(name.indexOf("别墅")>-1){
|
||||||
|
if(estateTypeStr!="别墅"){
|
||||||
|
alert('物业类型有误!');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
var alias=$("#alias").val();
|
var alias=$("#alias").val();
|
||||||
if(alias){
|
if(alias){
|
||||||
|
|||||||
Reference in New Issue
Block a user