Skip to content

Commit 59ab621

Browse files
committed
trade:优化分销界面的 width 列宽度,和一些非空判断
1 parent e6ee0ab commit 59ab621

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

src/views/mall/trade/brokerage/record/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,14 @@
9696
align="center"
9797
prop="unfreezeTime"
9898
:formatter="dateFormatter"
99-
width="170px"
99+
width="180px"
100100
/>
101101
<el-table-column
102102
label="创建时间"
103103
align="center"
104104
prop="createTime"
105105
:formatter="dateFormatter"
106-
width="170px"
106+
width="180px"
107107
/>
108108
</el-table>
109109
<!-- 分页 -->

src/views/mall/trade/brokerage/user/BrokerageOrderListDialog.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
align="center"
7878
prop="createTime"
7979
:formatter="dateFormatter"
80-
width="170px"
80+
width="180px"
8181
/>
8282
</el-table>
8383
<!-- 分页 -->

src/views/mall/trade/brokerage/user/BrokerageUserListDialog.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
align="center"
6868
prop="bindUserTime"
6969
:formatter="dateFormatter"
70-
width="170px"
70+
width="180px"
7171
/>
7272
</el-table>
7373
<!-- 分页 -->

src/views/mall/trade/brokerage/user/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,15 @@
109109
align="center"
110110
prop="brokerageTime"
111111
:formatter="dateFormatter"
112-
width="170px"
112+
width="180px"
113113
/>
114114
<el-table-column label="上级推广员编号" align="center" prop="bindUserId" width="150px" />
115115
<el-table-column
116116
label="推广员绑定时间"
117117
align="center"
118118
prop="bindUserTime"
119119
:formatter="dateFormatter"
120-
width="170px"
120+
width="180px"
121121
/>
122122
<el-table-column label="操作" align="center" width="150px" fixed="right">
123123
<template #default="scope">

src/views/mall/trade/brokerage/withdraw/index.vue

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@
104104
<template #default="scope">
105105
<div v-if="scope.row.type === BrokerageWithdrawTypeEnum.WALLET.type"> 余额 </div>
106106
<div v-else>
107-
{{ getDictLabel(DICT_TYPE.BROKERAGE_WITHDRAW_TYPE, scope.row.type) }}账号:
108-
{{ scope.row.accountNo }}
107+
{{ getDictLabel(DICT_TYPE.BROKERAGE_WITHDRAW_TYPE, scope.row.type) }}
108+
<span v-if="scope.row.accountNo">账号:{{ scope.row.accountNo }}</span>
109109
</div>
110110
<template v-if="scope.row.type === BrokerageWithdrawTypeEnum.BANK.type">
111111
<div>真实姓名:{{ scope.row.name }}</div>
@@ -117,14 +117,16 @@
117117
</template>
118118
</template>
119119
</el-table-column>
120-
<el-table-column label="收款码" align="left" prop="accountQrCodeUrl" width="70px">
120+
<el-table-column label="收款码" align="left" prop="accountQrCodeUrl" min-width="70px">
121121
<template #default="scope">
122122
<el-image
123+
v-if="scope.row.accountQrCodeUrl"
123124
:src="scope.row.accountQrCodeUrl"
124125
class="w-40px h-40px"
125126
:preview-src-list="[scope.row.accountQrCodeUrl]"
126127
preview-teleported
127128
/>
129+
<span v-else>无</span>
128130
</template>
129131
</el-table-column>
130132
<el-table-column

0 commit comments

Comments
 (0)