修改评价打分列表按钮显示状态:年审审查列表按钮显示状态
This commit is contained in:
@ -273,8 +273,8 @@ status:状态
|
||||
},
|
||||
{
|
||||
title: intl.formatMessage({ id: 'supplierEvaluateScore.column.tenantName' }),
|
||||
dataIndex: 'tenantName',
|
||||
key: 'tenantName',
|
||||
dataIndex: 'deptName',
|
||||
key: 'deptName',
|
||||
},
|
||||
{
|
||||
title: intl.formatMessage({ id: 'supplierEvaluateScore.column.startTime' }),
|
||||
@ -293,13 +293,13 @@ status:状态
|
||||
},
|
||||
{
|
||||
title: intl.formatMessage({ id: 'supplierEvaluateScore.column.submissionStatus' }),
|
||||
dataIndex: 'submissionStatus',
|
||||
key: 'submissionStatus',
|
||||
dataIndex: 'reviewStatusName',
|
||||
key: 'reviewStatusName',
|
||||
},
|
||||
{
|
||||
title: intl.formatMessage({ id: 'supplierEvaluateScore.column.submissionTime' }),
|
||||
dataIndex: 'submissionTime',
|
||||
key: 'submissionTime',
|
||||
dataIndex: 'reviewTime',
|
||||
key: 'reviewTime',
|
||||
},
|
||||
{
|
||||
title: intl.formatMessage({ id: 'supplierEvaluateScore.column.action' }),
|
||||
@ -309,7 +309,7 @@ status:状态
|
||||
<Button type="link" onClick={() => goToScoring(record, 'supplier', 'view')}>
|
||||
{intl.formatMessage({ id: 'supplierEvaluateScore.button.view' })}
|
||||
</Button>
|
||||
{record.status === '1' && ( // 只有待评分状态才显示打分按钮
|
||||
{record.status === '1' && record.reviewStatus !== '1' && ( // 只有待评分状态才显示打分按钮
|
||||
<Button type="link" onClick={() => goToScoring(record, 'supplier', 'score')}>
|
||||
{intl.formatMessage({ id: 'supplierEvaluateScore.button.score' })}
|
||||
</Button>
|
||||
|
Reference in New Issue
Block a user