代理商设备商户是否允许开启

This commit is contained in:
磷叶 2024-11-08 15:17:00 +08:00
parent 79ddc09452
commit 685ed1e477

View File

@ -1,5 +1,5 @@
<template>
<el-dialog :visible.sync="visible" width="600px" title="用户配置" @open="onOpen">
<el-dialog :visible.sync="visible" width="700px" title="用户配置" @open="onOpen">
<el-form ref="form" :model="form" :rules="rules" label-width="5em" v-loading="loading">
<el-row v-if="showCurrent">
<form-col :span="span" label="当前用户" label-width="5em">
@ -20,7 +20,7 @@
<el-row>
<group-title title="风控配置"/>
<form-col :span="span * 2" label="充值延迟到账时长" prop="arrivalDelay" label-width="9em">
<form-col :span="span" label="充值延迟到账" prop="arrivalDelay" label-width="7em">
<el-input v-model="form.arrivalDelay" placeholder="请输入到账延迟时长">
<template #append>小时</template>
</el-input>
@ -55,11 +55,14 @@
<el-row v-if="form.type === SmUserType.AGENT">
<group-title title="代理商配置"/>
<form-col :span="24" label="默认设备服务费" label-width="8em" prop="agentDeviceService">
<form-col :span="span" label="默认设备服务费" label-width="8em" prop="agentDeviceService">
<el-input v-model="form.agentDeviceService" type="number" :min="0" placeholder="请输入默认设备服务费">
<template #append>%</template>
</el-input>
</form-col>
<form-col :span="span" label="商户开关/充值设备" label-width="10em" prop="agentDeviceService">
<el-switch v-model="form.agentAllowMchSwitch" active-text="允许" inactive-text="不允许"/>
</form-col>
</el-row>
<el-row>