diff --git a/fangija-zsyf/views/house/add.html b/fangija-zsyf/views/house/add.html
index 309833f..c91d8dc 100644
--- a/fangija-zsyf/views/house/add.html
+++ b/fangija-zsyf/views/house/add.html
@@ -1742,13 +1742,14 @@ $("#evaluation_btn").on("click", function () {
}
}
}
- if(c && c.indexOf("别墅")>-1){
+ if(c && c.indexOf("别墅")<0){
var num = e.replace(/第/g,"").replace(/层/g,"").replace(/共/g,"").split(" ");
if(parseInt(num[0])>parseInt(num[1])){
$.toast("总楼层选择错误!")
return false
}
}
+
if($("#cityAddress").val() != "" && $("#cityAddress").val() != $("#input_city").val()){
$.toast("城市和房屋地址不匹配")
return false
@@ -1785,7 +1786,7 @@ $("#evaluation_btn").on("click", function () {
//var loginFlag=false;
function checkIsLogin(){
if(localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == ""){
- clicked('/views/user/passLogin.html',true,false,{},{},function(){
+ clicked('/views/user/codeSms.html',true,false,{},{},function(){
if(localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == ""){
}else{