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
13c2ccd3
Commit
13c2ccd3
authored
Apr 14, 2022
by
wuting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 按钮权限
parent
65cb75ab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
index.tsx
src/pages/procurement/callForBids/readyAddMallBid/index.tsx
+3
-3
index.tsx
.../purchaseAbility/purchaseInquiry/addMallInquiry/index.tsx
+6
-6
No files found.
src/pages/procurement/callForBids/readyAddMallBid/index.tsx
View file @
13c2ccd3
...
...
@@ -119,7 +119,7 @@ const ReadyAddBid: React.FC<ReadyAddBidProps> = (props) => {
formilyChilds=
{
{
children
:
<
Space
>
<
AuthButton
btnCode=
'
r
eadyAddBid.add'
>
<
AuthButton
btnCode=
'
mallR
eadyAddBid.add'
>
<
Button
icon=
{
<
PlusCircleOutlined
/>
}
type=
'primary'
...
...
@@ -128,10 +128,10 @@ const ReadyAddBid: React.FC<ReadyAddBidProps> = (props) => {
{
intl
.
formatMessage
({
id
:
'table.purchase.added'
})
}
</
Button
>
</
AuthButton
>
<
AuthButton
btnCode=
'
r
eadyAddBid.batchsubmit'
>
<
AuthButton
btnCode=
'
mallR
eadyAddBid.batchsubmit'
>
<
Button
onClick=
{
handleBitchPush
}
loading=
{
submitLoading
}
>
{
intl
.
formatMessage
({
id
:
'table.purchase.submitBatch'
})
}
</
Button
>
</
AuthButton
>
<
AuthButton
btnCode=
'
r
eadyAddBid.batchdel'
>
<
AuthButton
btnCode=
'
mallR
eadyAddBid.batchdel'
>
<
Button
onClick=
{
handleBitchRemove
}
loading=
{
submitLoading
}
>
{
intl
.
formatMessage
({
id
:
'table.purchase.deleteBatch'
})
}
</
Button
>
</
AuthButton
>
...
...
src/pages/transaction/purchaseAbility/purchaseInquiry/addMallInquiry/index.tsx
View file @
13c2ccd3
...
...
@@ -66,7 +66,7 @@ const AddInquiry = () => {
render
:
(
text
:
any
,
record
:
any
)
=>
(
<>
{
(
record
.
button
===
BUTTONAUTHORITY
.
ONE
)
&&
<
AuthButton
btnCode=
'
p
urchaseInquiry.submit'
>
<
AuthButton
btnCode=
'
mallP
urchaseInquiry.submit'
>
<
Popconfirm
title=
{
intl
.
formatMessage
({
id
:
'table.purchase.popconfirm'
})
}
okText=
{
intl
.
formatMessage
({
id
:
'table.purchase.okText'
})
}
cancelText=
{
intl
.
formatMessage
({
id
:
'table.purchase.cancelText'
})
}
onConfirm=
{
()
=>
fetchSubmitBatch
(
record
.
id
)
}
>
<
Button
type=
'link'
>
{
intl
.
formatMessage
({
id
:
'table.purchase.submit'
})
}
...
...
@@ -75,12 +75,12 @@ const AddInquiry = () => {
</
AuthButton
>
}
{
(
record
.
button
===
BUTTONAUTHORITY
.
ONE
||
record
.
button
===
BUTTONAUTHORITY
.
TWO
)
&&
<
AuthButton
btnCode=
'
p
urchaseInquiry.edit'
>
<
AuthButton
btnCode=
'
mallP
urchaseInquiry.edit'
>
<
Button
type=
'link'
onClick=
{
()
=>
history
.
push
(
`/memberCenter/procurementAbility/purchaseInquiry/addMallInquiry/edit?id=${record.id}&number=${record.purchaseInquiryNo}`
)
}
>
{
intl
.
formatMessage
({
id
:
'table.purchase.eidt'
})
}
</
Button
>
</
AuthButton
>
}
{
(
record
.
button
===
BUTTONAUTHORITY
.
ONE
)
&&
<
AuthButton
btnCode=
'
p
urchaseInquiry.del'
>
<
AuthButton
btnCode=
'
mallP
urchaseInquiry.del'
>
<
Popconfirm
title=
{
intl
.
formatMessage
({
id
:
'table.purchase.popconfirm2'
})
}
okText=
{
intl
.
formatMessage
({
id
:
'table.purchase.okText'
})
}
cancelText=
{
intl
.
formatMessage
({
id
:
'table.purchase.cancelText'
})
}
onConfirm=
{
()
=>
fetchDeleteBatch
(
record
.
id
)
}
>
<
Button
type=
'link'
>
{
intl
.
formatMessage
({
id
:
'table.purchase.delete'
})
}
...
...
@@ -158,7 +158,7 @@ const AddInquiry = () => {
<
Col
span=
{
24
}
>
<
Space
direction=
"horizontal"
size=
{
16
}
>
<
AuthButton
btnCode=
'
p
urchaseInquiry.added'
>
<
AuthButton
btnCode=
'
mallP
urchaseInquiry.added'
>
<
Button
onClick=
{
()
=>
addFn
()
}
type=
"primary"
...
...
@@ -168,7 +168,7 @@ const AddInquiry = () => {
</
Button
>
</
AuthButton
>
<
AuthButton
btnCode=
'
p
urchaseInquiry.batchsubmit'
>
<
AuthButton
btnCode=
'
mallP
urchaseInquiry.batchsubmit'
>
<
Button
onClick=
{
()
=>
fetchSubmitBatch
()
}
disabled=
{
rowkeys
.
length
===
0
}
...
...
@@ -177,7 +177,7 @@ const AddInquiry = () => {
</
Button
>
</
AuthButton
>
<
AuthButton
btnCode=
'
p
urchaseInquiry.batchdel'
>
<
AuthButton
btnCode=
'
mallP
urchaseInquiry.batchdel'
>
<
Button
onClick=
{
()
=>
fetchDeleteBatch
()
}
disabled=
{
rowkeys
.
length
===
0
}
...
...
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