|
@@ -32,7 +32,8 @@ function DDProjectField(props) {
|
|
|
defaultValue={value ? Number(value) : undefined}
|
|
|
onChange={val => {
|
|
|
console.log(val);
|
|
|
- onChange(String(val));
|
|
|
+ const project = projectList.find(item => item.id === val);
|
|
|
+ onChange(`${project.project_name}(${project.project_full_code})`);
|
|
|
}}
|
|
|
filterOption={(input, option) =>
|
|
|
(option?.label ?? '').toLowerCase().includes(input.toLowerCase())
|