Commit 78d2a3e1 authored by agping's avatar agping

1

parent 25d372b9
......@@ -638,7 +638,7 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
layerTipsX('上海市商场和街铺业绩-其他必填');
return;
}
if($(".input-limit0-shanghai").html() == '' || $(".input-limit0-shanghai").html() == '点击填写'){
if(($(".input-limit0-shanghai").html()).replace(/ /ig,'').trim() == '' || $(".input-limit0-shanghai").html() == '点击填写'){
layerTipsX('该城市管理改善建议必填');
return;
}
......@@ -686,7 +686,7 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
layerTipsX('杭州市商场和街铺业绩-其他必填');
return;
}
if($(".input-limit0-hangzhou").html() == '' || $(".input-limit0-hangzhou").html() == '点击填写'){
if(($(".input-limit0-hangzhou").html()).replace(/ /ig,'').trim() == '' || $(".input-limit0-hangzhou").html() == '点击填写'){
layerTipsX('该城市管理改善建议必填');
return;
}
......@@ -735,7 +735,7 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
layerTipsX('深圳市商场和街铺业绩-其他必填');
return;
}
if($(".input-limit0-shenzhen").html() == '' || $(".input-limit0-shenzhen").html() == '点击填写'){
if(($(".input-limit0-shenzhen").html()).replace(/ /ig,'').trim() == '' || $(".input-limit0-shenzhen").html() == '点击填写'){
layerTipsX('该城市管理改善建议必填');
return;
}
......@@ -785,7 +785,7 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
layerTipsX('广州市商场和街铺业绩-其他必填');
return;
}
if($(".input-limit0-guangzhou").html() == '' || $(".input-limit0-guangzhou").html() == '点击填写'){
if(($(".input-limit0-guangzhou").html()).replace(/ /ig,'').trim() == '' || $(".input-limit0-guangzhou").html() == '点击填写'){
layerTipsX('该城市管理改善建议必填');
return;
}
......@@ -835,9 +835,11 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
layerTipsX('北京市商场和街铺业绩-其他必填');
return;
}
if($(".input-limit0-beijing").html() == '' || $(".input-limit0-beijing").html() == '点击填写'){
if((($(".input-limit0-beijing").html()).replace(/ /ig,'').trim() == '') || ($(".input-limit0-beijing").html() == '点击填写')){
layerTipsX('该城市管理改善建议必填');
return;
}else{
console.log(($(".input-limit0-beijing").html()).replace(/ /ig,'').length);
}
......
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