充值手续费配置

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

View File

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