|
@@ -63,10 +63,15 @@ export default withLayout((props) => {
|
63
|
63
|
Taro.showToast({ title: '请填写正确的客户电话', icon: 'none' })
|
64
|
64
|
return false
|
65
|
65
|
}
|
66
|
|
- if (buildingId === null || personType !== ROLE_CODE.CUSTOMER) {
|
|
66
|
+ if (buildingId === null) {
|
67
|
67
|
Taro.showToast({ title: '请选择客户的意向楼盘', icon: 'none' })
|
68
|
68
|
return false
|
69
|
69
|
}
|
|
70
|
+ if (buildingId === null && personType !== ROLE_CODE.CUSTOMER) {
|
|
71
|
+ Taro.showToast({ title: '请选择客户的意向楼盘', icon: 'none' })
|
|
72
|
+ return false
|
|
73
|
+ }
|
|
74
|
+
|
70
|
75
|
return true
|
71
|
76
|
}
|
72
|
77
|
|