Commit c217de95451f5a1524c563562c3b7dacb9dccc5a
1 parent
0f14d194
去除工单信息特殊布局;
Showing
1 changed file
with
1 additions
and
16 deletions
src/mes/common/commonModelComponent/index.js
| @@ -89,8 +89,7 @@ const useCommonModelEvent = props => { | @@ -89,8 +89,7 @@ const useCommonModelEvent = props => { | ||
| 89 | const handleGetFilterPageLayout = pageLayout => { | 89 | const handleGetFilterPageLayout = pageLayout => { |
| 90 | if ( | 90 | if ( |
| 91 | props.sModelsId !== "12710101117087404588200" && | 91 | props.sModelsId !== "12710101117087404588200" && |
| 92 | - props.sModelsId !== "12710101117260270570210" && | ||
| 93 | - props.sModelsId !== "12710101117086786735350" | 92 | + props.sModelsId !== "12710101117260270570210" |
| 94 | ) | 93 | ) |
| 95 | return pageLayout; | 94 | return pageLayout; |
| 96 | 95 | ||
| @@ -99,20 +98,6 @@ const useCommonModelEvent = props => { | @@ -99,20 +98,6 @@ const useCommonModelEvent = props => { | ||
| 99 | const tabConfigFilter = cloneDeep(tabConfig); | 98 | const tabConfigFilter = cloneDeep(tabConfig); |
| 100 | let tableListFilter = tableList; | 99 | let tableListFilter = tableList; |
| 101 | 100 | ||
| 102 | - // 工单信息非烫金时隐藏电化铝子集 | ||
| 103 | - if (props.sModelsId === "12710101117086786735350") { | ||
| 104 | - const { currentSelectedMachineTaskDataRow = {} } = commonUtils.getAppData( | ||
| 105 | - "globalData" | ||
| 106 | - ); | ||
| 107 | - const { sProcessClassifyName = "" } = currentSelectedMachineTaskDataRow; | ||
| 108 | - if (sProcessClassifyName.includes("烫金")) return pageLayout; | ||
| 109 | - tableListFilter = tableList.filter(item => item !== "materials31"); | ||
| 110 | - try { | ||
| 111 | - delete tabConfigFilter[3].configList[3]; | ||
| 112 | - } catch (error) {} | ||
| 113 | - return [tableListFilter, tabConfigFilter]; | ||
| 114 | - } | ||
| 115 | - | ||
| 116 | if ( | 101 | if ( |
| 117 | [ | 102 | [ |
| 118 | "17183488470003431845359008405500", | 103 | "17183488470003431845359008405500", |