src/views/client/contacts/AddContactsDialog.vue
@@ -386,7 +386,7 @@ let username = document.cookie.replace(/(?:(?:^|.*;\s*)username\s*=\s*([^;]*).*$)|^.*$/, "$1") this.memberOptions.map((item) => { if (item.username == username) { this.editConfig.infomation.member_id = item.id this.$set(this.editConfig.infomation, "member_id", item.id) } }) } @@ -527,7 +527,6 @@ }, // 销售负责人自定义校验规则 validateMemberId(rule, value, callback) { console.log(this.editConfig.infomation.member_id, "销售负责人自定义校验规则") if (this.editConfig.infomation?.member_id > 0) { callback() } else {