|
@@ -161,6 +161,7 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="联系人手机号" prop="userName">
|
|
<el-form-item label="联系人手机号" prop="userName">
|
|
|
<el-input v-model="form.userName" placeholder="请输入手机号" maxlength="11" show-word-limit :disabled="phoneShow"/>
|
|
<el-input v-model="form.userName" placeholder="请输入手机号" maxlength="11" show-word-limit :disabled="phoneShow"/>
|
|
|
|
|
+ <span v-if="addShow">*若该手机号已注册过,则联系人不以您输入的姓名作为储存</span>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
<div slot="footer" class="dialog-footer">
|
|
@@ -213,6 +214,7 @@ export default {
|
|
|
examTitle:'',
|
|
examTitle:'',
|
|
|
examOpen:false,
|
|
examOpen:false,
|
|
|
phoneShow:false,
|
|
phoneShow:false,
|
|
|
|
|
+ addShow:false,
|
|
|
examForm:{
|
|
examForm:{
|
|
|
scyId:null,
|
|
scyId:null,
|
|
|
state:null
|
|
state:null
|
|
@@ -428,12 +430,14 @@ export default {
|
|
|
this.reset();
|
|
this.reset();
|
|
|
this.open = true;
|
|
this.open = true;
|
|
|
this.phoneShow = false,
|
|
this.phoneShow = false,
|
|
|
|
|
+ this.addShow = true;
|
|
|
this.title = "新增企业信息";
|
|
this.title = "新增企业信息";
|
|
|
},
|
|
},
|
|
|
/** 修改按钮操作 */
|
|
/** 修改按钮操作 */
|
|
|
handleUpdate(row) {
|
|
handleUpdate(row) {
|
|
|
this.reset();
|
|
this.reset();
|
|
|
this.phoneShow = true;
|
|
this.phoneShow = true;
|
|
|
|
|
+ this.addShow = false;
|
|
|
let scyId = row.scyId || this.ids
|
|
let scyId = row.scyId || this.ids
|
|
|
companyQuery(scyId).then(response => {
|
|
companyQuery(scyId).then(response => {
|
|
|
this.form = response.data[0];
|
|
this.form = response.data[0];
|