Commit 59ab6218 by YunaiV

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

parent e6ee0ab4
......@@ -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>
<!-- 分页 -->
......
......@@ -77,7 +77,7 @@
align="center"
prop="createTime"
:formatter="dateFormatter"
width="170px"
width="180px"
/>
</el-table>
<!-- 分页 -->
......
......@@ -67,7 +67,7 @@
align="center"
prop="bindUserTime"
:formatter="dateFormatter"
width="170px"
width="180px"
/>
</el-table>
<!-- 分页 -->
......
......@@ -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">
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment