@@ -248,7 +248,7 @@
</el-table-column>
<el-table-column align="center" label="联系电话" >
<template slot-scope="scope">
- <el-form-item :prop="'byList.' + scope.$index + '.mobile'" :required="true"
+ <el-form-item :prop="'byList.' + scope.$index + '.mobile'"
:rules="[{ required: true, message: `请输入联系电话`, trigger: 'blur' },{ pattern:/^((1[3456789]\d{9}))$/, message: '电话号码格式不正确', trigger: 'blur' }]">
<el-input type="number" v-model="scope.row.mobile" :disabled="isEdit != scope.$index || formType == 2" placeholder="请输入"></el-input>
</el-form-item>
@@ -75,7 +75,9 @@ export default {
backList() {
this.id = ''
this.formDialog = false;
- this.$refs.pageRef.refreshList()
+ this.$nextTick(()=>{
+ this.$refs.pageRef.refreshList()
+ })
},
// 表格列解析渲染数据更改
columnParsing(item, defaultData) {