Commit 4a650544 by zhaochengxiang

bug fix

parent eccec6d7
......@@ -930,14 +930,14 @@ const AssetAction = (props) => {
if (changedValues['业务数据Owner']) {
const index = (users||[]).findIndex(item => item.pernr === changedValues['业务数据Owner']);
if (index !== -1) {
form.setFieldsValue({'业务数据Owner姓名': users[index].nachn, '业务责任部门': users[index].orgtx});
form.setFieldsValue({'业务数据Owner姓名': users[index].nachn, '业务责任部门': users[index].org3TXT});
}
}
} else if (changedValues.hasOwnProperty('IT责任人')) {
if (changedValues['IT责任人']) {
const index = (users||[]).findIndex(item => item.pernr === changedValues['IT责任人']);
if (index !== -1) {
form.setFieldsValue({'IT责任人姓名': users[index].nachn, 'IT责任部门': users[index].orgtx});
form.setFieldsValue({'IT责任人姓名': users[index].nachn, 'IT责任部门': users[index].org3TXT});
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment