Commit 79f1081b authored by daniel's avatar daniel

feat(gpsDeposit): 退款状态选择判断

parent c5cdcfd2
......@@ -559,7 +559,8 @@
{
type: 'selection',
disabled(row) {
return TradeStatusEnum.PAY_SUCCESS.value !== row.tradeStatus && row.refundStatus == RefundStatusEnum.REFUND_SUCCESS.value
// 支付失败,待支付 全额退款 都不能选 退款成功 也不能选
return [TradeStatusEnum.WAIT_PAY.value, TradeStatusEnum.PAY_FAILED.value, TradeStatusEnum.FULL_REFUND.value].includes(row.tradeStatus)
}
},
{
......
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