更新主持人
This commit is contained in:
@@ -210,6 +210,8 @@
|
||||
<th>特权开通日期</th>
|
||||
<th>申请人特权</th>
|
||||
<th>开通日期</th>
|
||||
<th>购买时间</th>
|
||||
<th>金额</th>
|
||||
<th class="cell-nickname-check">
|
||||
<span class="cell-nickname-check-inner">
|
||||
<el-checkbox
|
||||
@@ -267,6 +269,8 @@
|
||||
<td>{{ formatTryDate(row.tryDate) }}</td>
|
||||
<td>{{ formatApplicantPrivilege(row) }}</td>
|
||||
<td>{{ formatOpenDate(row.applyDate) }}</td>
|
||||
<td>{{ formatLatestTradePayTime(row) }}</td>
|
||||
<td>{{ formatLatestTradeTotalMoney(row) }}</td>
|
||||
<td class="cell-nickname-check">
|
||||
<span class="cell-nickname-check-inner">
|
||||
<el-checkbox
|
||||
@@ -912,6 +916,17 @@ export default {
|
||||
if (!user || user.maxOrder == null || user.maxOrder === '') return '-'
|
||||
return String(user.maxOrder)
|
||||
},
|
||||
formatLatestTradePayTime(row) {
|
||||
const order = row && row.latestTradeOrder
|
||||
const payTime = order && order.payTime != null ? String(order.payTime).trim() : ''
|
||||
return payTime || '-'
|
||||
},
|
||||
formatLatestTradeTotalMoney(row) {
|
||||
const order = row && row.latestTradeOrder
|
||||
if (!order || order.totalMoney == null || order.totalMoney === '') return '-'
|
||||
const n = Number(order.totalMoney)
|
||||
return Number.isNaN(n) ? String(order.totalMoney) : n.toFixed(2)
|
||||
},
|
||||
formatOpenDate(dateValue) {
|
||||
const normalized = this.normalizeApplyDateValue(dateValue)
|
||||
if (!normalized) return '-'
|
||||
|
||||
Reference in New Issue
Block a user