Selaa lähdekoodia

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

YunaiV 1 vuosi sitten
vanhempi
commit
59ab6218ca

+ 2 - 2
src/views/mall/trade/brokerage/record/index.vue

@@ -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>
     <!-- 分页 -->

+ 1 - 1
src/views/mall/trade/brokerage/user/BrokerageOrderListDialog.vue

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

+ 1 - 1
src/views/mall/trade/brokerage/user/BrokerageUserListDialog.vue

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

+ 2 - 2
src/views/mall/trade/brokerage/user/index.vue

@@ -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">

+ 5 - 3
src/views/mall/trade/brokerage/withdraw/index.vue

@@ -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