Commit d2ba8334 authored by zhengke's avatar zhengke

1

parent f36b1c3b
...@@ -59,7 +59,9 @@ ...@@ -59,7 +59,9 @@
width: 120px; width: 120px;
font-size: 14px; font-size: 14px;
} }
.student_require{
color:red;
}
</style> </style>
<template> <template>
<div> <div>
...@@ -67,7 +69,9 @@ ...@@ -67,7 +69,9 @@
<div class="info_content" style="margin-bottom:0;"> <div class="info_content" style="margin-bottom:0;">
<div class="customer_info_component"> <div class="customer_info_component">
<div class="customer_info_Stage"> <div class="customer_info_Stage">
<div class="stage_label" style="margin-top:-16px;">客户名称</div> <div class="stage_label">
<span class="student_require">*</span>客户名称
</div>
<div class="stage_value"> <div class="stage_value">
<q-input filled v-model="customObj.StuName" style="width:182px;" ref="StuName" dense></q-input> <q-input filled v-model="customObj.StuName" style="width:182px;" ref="StuName" dense></q-input>
</div> </div>
...@@ -75,14 +79,18 @@ ...@@ -75,14 +79,18 @@
</div> </div>
<div class="customer_info_component"> <div class="customer_info_component">
<div class="customer_info_Stage"> <div class="customer_info_Stage">
<div class="stage_label" style="margin-top:-16px;">客户电话</div> <div class="stage_label">
<span class="student_require">*</span>客户电话
</div>
<div class="stage_value"> <div class="stage_value">
<q-input filled v-model="customObj.StuTel" style="width:182px;" @blur="CheckExistsStu()" ref="StuTel" dense></q-input> <q-input filled v-model="customObj.StuTel" style="width:182px;" @blur="CheckExistsStu()" ref="StuTel" dense></q-input>
</div> </div>
</div> </div>
</div> </div>
<div class="info_item"> <div class="info_item">
<div class="item_label">客户来源</div> <div class="item_label">
<span class="student_require">*</span>客户来源
</div>
<div class="item_value"> <div class="item_value">
<q-select filled v-model="customObj.CreateType" @input="resetStuSource()" dense :options="customFromList" option-label="Name" option-value="Id" <q-select filled v-model="customObj.CreateType" @input="resetStuSource()" dense :options="customFromList" option-label="Name" option-value="Id"
emit-value map-options label="客户来源" /> emit-value map-options label="客户来源" />
...@@ -104,7 +112,9 @@ ...@@ -104,7 +112,9 @@
</div> </div>
<div class="info_item"> <div class="info_item">
<div class="item_label">收客渠道</div> <div class="item_label">
<span class="student_require">*</span>收客渠道
</div>
<div class="item_value"> <div class="item_value">
<q-select filled v-model="customObj.StuChannel" dense :options="StuChannelList" option-label="Name" <q-select filled v-model="customObj.StuChannel" dense :options="StuChannelList" option-label="Name"
option-value="Id" emit-value map-options /> option-value="Id" emit-value map-options />
...@@ -322,26 +332,6 @@ ...@@ -322,26 +332,6 @@
}) })
return return
} }
if(this.customObj.StuChannel==6){
if(this.customObj.PlatformName==''){
this.$q.notify({
type: 'negative',
position: "top",
message: `请填写第三方平台名称`
})
return
}
}
if(this.customObj.StuChannel==7){
if(this.customObj.PlatformName==''){
this.$q.notify({
type: 'negative',
position: "top",
message: `请填写其他平台名称`
})
return
}
}
var myreg = /^[1][3-9][\d]{9}/; var myreg = /^[1][3-9][\d]{9}/;
if (!myreg.test(this.customObj.StuTel)) { if (!myreg.test(this.customObj.StuTel)) {
this.$q.notify({ this.$q.notify({
......
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