充值手续费配置

This commit is contained in:
墨大叔 2024-09-09 15:52:06 +08:00
parent d97746dada
commit f775024234
2 changed files with 15 additions and 33 deletions

View File

@ -16,38 +16,15 @@
</el-form> </el-form>
<el-row :gutter="10" class="mb8"> <el-row :gutter="10" class="mb8">
<!-- <el-col :span="1.5">--> <el-col :span="1.5">
<!-- <el-button--> <el-button
<!-- type="primary"--> type="warning"
<!-- plain--> plain
<!-- icon="el-icon-plus"--> icon="el-icon-setting"
<!-- size="mini"--> size="mini"
<!-- @click="handleAdd"--> @click="showConfig = true"
<!-- v-hasPermi="['system:channel:add']"--> >参数配置</el-button>
<!-- >新增</el-button>--> </el-col>
<!-- </el-col>-->
<!-- <el-col :span="1.5">-->
<!-- <el-button-->
<!-- type="success"-->
<!-- plain-->
<!-- icon="el-icon-edit"-->
<!-- size="mini"-->
<!-- :disabled="single"-->
<!-- @click="handleUpdate"-->
<!-- v-hasPermi="['system:channel:edit']"-->
<!-- >修改</el-button>-->
<!-- </el-col>-->
<!-- <el-col :span="1.5">-->
<!-- <el-button-->
<!-- type="danger"-->
<!-- plain-->
<!-- icon="el-icon-delete"-->
<!-- size="mini"-->
<!-- :disabled="multiple"-->
<!-- @click="handleDelete"-->
<!-- v-hasPermi="['system:channel:remove']"-->
<!-- >删除</el-button>-->
<!-- </el-col>-->
<el-col :span="1.5"> <el-col :span="1.5">
<el-button <el-button
type="warning" type="warning"
@ -147,19 +124,24 @@
<el-button @click="cancel"> </el-button> <el-button @click="cancel"> </el-button>
</div> </div>
</el-dialog> </el-dialog>
<config-dialog :show.sync="showConfig" :keys="['recharge.min.service']" />
</div> </div>
</template> </template>
<script> <script>
import { listChannel, getChannel, delChannel, addChannel, updateChannel } from "@/api/system/channel"; import { listChannel, getChannel, delChannel, addChannel, updateChannel } from "@/api/system/channel";
import { $serviceType, $withdrawServiceType } from '@/utils/mixins' import { $serviceType, $withdrawServiceType } from '@/utils/mixins'
import ConfigDialog from '@/components/Business/Config/ConfigDialog.vue'
export default { export default {
name: "Channel", name: "Channel",
components: { ConfigDialog },
mixins: [$serviceType, $withdrawServiceType], mixins: [$serviceType, $withdrawServiceType],
dicts: ['withdraw_service_type', 'service_type'], dicts: ['withdraw_service_type', 'service_type'],
data() { data() {
return { return {
showConfig: false,
span: 24, span: 24,
// //
loading: true, loading: true,

View File

@ -134,7 +134,7 @@
<el-tag :type="d.row.isUsing ? 'success' : 'danger'">{{d.row.isUsing ? '是' : '否'}}</el-tag> <el-tag :type="d.row.isUsing ? 'success' : 'danger'">{{d.row.isUsing ? '是' : '否'}}</el-tag>
</template> </template>
<template v-else-if="['money', 'serviceCharge', 'channelCost', 'arrivalAmount'].includes(column.key)"> <template v-else-if="['money', 'serviceCharge', 'channelCost', 'arrivalAmount'].includes(column.key)">
{{d.row.money | money | defaultValue}} {{d.row[column.key] | money | defaultValue}}
</template> </template>
<template v-else> <template v-else>
{{d.row[column.key] | defaultValue}} {{d.row[column.key] | defaultValue}}