Merge branch 'YOUFANGAPP1.1' of 192.168.0.27:dev0/youfang-app into YOUFANGAPP1.1

This commit is contained in:
zongzhimin
2018-04-13 15:46:40 +08:00
+3 -2
View File
@@ -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(" "); var num = e.replace(/第/g,"").replace(/层/g,"").replace(/共/g,"").split(" ");
if(parseInt(num[0])>parseInt(num[1])){ if(parseInt(num[0])>parseInt(num[1])){
$.toast("总楼层选择错误!") $.toast("总楼层选择错误!")
return false return false
} }
} }
if($("#cityAddress").val() != "" && $("#cityAddress").val() != $("#input_city").val()){ if($("#cityAddress").val() != "" && $("#cityAddress").val() != $("#input_city").val()){
$.toast("城市和房屋地址不匹配") $.toast("城市和房屋地址不匹配")
return false return false
@@ -1785,7 +1786,7 @@ $("#evaluation_btn").on("click", function () {
//var loginFlag=false; //var loginFlag=false;
function checkIsLogin(){ function checkIsLogin(){
if(localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == ""){ 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") == ""){ if(localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == ""){
}else{ }else{