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