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

This commit is contained in:
YunaiV 2023-10-03 12:16:24 +08:00
parent e6ee0ab445
commit 59ab6218ca
5 changed files with 11 additions and 9 deletions

View File

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

View File

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

View File

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

View File

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

View File

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