|
|
@@ -894,19 +894,21 @@
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
- if (!this.getInfoForm.city) {
|
|
|
- this.$message({
|
|
|
- message: '请选择城市',
|
|
|
- type: 'warning'
|
|
|
- })
|
|
|
- return
|
|
|
- }
|
|
|
- if (!this.getInfoForm.intenModel) {
|
|
|
- this.$message({
|
|
|
- message: '请选择意向车型',
|
|
|
- type: 'warning'
|
|
|
- })
|
|
|
- return
|
|
|
+ if (!this.preOnlyPhone) {
|
|
|
+ if (!this.getInfoForm.city) {
|
|
|
+ this.$message({
|
|
|
+ message: '请选择城市',
|
|
|
+ type: 'warning'
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if (!this.getInfoForm.intenModel) {
|
|
|
+ this.$message({
|
|
|
+ message: '请选择意向车型',
|
|
|
+ type: 'warning'
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
}
|
|
|
this.getInfoForm.buyCar = null
|
|
|
this.getInfoForm.car = ''
|
|
|
@@ -956,6 +958,11 @@
|
|
|
type: 'success'
|
|
|
})
|
|
|
this.showTipDialog = false
|
|
|
+ } else {
|
|
|
+ this.$message({
|
|
|
+ message: msg,
|
|
|
+ type:'warning'
|
|
|
+ })
|
|
|
}
|
|
|
})
|
|
|
},
|