修复结账金额和后台类型
This commit is contained in:
@@ -792,12 +792,12 @@ function getStatusTagType(status: string) {
|
||||
<section v-if="order.checkout && ['pending_checkout_confirm', 'pending_checkout_accept'].includes(order.status)" class="card-section">
|
||||
<h3 class="section-title">结账结算账单</h3>
|
||||
<van-cell-group inset :border="false">
|
||||
<van-cell :title="orderAmountLabel" :value="`¥${money(order.checkout.display_amount)}`" />
|
||||
<van-cell title="实际结算租金" :value="`¥${money(order.checkout.display_amount)}`" />
|
||||
<van-cell title="押金总额" :value="`¥${money(order.checkout.deposit_amount)}`" />
|
||||
<van-cell title="额外消耗品金额" :value="`¥${money(order.checkout.consumable_amount)}`" />
|
||||
<van-cell title="押金扣除" :value="`¥${money(order.checkout.deposit_deduct_amount)}`" value-class="red-text" />
|
||||
<van-cell v-if="isRenter" title="退还租客押金" :value="`¥${money(order.checkout.renter_refund_amount)}`" value-class="green-text" />
|
||||
<van-cell v-if="isOwner" title="号主最终收益" :value="`¥${money(order.checkout.owner_income_amount)}`" value-class="green-text" />
|
||||
<van-cell title="额外消耗品已用" :value="`¥${money(order.checkout.consumable_amount)}`" />
|
||||
<van-cell title="押金赔付扣除" :value="`¥${money(order.checkout.deposit_deduct_amount)}`" value-class="red-text" />
|
||||
<van-cell v-if="isRenter" title="退还租客" :value="`¥${money(order.checkout.renter_refund_amount)}`" value-class="green-text" />
|
||||
<van-cell v-if="isOwner" title="号主最终收入" :value="`¥${money(order.checkout.owner_income_amount)}`" value-class="green-text" />
|
||||
<van-cell v-if="order.checkout.content" title="结账备注" :label="order.checkout.content" />
|
||||
<van-cell v-if="order.checkout.owner_adjustment_reason" title="号主修正原因" :label="order.checkout.owner_adjustment_reason" />
|
||||
</van-cell-group>
|
||||
@@ -911,9 +911,9 @@ function getStatusTagType(status: string) {
|
||||
<button class="popup-close" @click="showCounterPopup = false">✕</button>
|
||||
</header>
|
||||
<div class="popup-body">
|
||||
<p class="form-hint-info">在此调整扣减租客押金或各项损耗的金额,提案将交由租客二次确认。</p>
|
||||
<p class="form-hint-info">在此调整实际使用的租金项目和押金赔付金额,提案将交由租客二次确认。</p>
|
||||
<van-cell-group :border="false">
|
||||
<van-field label="消耗损耗款">
|
||||
<van-field label="额外消耗品已用">
|
||||
<template #input>
|
||||
<input v-model.number="counterForm.consumable_amount" type="number" class="custom-inline-input" />
|
||||
</template>
|
||||
@@ -923,12 +923,12 @@ function getStatusTagType(status: string) {
|
||||
<input v-model.number="counterForm.coin_consumed_m" type="number" class="custom-inline-input" />
|
||||
</template>
|
||||
</van-field>
|
||||
<van-field label="其他损失扣款">
|
||||
<van-field label="其他押金扣款">
|
||||
<template #input>
|
||||
<input v-model.number="counterForm.other_amount" type="number" class="custom-inline-input" />
|
||||
</template>
|
||||
</van-field>
|
||||
<van-field label="扣除押金总额" required>
|
||||
<van-field label="押金赔付扣除" required>
|
||||
<template #input>
|
||||
<input v-model.number="counterForm.deposit_deduct_amount" type="number" class="custom-inline-input" />
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user