fix: bug
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 7m11s

This commit is contained in:
sexygoat
2026-04-24 18:39:39 +08:00
parent 2d6b5d7903
commit 17c299e4ce
27 changed files with 500 additions and 481 deletions

View File

@@ -48,7 +48,7 @@
<ElDialog
v-model="dialogVisible"
:title="dialogType === 'add' ? '新增套餐系列' : '编辑套餐系列'"
width="30%"
width="40%"
:close-on-click-modal="false"
>
<ElForm ref="formRef" :model="form" :rules="rules" label-width="120px">
@@ -291,7 +291,13 @@
<span class="title-text">强充配置</span>
</div>
<ElFormItem label="强充金额">
<ElFormItem label="启用强充">
<ElSwitch
v-model="form.one_time_commission_config.enable_force_recharge"
/>
</ElFormItem>
<ElFormItem label="强充金额" v-if="form.one_time_commission_config.enable_force_recharge">
<ElInputNumber
v-model="form.one_time_commission_config.force_amount"
:min="0"
@@ -305,7 +311,7 @@
>
</ElFormItem>
<ElFormItem label="强充计算类型">
<ElFormItem label="强充计算类型" v-if="form.one_time_commission_config.enable_force_recharge">
<ElRadioGroup v-model="form.one_time_commission_config.force_calc_type">
<ElRadio value="fixed">固定</ElRadio>
<ElRadio value="dynamic">动态</ElRadio>
@@ -483,7 +489,8 @@
{
label: '强充状态',
prop: 'enable_force_recharge',
formatter: (row: any) => (row.one_time_commission_config?.enable_force_recharge ? '启用' : '未启用')
formatter: (row: any) =>
row.one_time_commission_config?.enable_force_recharge ? '启用' : '未启用'
},
{
label: '强充金额',