收敛前端金额表单命名
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user