Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
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
shenshaokai
jinfa-platform
Commits
d2a88fdc
Commit
d2a88fdc
authored
Apr 22, 2022
by
Bill
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'chore-v2-220418' into 'v2-220418'
chore: 恢复按钮位置 See merge request linkseeks-design/pro-platform!491
parents
f053d2e0
46587bfc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
index.tsx
src/pages/commodity/material/materialQuery/index.tsx
+9
-5
No files found.
src/pages/commodity/material/materialQuery/index.tsx
View file @
d2a88fdc
...
...
@@ -102,6 +102,15 @@ const MaterialQuery = () => {
</
AuthButton
>
)
:
null
),
(
<
AuthButton
key=
"priceLibrary"
btnCode=
'material.toPriceLibrary'
>
<
Menu
.
Item
key=
"priceLibrary"
>
<
Link
to=
{
`/memberCenter/commodityAbility/priceManage/priceLibrary?code=${record.code}`
}
>
{
intl
.
formatMessage
({
id
:
'material.priceLibrary'
,
defaultMessage
:
'价格库'
})
}
</
Link
>
</
Menu
.
Item
>
</
AuthButton
>
),
].
filter
(
Boolean
);
const
menu
=
(
<
Menu
>
...
...
@@ -113,11 +122,6 @@ const MaterialQuery = () => {
<
AuthButton
btnCode=
'material.sourceList'
>
<
Link
to=
{
{
pathname
:
`${URL_PREFIX}/query/sourceList`
,
query
:
{
id
:
record
.
id
},
state
:
{
name
:
record
.
name
}}
}
>
货源清单
</
Link
>
</
AuthButton
>
<
AuthButton
btnCode=
'material.toPriceLibrary'
>
<
Link
to=
{
`/memberCenter/commodityAbility/priceManage/priceLibrary?code=${record.code}`
}
>
{
intl
.
formatMessage
({
id
:
'material.priceLibrary'
,
defaultMessage
:
'价格库'
})
}
</
Link
>
</
AuthButton
>
{
menuItems
.
length
>
0
?
(
<
Dropdown
overlay=
{
menu
}
>
<
a
className=
"ant-dropdown-link"
onClick=
{
e
=>
e
.
preventDefault
()
}
>
...
...
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