|
@@ -34,6 +34,13 @@
|
|
|
{{ getStatusLabel(detailData.status) }}
|
|
{{ getStatusLabel(detailData.status) }}
|
|
|
</el-tag>
|
|
</el-tag>
|
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
|
|
|
+ <!-- 失败/退票才有值,故按「有没有原因」显隐,而不是按状态显隐 -->
|
|
|
|
|
+ <el-descriptions-item v-if="detailData.error_code" label="错误码">
|
|
|
|
|
+ {{ detailData.error_code }}
|
|
|
|
|
+ </el-descriptions-item>
|
|
|
|
|
+ <el-descriptions-item v-if="detailData.error_msg" label="失败原因">
|
|
|
|
|
+ <span class="error-msg">{{ detailData.error_msg }}</span>
|
|
|
|
|
+ </el-descriptions-item>
|
|
|
<el-descriptions-item label="备注">
|
|
<el-descriptions-item label="备注">
|
|
|
{{ detailData.remark || "" }}
|
|
{{ detailData.remark || "" }}
|
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
@@ -179,6 +186,10 @@ function handleRefresh() {
|
|
|
font-weight: 600;
|
|
font-weight: 600;
|
|
|
color: #67c23a;
|
|
color: #67c23a;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ .error-msg {
|
|
|
|
|
+ color: #f56c6c;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.drawer-footer {
|
|
.drawer-footer {
|