Commit 48cb1c01 authored by youjie's avatar youjie

no message

parent 3654bfa0
......@@ -718,17 +718,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>
......@@ -960,9 +960,9 @@
Images: [],
customerExceptionList: [],
CustomerExceptionIds: [],
UniqueCode: '',
LINEID: '',
Email: ''
uniquecode: '',
lineid: '',
email: ''
},
cityList: [],
regionList: [],
......@@ -995,11 +995,11 @@
// this.$message.error('请输入联系电话')
// return
// }
if(!this.updateMsg.customerName){
if(!this.updateMsg.CustomerName){
this.$message.error('请输入客户名称')
return
}
if(!this.updateMsg.contact){
if(!this.updateMsg.Contact){
this.$message.error('请输入联系人')
return
}
......@@ -1011,9 +1011,9 @@
// 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
}
......@@ -1059,7 +1059,7 @@
})
let AreaName = sheng + shi + qu
this.updateMsg.Address = AreaName + ',' + this.updateMsg.Address
if(!this.updateMsg.address){
if(!this.updateMsg.Address){
this.$message.error('请输入输入详情地址')
return
}
......
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