Commit fcbcdebc authored by zhengke's avatar zhengke

1

parent 1ccff4bf
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="customer_info_component"> <div class="customer_info_component" v-if="BelongType==3">
<div class="customer_info_Stage"> <div class="customer_info_Stage">
<div class="stage_label"> <div class="stage_label">
客户电话 客户电话
...@@ -135,6 +135,25 @@ ...@@ -135,6 +135,25 @@
</div> </div>
</div> </div>
</div> </div>
<div class="customer_info_component" v-else>
<div class="customer_info_Stage">
<div class="stage_label">
客户电话
</div>
<div class="stage_value">
<q-input
filled
v-model="customObj.StuTel"
style="width:185px;"
@blur="CheckExistsStu(1)"
ref="StuTel"
:disable="noEdit"
dense
>
</q-input>
</div>
</div>
</div>
<div class="customer_info_component" v-if="BelongType != 3"> <div class="customer_info_component" v-if="BelongType != 3">
<div class="customer_info_Stage"> <div class="customer_info_Stage">
<div class="stage_label"> <div class="stage_label">
...@@ -958,7 +977,7 @@ export default { ...@@ -958,7 +977,7 @@ export default {
this.customObj.StuTel.substring(8, 10) this.customObj.StuTel.substring(8, 10)
: ""; : "";
} else { } else {
this.customObj.formatTel = this.customObj.StuTel; // this.customObj.formatTel = this.customObj.StuTel;
} }
}, },
//新增协助人员 //新增协助人员
...@@ -977,11 +996,13 @@ export default { ...@@ -977,11 +996,13 @@ export default {
}, },
//验证手机号 //验证手机号
CheckExistsStu(type) { CheckExistsStu(type) {
console.log(type);
if (type == 1) { if (type == 1) {
if (this.customObj.StuTel && this.customObj.StuTel.length == 11) { if (this.customObj.StuTel && this.customObj.StuTel.length == 11) {
this.checkMsg.StuTel = this.customObj.StuTel; this.checkMsg.StuTel = this.customObj.StuTel;
this.checkMsg.QQ = ""; this.checkMsg.QQ = "";
this.checkMsg.WeChatNo = ""; this.checkMsg.WeChatNo = "";
console.log(this.checkMsg,'checkmsg');
CheckExistsStu(this.checkMsg).then(r => {}); CheckExistsStu(this.checkMsg).then(r => {});
} }
} }
......
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