Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈智峰
jinfa-admin
Commits
57f8914a
Commit
57f8914a
authored
Nov 14, 2022
by
shenshaokai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 待审核物料-隐藏高级筛选-品牌
parent
4255bb31
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
searchTableSchema.tsx
...pages/productManage/material/common/searchTableSchema.tsx
+10
-10
index.tsx
src/pages/productManage/material/materialQuery/index.tsx
+1
-1
No files found.
src/pages/productManage/material/common/searchTableSchema.tsx
View file @
57f8914a
...
@@ -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',
...
...
src/pages/productManage/material/materialQuery/index.tsx
View file @
57f8914a
...
@@ -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"
])
}
}
}
}
/>
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment