Commit 441832746e906464f1b67f1247051c003d2e0bf8
1 parent
6ea1f8a8
1.修复研发工单打开报错
Showing
1 changed file
with
1 additions
and
1 deletions
src/components/Manufacture/WorkOrderPackTableTreeNew/index.js
| @@ -4082,7 +4082,7 @@ const WorkOrderPackTableTreeNewComponent = Form.create({ | @@ -4082,7 +4082,7 @@ const WorkOrderPackTableTreeNewComponent = Form.create({ | ||
| 4082 | if (!props.currentForm) { | 4082 | if (!props.currentForm) { |
| 4083 | props.setForm(props.form); | 4083 | props.setForm(props.form); |
| 4084 | } | 4084 | } |
| 4085 | - const { currentPane } = app; | 4085 | + const { currentPane } = props.app; |
| 4086 | let bFlow = currentPane?.bFlow; /* 是否需要展示审批流程信息 */ | 4086 | let bFlow = currentPane?.bFlow; /* 是否需要展示审批流程信息 */ |
| 4087 | return ( | 4087 | return ( |
| 4088 | <div className={`xly-workorder-list ${styles.WorkOrderPackTableTreeNew}`} style={{ display: bFlow ? 'flex':'block' }} > | 4088 | <div className={`xly-workorder-list ${styles.WorkOrderPackTableTreeNew}`} style={{ display: bFlow ? 'flex':'block' }} > |