Commit 5d96e0b0 authored by youjie's avatar youjie

no message

parent ecba2031
...@@ -1003,10 +1003,6 @@ ...@@ -1003,10 +1003,6 @@
this.$message.error('请输入联系人') this.$message.error('请输入联系人')
return return
} }
if(!this.updateMsg.address){
this.$message.error('请输入输入详情地址')
return
}
if(!this.updateMsg.UniqueCode){ if(!this.updateMsg.UniqueCode){
this.$message.error('请输入统一编码') this.$message.error('请输入统一编码')
return return
...@@ -1060,7 +1056,10 @@ ...@@ -1060,7 +1056,10 @@
}) })
let AreaName = sheng + shi + qu let AreaName = sheng + shi + qu
this.updateMsg.Address = AreaName + ',' + this.updateMsg.Address this.updateMsg.Address = AreaName + ',' + this.updateMsg.Address
if(!this.updateMsg.address){
this.$message.error('请输入输入详情地址')
return
}
this.apipost('app_customer_UpdateCustomerAddress', this.updateMsg, res => { this.apipost('app_customer_UpdateCustomerAddress', this.updateMsg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.addLayer1 = false; this.addLayer1 = false;
...@@ -1132,9 +1131,9 @@ ...@@ -1132,9 +1131,9 @@
if (x.housePhotos && x.housePhotos.length > 0) { if (x.housePhotos && x.housePhotos.length > 0) {
this.HousePhotos = x.housePhotos[0] this.HousePhotos = x.housePhotos[0]
} }
// this.updateMsg.UniqueCode = x.UniqueCode this.updateMsg.UniqueCode = x.UniqueCode
// this.updateMsg.LINEID = x.Email this.updateMsg.LINEID = x.Email
// this.updateMsg.Email = x.Email this.updateMsg.Email = x.Email
} else {} } else {}
}, err => {}) }, err => {})
}, },
...@@ -1436,10 +1435,7 @@ ...@@ -1436,10 +1435,7 @@
this.$message.error('请输入联系人') this.$message.error('请输入联系人')
return return
} }
if(!this.addMsg.address){
this.$message.error('请输入输入详情地址')
return
}
if(!this.addMsg.UniqueCode){ if(!this.addMsg.UniqueCode){
this.$message.error('请输入统一编码') this.$message.error('请输入统一编码')
return return
...@@ -1494,7 +1490,10 @@ ...@@ -1494,7 +1490,10 @@
}) })
let AreaName = sheng + shi + qu let AreaName = sheng + shi + qu
this.addMsg.address = AreaName + ',' + this.addMsg.address this.addMsg.address = AreaName + ',' + this.addMsg.address
if(!this.addMsg.address){
this.$message.error('请输入输入详情地址')
return
}
this.apipost('app_add_new_visit_customer', this.addMsgS, res => { this.apipost('app_add_new_visit_customer', this.addMsgS, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.addMsg = { this.addMsg = {
......
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