This commit is contained in:
weipengfei 2024-05-18 16:01:39 +08:00
parent 51401e0821
commit 36eb5699bd
1 changed files with 17 additions and 15 deletions

View File

@ -39,7 +39,7 @@
<div class="mt-4"> <div class="mt-4">
<el-table :data="pager.lists" @selection-change="handleSelectionChange"> <el-table :data="pager.lists" @selection-change="handleSelectionChange">
<!-- <el-table-column type="selection" width="55" /> --> <!-- <el-table-column type="selection" width="55" /> -->
<el-table-column label="商户分类" prop="category_id" show-overflow-tooltip> <!-- <el-table-column label="商户分类" prop="category_id" show-overflow-tooltip>
<template #default="{ row }"> <template #default="{ row }">
<dict-value :options="dictData.mer_category_type" :value="row.category_id" /> <dict-value :options="dictData.mer_category_type" :value="row.category_id" />
</template> </template>
@ -48,28 +48,30 @@
<template #default="{ row }"> <template #default="{ row }">
<dict-value :options="dictData.merchat_type" :value="row.type_id" /> <dict-value :options="dictData.merchat_type" :value="row.type_id" />
</template> </template>
</el-table-column> </el-table-column> -->
<el-table-column label="商户名称" prop="mer_name" show-overflow-tooltip /> <el-table-column label="id" prop="id" width="100" show-overflow-tooltip />
<el-table-column label="结算周期(天)" prop="settle_cycle" show-overflow-tooltip /> <el-table-column label="商户名称" prop="supplier.mer_name" show-overflow-tooltip />
<el-table-column label="利率" prop="interest_rate" show-overflow-tooltip /> <el-table-column label="商户电话" prop="supplier.service_phone" show-overflow-tooltip />
<el-table-column label="标签" prop="sys_labels_text" show-overflow-tooltip /> <el-table-column label="创建时间" prop="create_time" show-overflow-tooltip />
<el-table-column label="商户地址" prop="mer_address" show-overflow-tooltip /> <!-- <el-table-column label="结算周期(天)" prop="settle_cycle" show-overflow-tooltip /> -->
<el-table-column label="商户是否禁用" prop="status"> <!-- <el-table-column label="利率" prop="interest_rate" show-overflow-tooltip /> -->
<!-- <el-table-column label="标签" prop="sys_labels_text" show-overflow-tooltip /> -->
<!-- <el-table-column label="商户地址" prop="mer_address" show-overflow-tooltip /> -->
<!-- <el-table-column label="商户是否禁用" prop="status">
<template #default="{ row }"> <template #default="{ row }">
<dict-value :options="dictData.show_status" :value="row.status" /> <dict-value :options="dictData.show_status" :value="row.status" />
</template> </template>
</el-table-column> </el-table-column> -->
<el-table-column label="提成比例" prop="commission_rate" show-overflow-tooltip /> <!-- <el-table-column label="提成比例" prop="commission_rate" show-overflow-tooltip /> -->
<el-table-column label="商户手续费单独设置" width="200" prop="commission_switch"> <!-- <el-table-column label="商户手续费单独设置" width="200" prop="commission_switch">
<template #default="{ row }"> <template #default="{ row }">
<!-- <dict-value :options="dictData.show_status" :value="row.commission_switch" /> -->
{{ row.commission_switch ? "开启" : "关闭" }} {{ row.commission_switch ? "开启" : "关闭" }}
</template> </template>
</el-table-column> </el-table-column> -->
<el-table-column label="商户余额" prop="mer_money" show-overflow-tooltip /> <!-- <el-table-column label="商户余额" prop="mer_money" show-overflow-tooltip /> -->
<el-table-column label="操作" width="170" fixed="right"> <el-table-column label="操作" width="170" fixed="right">
<template #default="{ row }"> <template #default="{ row }">
<el-button link type="primary" @click="handleDetail(row.pid)"> <el-button v-if="!row.status" link type="primary" @click="handleDetail(row.pid)">
审核 审核
</el-button> </el-button>
</template> </template>