整合门店信息

This commit is contained in:
wangxiaowei
2026-04-22 17:01:27 +08:00
parent 1897f58214
commit a3adcba4a3

View File

@ -42,6 +42,7 @@
<el-table :data="pager.lists" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column label="名称" prop="name" show-overflow-tooltip />
<el-table-column label="图片" prop="image">
<template #default="{ row }">
<el-image style="width:50px;height:50px;" :src="row.image" :preview-src-list="[row.image]"
@ -54,17 +55,25 @@
:preview-src-list="[row.wxcode_url]" preview-teleported />
</template>
</el-table-column>
<el-table-column label="店铺状态" prop="status">
<el-table-column label="店" prop="operation_type" width="300">
<template #default="{ row }">
<span>{{ row.status == 1 ? '上架' : '下架' }}</span>
<div class="flex items-center">
门店类型:&nbsp<dict-value :options="dictData.operation_type" :value="row.operation_type" />
</div>
<div>店铺状态: <span
:class="{ 'text-success': row.status == 1, 'text-danger': row.status == 0 }">{{
row.status == 1 ? '上架' : '下架' }}</span></div>
<div>营业时间: {{ row.start_time }} - {{ row.end_time }}</div>
<div>联系电话: <span class="font-bold">{{ row.contact_phone }}</span></div>
</template>
</el-table-column>
<el-table-column label="账户" prop="operation_type" width="200">
<template #default="{ row }">
<div>累计提现: {{ row.total_reflect_amount }}</div>
<div>累计额度: {{ row.total_amount }}</div>
<div>门店余额: {{ row.balance }}</div>
</template>
</el-table-column>
<el-table-column label="营业开始时间" prop="start_time" show-overflow-tooltip />
<el-table-column label="营业结束时间" prop="end_time" show-overflow-tooltip />
<el-table-column label="联系电话" prop="contact_phone" show-overflow-tooltip />
<el-table-column label="累计提现" prop="total_reflect_amount" show-overflow-tooltip />
<el-table-column label="累计额度" prop="total_amount" show-overflow-tooltip />
<el-table-column label="门店余额" prop="balance" show-overflow-tooltip />
<el-table-column label="操作" width="260" fixed="right">
<template #default="{ row }">
<div class="flex items-center">