[运维] -合同同步数据-匹配负责人时增加员工号;打印增加数据异常的判断

This commit is contained in:
fengchenchen
2022-04-08 18:22:30 +08:00
parent 40fb2387ec
commit a905376c8d
5 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ export default {
},
// 通过其他的信息 赋值,如 姓名、部门、员工号
setValueByOtherInfo(otherInfo) {
let ele = this.userList.find(tt => tt.realname === otherInfo.realname && tt.orgCodeTxt === otherInfo.orgCodeTxt)
let ele = this.userList.find(tt => tt.realname === otherInfo.realname && tt.orgCodeTxt === otherInfo.orgCodeTxt && tt.workNo === otherInfo.workNo)
if( ele) {
this.$emit('change', ele.id)
}