|
@@ -23,6 +23,8 @@ type Props = {
|
|
|
// 藏品登记-只选择一个
|
|
|
register?: boolean
|
|
|
httpType?: 'get' | 'post'
|
|
|
+ // 不需要的搜索条件
|
|
|
+ searchFilterKey?: string[]
|
|
|
}
|
|
|
|
|
|
function ZGaddNow({
|
|
@@ -33,7 +35,8 @@ function ZGaddNow({
|
|
|
oldCheckArr,
|
|
|
canObj,
|
|
|
register,
|
|
|
- httpType = 'post'
|
|
|
+ httpType = 'post',
|
|
|
+ searchFilterKey = []
|
|
|
}: Props) {
|
|
|
// 入藏状态特别过滤
|
|
|
const RuChangSelect = useMemo(() => {
|
|
@@ -235,7 +238,9 @@ function ZGaddNow({
|
|
|
>
|
|
|
<div className='B3GaMain'>
|
|
|
<div className='B3GaTop'>
|
|
|
- <div className='B3Gatopll'>{searchDom(B3nowArr1)}</div>
|
|
|
+ <div className='B3Gatopll'>
|
|
|
+ {searchDom(B3nowArr1.filter(i => !searchFilterKey.includes(i.key)))}
|
|
|
+ </div>
|
|
|
<div>
|
|
|
<Checkbox
|
|
|
checked={formData.isFocus === 1}
|
|
@@ -247,7 +252,9 @@ function ZGaddNow({
|
|
|
</div>
|
|
|
|
|
|
<div className='B3GaTop'>
|
|
|
- <div className='B3Gatopll'>{searchDom(B3nowArr2)}</div>
|
|
|
+ <div className='B3Gatopll'>
|
|
|
+ {searchDom(B3nowArr2.filter(i => !searchFilterKey.includes(i.key)))}
|
|
|
+ </div>
|
|
|
<div>
|
|
|
<Button type='primary' onClick={clickSearch}>
|
|
|
查询
|