收敛前端金额表单命名

This commit is contained in:
yml
2026-06-09 20:59:50 +08:00
parent 60324765c5
commit 9cc959afc4
19 changed files with 103 additions and 232 deletions
@@ -531,7 +531,7 @@ function selectRadio<T extends string>(value: T, setter: (value: T) => void) {
<div class="form-section">
<h2 class="section-title">押金与价格</h2>
<van-field
v-model="form.deposit_amount"
v-model="form.depositAmountYuan"
label="押金"
type="number"
required
@@ -484,7 +484,7 @@ function selectDailyLoss(value: string | number) {
>
<div class="deposit-control">
<el-input-number
v-model="form.deposit_amount"
v-model="form.depositAmountYuan"
:min="0"
:controls="false"
:placeholder="priceConfig.deposit_placeholder"
@@ -631,7 +631,9 @@ function selectDailyLoss(value: string | number) {
<div>
<span>押金价格</span>
<strong>{{
form.deposit_amount === '' ? '--' : `¥${formatMoney(Number(form.deposit_amount))}`
form.depositAmountYuan === ''
? '--'
: `¥${formatMoney(Number(form.depositAmountYuan))}`
}}</strong>
</div>
</div>