trade:优化分销界面的 width 列宽度,和一些非空判断

(cherry picked from commit 59ab6218ca)
This commit is contained in:
YunaiV 2023-10-03 12:16:24 +08:00 committed by shizhong
parent f98f79235e
commit 72681f209b
5 changed files with 11 additions and 9 deletions

View File

@ -96,14 +96,14 @@
align="center" align="center"
prop="unfreezeTime" prop="unfreezeTime"
:formatter="dateFormatter" :formatter="dateFormatter"
width="170px" width="180px"
/> />
<el-table-column <el-table-column
label="创建时间" label="创建时间"
align="center" align="center"
prop="createTime" prop="createTime"
:formatter="dateFormatter" :formatter="dateFormatter"
width="170px" width="180px"
/> />
</el-table> </el-table>
<!-- 分页 --> <!-- 分页 -->

View File

@ -77,7 +77,7 @@
align="center" align="center"
prop="createTime" prop="createTime"
:formatter="dateFormatter" :formatter="dateFormatter"
width="170px" width="180px"
/> />
</el-table> </el-table>
<!-- 分页 --> <!-- 分页 -->

View File

@ -67,7 +67,7 @@
align="center" align="center"
prop="bindUserTime" prop="bindUserTime"
:formatter="dateFormatter" :formatter="dateFormatter"
width="170px" width="180px"
/> />
</el-table> </el-table>
<!-- 分页 --> <!-- 分页 -->

View File

@ -109,7 +109,7 @@
align="center" align="center"
prop="brokerageTime" prop="brokerageTime"
:formatter="dateFormatter" :formatter="dateFormatter"
width="170px" width="180px"
/> />
<el-table-column label="上级推广员编号" align="center" prop="bindUserId" width="150px" /> <el-table-column label="上级推广员编号" align="center" prop="bindUserId" width="150px" />
<el-table-column <el-table-column
@ -117,7 +117,7 @@
align="center" align="center"
prop="bindUserTime" prop="bindUserTime"
:formatter="dateFormatter" :formatter="dateFormatter"
width="170px" width="180px"
/> />
<el-table-column label="操作" align="center" width="150px" fixed="right"> <el-table-column label="操作" align="center" width="150px" fixed="right">
<template #default="scope"> <template #default="scope">

View File

@ -104,8 +104,8 @@
<template #default="scope"> <template #default="scope">
<div v-if="scope.row.type === BrokerageWithdrawTypeEnum.WALLET.type"> 余额 </div> <div v-if="scope.row.type === BrokerageWithdrawTypeEnum.WALLET.type"> 余额 </div>
<div v-else> <div v-else>
{{ getDictLabel(DICT_TYPE.BROKERAGE_WITHDRAW_TYPE, scope.row.type) }}账号 {{ getDictLabel(DICT_TYPE.BROKERAGE_WITHDRAW_TYPE, scope.row.type) }}
{{ scope.row.accountNo }} <span v-if="scope.row.accountNo">账号{{ scope.row.accountNo }}</span>
</div> </div>
<template v-if="scope.row.type === BrokerageWithdrawTypeEnum.BANK.type"> <template v-if="scope.row.type === BrokerageWithdrawTypeEnum.BANK.type">
<div>真实姓名{{ scope.row.name }}</div> <div>真实姓名{{ scope.row.name }}</div>
@ -117,14 +117,16 @@
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="收款码" align="left" prop="accountQrCodeUrl" width="70px"> <el-table-column label="收款码" align="left" prop="accountQrCodeUrl" min-width="70px">
<template #default="scope"> <template #default="scope">
<el-image <el-image
v-if="scope.row.accountQrCodeUrl"
:src="scope.row.accountQrCodeUrl" :src="scope.row.accountQrCodeUrl"
class="w-40px h-40px" class="w-40px h-40px"
:preview-src-list="[scope.row.accountQrCodeUrl]" :preview-src-list="[scope.row.accountQrCodeUrl]"
preview-teleported preview-teleported
/> />
<span v-else></span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column