整合门店信息

This commit is contained in:
wangxiaowei
2026-04-22 16:51:53 +08:00
parent c97f4609f8
commit a385d6d755

View File

@ -42,6 +42,25 @@
<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="operation_type" width="200">
<template #default="{ row }">
<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="image">
<template #default="{ row }">
<el-image style="width:50px;height:50px;" :src="row.image" :preview-src-list="[row.image]"
@ -54,22 +73,8 @@
:preview-src-list="[row.wxcode_url]" preview-teleported />
</template>
</el-table-column>
<el-table-column label="门店类型" prop="operation_type">
<template #default="{ row }">
<dict-value :options="dictData.operation_type" :value="row.operation_type" />
</template>
</el-table-column>
<el-table-column label="店铺状态" prop="status">
<template #default="{ row }">
<span>{{ row.status == 1 ? '上架' : '下架' }}</span>
</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="包间管理" prop="operation_type" show-overflow-tooltip>
<template #default="{ row }">
<div v-if="row.operation_type == 1">