| | |
| | | editConfig: this.editContactsConfig, |
| | | rules: { |
| | | number: [ |
| | | { required: true, validator: this.validateCheckCode, trigger: "blur" }, |
| | | { required: true, validator: this.validateCheckCode, trigger: ["blur",'change'] }, |
| | | ], |
| | | member_id: [ |
| | | { required: true, message: "请选择负责人", trigger: "change" }, |
| | |
| | | this.formInfo(); |
| | | } |
| | | }, |
| | | "editContactsConfig.infomation.codeStandID"() { |
| | | this.formInfo(); |
| | | }, |
| | | }, |
| | | methods: { |
| | | ...mapActions(["getContactFilter", "getLeadFilter"]), |
| | |
| | | if (valid) { |
| | | const params = this.saveParams(); |
| | | if (this.editConfig.title === "新建") { |
| | | params.codeStandardID=this.autoCodeObj.codeStandardID |
| | | params.autoIncr=this.autoCodeObj.maxAutoIncr |
| | | getAddFollowRecord(params).then((res) => { |
| | | this.editConfig.visible = false; |
| | | if (res.code === 200) { |