统一结账押金字段为押金赔付扣除

号主修正去掉无效的其他押金扣款,仅保留押金赔付扣除;
前后端与账单文案统一,修正时 other 与 deduct 对齐。
This commit is contained in:
yml2213
2026-07-17 17:17:29 +08:00
parent c492a1cc85
commit 98772867a7
8 changed files with 25 additions and 42 deletions
@@ -107,7 +107,7 @@ function updateNumberField(field: 'coin_consumed_m' | 'otherAmountYuan', event:
订单快照 {{ quantity(props.snapshotHafCoinM) }}M,预计剩余
{{ quantity(props.remainingHafCoinM) }}M
</div>
<van-field label="其他押金赔付" label-width="100px">
<van-field label="押金赔付扣除" label-width="100px">
<template #input>
<div class="coin-input-wrap">
<input
@@ -131,9 +131,9 @@ function updateNumberField(field: 'coin_consumed_m' | 'otherAmountYuan', event:
<em>计入实际结算租金</em>
</div>
<div>
<span>其他押金赔付</span>
<span>押金赔付扣除</span>
<strong>¥{{ money(props.checkoutForm.otherAmountYuan) }}</strong>
<em>从押金赔付扣除</em>
<em>从预收押金中扣除</em>
</div>
</div>
@@ -225,7 +225,7 @@ function updateNumberField(field: 'coin_consumed_m' | 'otherAmountYuan', event:
<div class="checkout-number-card deposit">
<div class="checkout-number-copy">
<div class="checkout-number-title">
<strong>其他押金赔付</strong>
<strong>押金赔付扣除</strong>
<span>仅押金扣除项</span>
</div>
<p>封禁、违规、资产损坏等需要从押金赔付的费用,不含额外消耗品。</p>
@@ -250,9 +250,9 @@ function updateNumberField(field: 'coin_consumed_m' | 'otherAmountYuan', event:
<em>按上方物资数量自动计算,计入实际结算租金</em>
</div>
<div>
<span>其他押金赔付</span>
<span>押金赔付扣除</span>
<strong>¥{{ money(props.checkoutForm.otherAmountYuan) }}</strong>
<em>作为押金赔付扣除,和额外消耗品分开展示</em>
<em>从预收押金中扣除,与额外消耗品分开展示</em>
</div>
</div>
<el-input