Commit c67b791d60f9f512d4898c707b0222c708053ef6
1 parent
8016f6c0
首工序左侧查询
Showing
2 changed files
with
3 additions
and
1 deletions
src/components/Common/CommonHooks/useCommonBase.js
| @@ -2981,6 +2981,7 @@ const useCommonBase = props => { | @@ -2981,6 +2981,7 @@ const useCommonBase = props => { | ||
| 2981 | if (location.pathname.includes("indexPad")) { | 2981 | if (location.pathname.includes("indexPad")) { |
| 2982 | addState.enabled = true; | 2982 | addState.enabled = true; |
| 2983 | } | 2983 | } |
| 2984 | + | ||
| 2984 | handleSaveState( | 2985 | handleSaveState( |
| 2985 | { | 2986 | { |
| 2986 | ...addState, | 2987 | ...addState, |
src/mes/common/commonOperationBarComponent/index.js
| @@ -1223,6 +1223,7 @@ const CommonOperationBarComponent = basProps => { | @@ -1223,6 +1223,7 @@ const CommonOperationBarComponent = basProps => { | ||
| 1223 | record: props.slaveData?.[0], | 1223 | record: props.slaveData?.[0], |
| 1224 | onDropDownBlur: props.onDropDownBlur | 1224 | onDropDownBlur: props.onDropDownBlur |
| 1225 | } | 1225 | } |
| 1226 | + const isShow = props.sModelType?.includes('/indexPage/commonList') && props.sModelsId?.includes("172117190122117670007462620") | ||
| 1226 | return ( | 1227 | return ( |
| 1227 | <div className={styles.commonOperationBar}> | 1228 | <div className={styles.commonOperationBar}> |
| 1228 | <div className="leftBar"> | 1229 | <div className="leftBar"> |
| @@ -1265,7 +1266,7 @@ const CommonOperationBarComponent = basProps => { | @@ -1265,7 +1266,7 @@ const CommonOperationBarComponent = basProps => { | ||
| 1265 | <div className={styles.reissue}>···</div> | 1266 | <div className={styles.reissue}>···</div> |
| 1266 | </Dropdown> | 1267 | </Dropdown> |
| 1267 | ); | 1268 | ); |
| 1268 | - } else if (item.sButtonParam) { | 1269 | + } else if (isShow) { |
| 1269 | return <div className="changeClassName"> | 1270 | return <div className="changeClassName"> |
| 1270 | <ShowType {...leftShowTypeProps} /> | 1271 | <ShowType {...leftShowTypeProps} /> |
| 1271 | {/* <Button type="primary" size="large" onClick={handleBtnSearch}> | 1272 | {/* <Button type="primary" size="large" onClick={handleBtnSearch}> |