Commit daff940f authored by agping's avatar agping

客户列表修改

parent 6ec71526
......@@ -319,19 +319,19 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
alert("请选择是否独家");
return;
}
if(imgs.length == 0) {
if($("#sel_dujia").val() == 1 &&imgs.length == 0) {
alert("请选择图片");
return;
}
if($("#start_date_dujia").val() == "") {
if($("#start_date_dujia").val() == "" && $("#sel_dujia").val() == 1) {
alert("请选择独家代理的时间");
return;
}
if($("#end_date_dujia").val() == "") {
if($("#end_date_dujia").val() == "" && $("#sel_dujia").val() == 1) {
alert("请选择独家代理的时间");
return;
}
if($("#exclusive").val() == "") {
if($("#exclusive").val() == "" && $("#sel_dujia").val() == 1) {
alert("请选择姓名或者手机号");
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment