feat: 客服首页: 搜索: 供应商多选

feature/price_manager
Lei OT 1 year ago
parent 65064937f0
commit cbdb737163

@ -31,7 +31,7 @@ function DebounceSelect({ fetchOptions, debounceTimeout = 800, ...props }) {
showSearch
allowClear
maxTagCount={1}
dropdownStyle={{width: '16rem'}}
dropdownStyle={{width: '20rem'}}
{...props}
onSearch={debounceFetcher}
notFoundContent={fetching ? <Spin size='small' /> : null}

@ -70,15 +70,12 @@ function Index() {
<Space direction='vertical' style={{ width: '100%' }}>
<SearchForm
fieldsConfig={{
shows: ['agency', 'audit_state', 'dates', 'year', 'keyword'], // todo: agency
shows: ['agency', 'audit_state', 'dates', 'year', 'keyword'],
fieldProps: {
agency: { col: 4 },
dates: { label: t('products:CreateDate') },
keyword: { label: t('products:Title'), col: 4 },
},
fieldComProps: {
agency: { mode: null }, // todo:
},
sort: { agency: 1, audit_state: 2, keyword: 100 },
}}
initialValue={{

Loading…
Cancel
Save