| | |
| | | console.log(res) |
| | | this.clientStatusOptions = res.data.client_status |
| | | this.memberOptions = res.data.member |
| | | if (this.editContactsConfig.title === "新建") { |
| | | if (this.editConfig.title === "新建") { |
| | | let username = document.cookie.replace(/(?:(?:^|.*;\s*)username\s*=\s*([^;]*).*$)|^.*$/, "$1") |
| | | this.memberOptions.map((item) => { |
| | | if (item.username == username) { |
| | |
| | | stopClick() {}, |
| | | // 销售负责人自定义校验规则 |
| | | validateMemberId(rule, value, callback) { |
| | | console.log(this.editConfig.infomation.member_id, "销售负责人自定义校验规则") |
| | | if (this.editConfig.infomation?.member_id > 0) { |
| | | callback() |
| | | } else { |