Commit 2bcb10ed authored by agping's avatar agping

修改

parent ac3f97be
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
× ×
</button> </button>
<h4 class="modal-title" id="title_add"> <h4 class="modal-title" id="title_add">
新增经纪人666 新增经纪人
</h4> </h4>
</div> </div>
<div class="modal-body"> <div class="modal-body">
......
...@@ -748,5 +748,5 @@ p{margin: 0;} ...@@ -748,5 +748,5 @@ p{margin: 0;}
background: rgba(0, 0, 0, 0.6); background: rgba(0, 0, 0, 0.6);
border-radius: 0.1rem; border-radius: 0.1rem;
word-wrap: break-word; word-wrap: break-word;
z-index : 10000; /*z-index : 10000;*/
} }
\ No newline at end of file
...@@ -368,19 +368,16 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp ...@@ -368,19 +368,16 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
if(params.district_id == '') { if(params.district_id == '') {
alert('所属部门必填'); alert('所属部门必填');
$("#modal-edit").show();
return false; return false;
} }
if(params.store_id == '') { if(params.store_id == '') {
alert('所属门店必填'); alert('所属门店必填');
$("#modal-edit").show();
return false; return false;
} }
if(params.phone.length != 11) { if(params.phone.length != 11) {
alert('手机号码错误!'); alert('手机号码错误!');
$("#modal-edit").show();
return false; return false;
} }
...@@ -435,19 +432,16 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp ...@@ -435,19 +432,16 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
if(params.district_id == '') { if(params.district_id == '') {
alert('所属部门必填'); alert('所属部门必填');
$("#modal-edit").show();
return false; return false;
} }
if(params.store_id == '') { if(params.store_id == '') {
alert('所属门店必填'); alert('所属门店必填');
$("#modal-edit").show();
return false; return false;
} }
if(params.phone.length != 11) { if(params.phone.length != 11) {
alert('手机号码错误!'); alert('手机号码错误!');
$("#modal-edit").show();
return false; return false;
} }
...@@ -461,7 +455,6 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp ...@@ -461,7 +455,6 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
alert('提交成功'); alert('提交成功');
$("#modal-edit").modal('hide'); $("#modal-edit").modal('hide');
}else if(data.code == 101){ }else if(data.code == 101){
console.log(555);
alert(data.msg); alert(data.msg);
} else { } else {
......
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