优化结构
This commit is contained in:
@@ -419,9 +419,10 @@ async function syncOrder(order) {
|
||||
}
|
||||
async function retryFulfillment(order) {
|
||||
if (isRowBusy(order)) return
|
||||
setRowAction(order, 'fulfill-confirm')
|
||||
try {
|
||||
await ElMessageBox.confirm(`确认${fulfillmentActionText(order)}订单 ${order.tradeNo} 吗?`, fulfillmentActionText(order), { type: 'warning', confirmButtonText: '确认执行' })
|
||||
} catch { return }
|
||||
} catch { setRowAction(order, ''); return }
|
||||
setRowAction(order, 'fulfill')
|
||||
try {
|
||||
const res = await fulfillPaymentOrder({ provider: order.provider, tradeNo: order.tradeNo })
|
||||
|
||||
Reference in New Issue
Block a user