失败记录日志

This commit is contained in:
wuweihua
2026-10-21 10:45:04 +08:00
parent dd2efef456
commit 36837f94bf
3 changed files with 102 additions and 6 deletions
@@ -39,8 +39,9 @@
<div class="json-panel__head"><span>失败明细(共 {{ failRows.length }} 单)</span></div>
<el-table :data="failRows" border size="small" max-height="280" class="fail-table">
<el-table-column label="订单号" prop="orderId" min-width="160" show-overflow-tooltip />
<el-table-column label="运单号" prop="trackingNo" min-width="140" show-overflow-tooltip />
<el-table-column label="转单号" prop="transferOrderId" min-width="140" show-overflow-tooltip />
<el-table-column label="错误信息" prop="errorMessage" min-width="220" show-overflow-tooltip />
<el-table-column label="错误信息" prop="errorMessage" min-width="240" show-overflow-tooltip />
</el-table>
</div>
<div class="json-panel">
@@ -113,6 +114,10 @@ function actionLabel(row) {
if (action === 'COMPARE_DONE') {
return row.status === 'FAIL' ? '比对完成(失败)' : '比对完成'
}
if (action === 'LOCAL_REBILL') return '本地重新计费'
if (action === 'LOCAL_REBILL_DONE') {
return row.status === 'FAIL' ? '本地重新计费完成(有失败)' : '本地重新计费完成'
}
return action || '-'
}