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
6767fa66
Commit
6767fa66
authored
Mar 31, 2022
by
前端-许佳敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 隐藏销售订单评价按钮
parent
3ab50520
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
index.tsx
src/pages/transaction/saleOrder/index.tsx
+2
-2
No files found.
src/pages/transaction/saleOrder/index.tsx
View file @
6767fa66
...
@@ -272,7 +272,7 @@ const SaleOrder: React.FC<SaleOrderProps> = () => {
...
@@ -272,7 +272,7 @@ const SaleOrder: React.FC<SaleOrderProps> = () => {
const
buttonGroup
=
{
const
buttonGroup
=
{
[
intl
.
formatMessage
({
id
:
'saleOrder.quxiaodingdan'
,
defaultMessage
:
'取消订单'
})]:
record
.
showCancel
,
[
intl
.
formatMessage
({
id
:
'saleOrder.quxiaodingdan'
,
defaultMessage
:
'取消订单'
})]:
record
.
showCancel
,
[
intl
.
formatMessage
({
id
:
'saleOrder.zhongzhi'
,
defaultMessage
:
'中止'
})]:
record
.
showTerminate
,
[
intl
.
formatMessage
({
id
:
'saleOrder.zhongzhi'
,
defaultMessage
:
'中止'
})]:
record
.
showTerminate
,
[
intl
.
formatMessage
({
id
:
'saleOrder.pingjia'
,
defaultMessage
:
'评价'
})]:
record
.
showComment
,
//
[intl.formatMessage({ id: 'saleOrder.pingjia', defaultMessage: '评价' })]: record.showComment,
[
intl
.
formatMessage
({
id
:
'saleOrder.zhuandan'
,
defaultMessage
:
'转单'
})]:
record
.
showTransfer
,
[
intl
.
formatMessage
({
id
:
'saleOrder.zhuandan'
,
defaultMessage
:
'转单'
})]:
record
.
showTransfer
,
[
intl
.
formatMessage
({
id
:
'saleOrder.xiugaidingdanjia'
,
defaultMessage
:
'修改订单价格'
})]:
record
.
showModifyPrice
,
[
intl
.
formatMessage
({
id
:
'saleOrder.xiugaidingdanjia'
,
defaultMessage
:
'修改订单价格'
})]:
record
.
showModifyPrice
,
[
intl
.
formatMessage
({
id
:
'saleOrder.shengchengzhifulian'
,
defaultMessage
:
'生成支付链接'
})]:
record
.
showGeneratePayLink
,
[
intl
.
formatMessage
({
id
:
'saleOrder.shengchengzhifulian'
,
defaultMessage
:
'生成支付链接'
})]:
record
.
showGeneratePayLink
,
...
@@ -281,7 +281,7 @@ const SaleOrder: React.FC<SaleOrderProps> = () => {
...
@@ -281,7 +281,7 @@ const SaleOrder: React.FC<SaleOrderProps> = () => {
const
operationHandler
=
{
const
operationHandler
=
{
[
intl
.
formatMessage
({
id
:
'saleOrder.quxiaodingdan'
,
defaultMessage
:
'取消订单'
})]:
()
=>
handleCancel
(
record
),
[
intl
.
formatMessage
({
id
:
'saleOrder.quxiaodingdan'
,
defaultMessage
:
'取消订单'
})]:
()
=>
handleCancel
(
record
),
[
intl
.
formatMessage
({
id
:
'saleOrder.zhongzhi'
,
defaultMessage
:
'中止'
})]:
()
=>
handleSuspend
(
record
),
[
intl
.
formatMessage
({
id
:
'saleOrder.zhongzhi'
,
defaultMessage
:
'中止'
})]:
()
=>
handleSuspend
(
record
),
[
intl
.
formatMessage
({
id
:
'saleOrder.pingjia'
,
defaultMessage
:
'评价'
})]:
()
=>
handleEvaluate
(),
//
[intl.formatMessage({ id: 'saleOrder.pingjia', defaultMessage: '评价' })]: () => handleEvaluate(),
[
intl
.
formatMessage
({
id
:
'saleOrder.zhuandan'
,
defaultMessage
:
'转单'
})]:
()
=>
onlyTransform
(
record
.
orderId
),
[
intl
.
formatMessage
({
id
:
'saleOrder.zhuandan'
,
defaultMessage
:
'转单'
})]:
()
=>
onlyTransform
(
record
.
orderId
),
[
intl
.
formatMessage
({
id
:
'saleOrder.xiugaidingdanjia'
,
defaultMessage
:
'修改订单价格'
})]:
()
=>
handleModifyPrice
(
record
),
[
intl
.
formatMessage
({
id
:
'saleOrder.xiugaidingdanjia'
,
defaultMessage
:
'修改订单价格'
})]:
()
=>
handleModifyPrice
(
record
),
[
intl
.
formatMessage
({
id
:
'saleOrder.shengchengzhifulian'
,
defaultMessage
:
'生成支付链接'
})]:
()
=>
generatePayChart
(
record
)
[
intl
.
formatMessage
({
id
:
'saleOrder.shengchengzhifulian'
,
defaultMessage
:
'生成支付链接'
})]:
()
=>
generatePayChart
(
record
)
...
...
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