修复前端金额展示并整理依赖

This commit is contained in:
yml
2026-06-09 20:32:17 +08:00
parent 4c2199df58
commit 684e30862d
20 changed files with 129 additions and 194 deletions
@@ -253,10 +253,18 @@ function jsonText(value: unknown) {
<el-dialog v-model="detailVisible" title="支付流水详情" width="820px">
<div v-if="activePayment" class="payment-detail">
<div class="detail-grid">
<p><span>业务类型</span><strong>{{ bizTypeLabel(activePayment.biz_type) }}</strong></p>
<p><span>状态</span><strong>{{ paymentStatusLabel(activePayment.status) }}</strong></p>
<p><span>金额</span><strong>{{ moneyCent(activePayment.amount_cent) }}</strong></p>
<p><span>渠道</span><strong>{{ activePayment.provider || '-' }}</strong></p>
<p>
<span>业务类型</span><strong>{{ bizTypeLabel(activePayment.biz_type) }}</strong>
</p>
<p>
<span>状态</span><strong>{{ paymentStatusLabel(activePayment.status) }}</strong>
</p>
<p>
<span>金额</span><strong>{{ moneyCent(activePayment.amount_cent) }}</strong>
</p>
<p>
<span>渠道</span><strong>{{ activePayment.provider || '-' }}</strong>
</p>
</div>
<h3>请求参数</h3>
<pre>{{ jsonText(activePayment.raw_request) }}</pre>