Commit a2a6415c authored by youjie's avatar youjie

no message

parent c1358341
......@@ -719,17 +719,17 @@
<el-row :gutter="20">
<el-col :span="6">
<el-form-item label="统一编码:">
<el-input class='w200' v-model='updateMsg.UniqueCode'></el-input>
<el-input class='w200' v-model='updateMsg.uniqueCode'></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="LINE ID:">
<el-input class='w200' v-model='updateMsg.LINEID'></el-input>
<el-input class='w200' v-model='updateMsg.lineid'></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="Email:">
<el-input class='w200' v-model='updateMsg.Email'></el-input>
<el-input class='w200' v-model='updateMsg.email'></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -961,9 +961,9 @@
Images: [],
customerExceptionList: [],
CustomerExceptionIds: [],
UniqueCode: '',
LINEID: '',
Email: ''
uniqueCode: '',
lineid: '',
email: ''
},
cityList: [],
regionList: [],
......@@ -1004,17 +1004,17 @@
this.$message.error('请输入联系人')
return
}
// if(!this.updateMsg.UniqueCode){
// if(!this.updateMsg.uniqueCode){
// this.$message.error('请输入统一编码')
// return
// }
// if(!this.updateMsg.LINEID){
// if(!this.updateMsg.lineid){
// this.$message.error('请输入LINE ID')
// return
// }
if(this.updateMsg.Email){
if(this.updateMsg.email){
var reg=/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/;
if(!reg.test(this.updateMsg.Email)){
if(!reg.test(this.updateMsg.email)){
this.$message.error('请输入有效的邮箱')
return
}
......@@ -1135,9 +1135,9 @@
if (x.housePhotos && x.housePhotos.length > 0) {
this.HousePhotos = x.housePhotos[0]
}
this.updateMsg.UniqueCode = x.uniqueCode
this.updateMsg.LINEID = x.lineid
this.updateMsg.Email = x.email
this.updateMsg.uniqueCode = x.uniqueCode
this.updateMsg.lineid = x.lineid
this.updateMsg.email = x.email
} else {}
}, err => {})
},
......
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