Commit 6ea1f8a8ea41bbc4e2bd2e01f6fdf8611447265a
1 parent
306f10c4
1.处理工单审批流界面呈现
Showing
1 changed file
with
2 additions
and
2 deletions
src/components/Manufacture/WorkOrderPackTableTreeNew/index.js
| ... | ... | @@ -4082,8 +4082,8 @@ const WorkOrderPackTableTreeNewComponent = Form.create({ |
| 4082 | 4082 | if (!props.currentForm) { |
| 4083 | 4083 | props.setForm(props.form); |
| 4084 | 4084 | } |
| 4085 | - const { currentPane } = props.app; | |
| 4086 | - const bFlow = true ; /* 是否需要展示审批流程信息 */ | |
| 4085 | + const { currentPane } = app; | |
| 4086 | + let bFlow = currentPane?.bFlow; /* 是否需要展示审批流程信息 */ | |
| 4087 | 4087 | return ( |
| 4088 | 4088 | <div className={`xly-workorder-list ${styles.WorkOrderPackTableTreeNew}`} style={{ display: bFlow ? 'flex':'block' }} > |
| 4089 | 4089 | <ToolBarComponent {...props} /> | ... | ... |