Commit 57f8914a authored by shenshaokai's avatar shenshaokai

fix: 待审核物料-隐藏高级筛选-品牌

parent 4255bb31
...@@ -63,16 +63,16 @@ export const getSchema = (options: Options) => { ...@@ -63,16 +63,16 @@ export const getSchema = (options: Options) => {
showSearch: true showSearch: true
}, },
}, },
brandId: { // brandId: {
type: 'string', // type: 'string',
enum: [], // enum: [],
'x-component-props': { // 'x-component-props': {
placeholder: intl.formatMessage({ id: 'material.brand', defaultMessage: '品牌' }), // placeholder: intl.formatMessage({ id: 'material.brand', defaultMessage: '品牌' }),
allowClear: true, // allowClear: true,
showSearch: true, // showSearch: true,
style: { width: '150px' }, // style: { width: '150px' },
}, // },
}, // },
customerCategoryId: { customerCategoryId: {
type: 'string', type: 'string',
// 'x-component': 'Cascader', // 'x-component': 'Cascader',
......
...@@ -235,7 +235,7 @@ const MaterialQuery = () => { ...@@ -235,7 +235,7 @@ const MaterialQuery = () => {
useStateFilterSearchLinkageEffect($, actions, 'code', FORM_FILTER_PATH); useStateFilterSearchLinkageEffect($, actions, 'code', FORM_FILTER_PATH);
useAsyncCascader('materialGroupId', fetchTreeData) useAsyncCascader('materialGroupId', fetchTreeData)
useAsyncCascader('customerCategoryId', fetchCategoryData) useAsyncCascader('customerCategoryId', fetchCategoryData)
useAsyncSelect('brandId', fetchBrand, ["name", "id"]) // useAsyncSelect('brandId', fetchBrand, ["name", "id"])
useAsyncSelect('status', fetchStatus, ["name", "status"]) useAsyncSelect('status', fetchStatus, ["name", "status"])
}} }}
/> />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment