新增联系人判断
This commit is contained in:
@@ -75,7 +75,7 @@ export default {
|
||||
* 新建联系人
|
||||
*/
|
||||
addContacts() {
|
||||
if (this.selectedCompany) {
|
||||
if (this.selectedCompany && Object.keys(this.selectedCompany).length > 0) {
|
||||
this.$refs.contactForm.add()
|
||||
this.$refs.contactForm.title = '新增'
|
||||
this.$refs.contactForm.disableSubmit = false
|
||||
|
||||
Reference in New Issue
Block a user