|
|
@ -238,9 +238,9 @@ const ImportMembersModal = props => { |
|
|
|
error(`第${i + 2}行人员编号为空,请填写`) |
|
|
|
return |
|
|
|
} |
|
|
|
let xqExist = xqMembers.find(m => m.peopleCode == number); |
|
|
|
let xqExist = xqMembers.find(m => m.userCode == number); |
|
|
|
if (!xqExist) { |
|
|
|
error(`第${i + 2}行,项企中不存在该人员编号`) |
|
|
|
error(`第${i + 2}行的人员编号无对应的员工信息`) |
|
|
|
return |
|
|
|
} |
|
|
|
if (postData.some(p => p.number == number)) {//人员编号 唯一
|
|
|
@ -327,7 +327,7 @@ const ImportMembersModal = props => { |
|
|
|
return |
|
|
|
} |
|
|
|
postData.push({//人员编号 待办todotodo
|
|
|
|
pepUserId: xqExist.id, name, idNumber, gender, birthday, nativePlace, marital, |
|
|
|
pepUserId: xqExist.pepUserId, name, idNumber, gender, birthday, nativePlace, marital, |
|
|
|
politicsStatus, phoneNumber, workPlace, graduatedFrom, educationBackground, specialty, graduationDate, |
|
|
|
hiredate, turnProbationPeriod, regularDate, dimissionDate, experienceYear, occupationalHistory, |
|
|
|
del: false, number |
|
|
|