Commit 74eaff2c942c34cc9604231acab65a8cead11ebb
1 parent
57f3eb95
fix(*): 结算查看
Showing
2 changed files
with
8 additions
and
1 deletions
src/pages/order3/FinancialRebatesDiscounts/components/List.tsx
... | ... | @@ -51,7 +51,9 @@ export default function List({ list, paginationConfig, loading }: Props) { |
51 | 51 | </Typography.Link> |
52 | 52 | ) : null} |
53 | 53 | {[RebateStatusEnum['已结算'], RebateStatusEnum['结算中']].includes(record.rebateStatus) ? ( |
54 | - <Typography.Link style={{ color: '#999' }}>查看</Typography.Link> | |
54 | + <Typography.Link onClick={() => onConfirm(record)} style={{ color: '#999' }}> | |
55 | + 查看 | |
56 | + </Typography.Link> | |
55 | 57 | ) : null} |
56 | 58 | </Space> |
57 | 59 | )} | ... | ... |
src/pages/order3/FinancialRebatesDiscounts/subpages/ConfirmRebate/components/ConfirmData.tsx
... | ... | @@ -74,6 +74,11 @@ function Index({ id, financeCompanyName, dealerName, setCurrent, rebateStatus }: |
74 | 74 | <Button loading={confirmLoading} onClick={onBack} type="default"> |
75 | 75 | 返回列表 |
76 | 76 | </Button> |
77 | + {['3', '2'].includes(rebateStatus) ? ( | |
78 | + <Button loading={confirmLoading} onClick={() => setCurrent(1)} type="default"> | |
79 | + 下一步 | |
80 | + </Button> | |
81 | + ) : null} | |
77 | 82 | {['3', '2'].includes(rebateStatus) ? null : ( |
78 | 83 | <Button loading={confirmLoading} onClick={onSure} type="primary"> |
79 | 84 | 保存 | ... | ... |