Commit dfc7063c authored by 前端-许佳敏's avatar 前端-许佳敏

fix:待支付订单-显示去支付按钮逻辑

parent 5a04c8ad
......@@ -51,7 +51,6 @@ const CircleChart = props => {
// 业务hooks, 待支付订单
export const useSelfTable = () => {
const ref = useRef<any>({})
const showOutPayState = PurchaseOrderOutWorkState.PAY_ORDER || PurchaseOrderOutWorkState.CONFIRM_NOT_ARRIVED_ACCOUNT
const payOrderColumns: any[] = [
{
title: '订单号',
......@@ -127,7 +126,8 @@ export const useSelfTable = () => {
<Col>{record.currentPayments} / {record.sum}</Col>
<Col>
{
record.currentPayments !== record.sum && showOutPayState &&
record.currentPayments !== record.sum &&
(record.externalState === PurchaseOrderOutWorkState.PAY_ORDER || record.externalState === PurchaseOrderOutWorkState.CONFIRM_NOT_ARRIVED_ACCOUNT) &&
<Link to={`/memberCenter/tranactionAbility/purchaseOrder/readyPayOrder/detail?id=${record.id}`}>去支付</Link>
}
</Col>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment