fix: 隐藏原路退回
All checks were successful
构建并部署前端到测试环境 / deploy (push) Successful in 55s

This commit is contained in:
luo
2026-10-23 16:38:08 +08:00
parent d82e716d33
commit c706f543a4
3 changed files with 68 additions and 6 deletions

View File

@@ -165,7 +165,7 @@
}>({
order_id: null,
package_usage_id: undefined,
method: RefundMethod.ORIGINAL_ROUTE,
method: RefundMethod.CUSTOMER_ACCOUNT,
requested_refund_amount: undefined,
actual_received_amount: 0,
refund_reason: '',
@@ -258,8 +258,7 @@
if (order.payment_method === 'wallet') {
return order.buyer_type === 'agent' ? RefundMethod.AGENT_WALLET : RefundMethod.ASSET_WALLET
}
if (order.payment_method === 'offline') return RefundMethod.CUSTOMER_ACCOUNT
return RefundMethod.ORIGINAL_ROUTE
return RefundMethod.CUSTOMER_ACCOUNT
}
const searchOrders = async (query: string) => {
@@ -320,7 +319,7 @@
voucherUploading.value = false
formData.order_id = null
formData.package_usage_id = undefined
formData.method = RefundMethod.ORIGINAL_ROUTE
formData.method = RefundMethod.CUSTOMER_ACCOUNT
formData.requested_refund_amount = undefined
formData.actual_received_amount = 0
formData.refund_reason = ''