Commit c217de95451f5a1524c563562c3b7dacb9dccc5a

Authored by zhangzzzz
1 parent 0f14d194

去除工单信息特殊布局;

src/mes/common/commonModelComponent/index.js
... ... @@ -89,8 +89,7 @@ const useCommonModelEvent = props => {
89 89 const handleGetFilterPageLayout = pageLayout => {
90 90 if (
91 91 props.sModelsId !== "12710101117087404588200" &&
92   - props.sModelsId !== "12710101117260270570210" &&
93   - props.sModelsId !== "12710101117086786735350"
  92 + props.sModelsId !== "12710101117260270570210"
94 93 )
95 94 return pageLayout;
96 95  
... ... @@ -99,20 +98,6 @@ const useCommonModelEvent = props => {
99 98 const tabConfigFilter = cloneDeep(tabConfig);
100 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 101 if (
117 102 [
118 103 "17183488470003431845359008405500",
... ...