更新
This commit is contained in:
@@ -52,10 +52,6 @@ export function isLicensePlate(number) {
|
||||
return instance.test(number)
|
||||
}
|
||||
|
||||
export function cellStyle() {
|
||||
return 'text-align:center'
|
||||
}
|
||||
|
||||
// 类型判断
|
||||
export function typeJudgment(object) {
|
||||
let res = {}.__proto__.toString.call(object)
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
当前 <span>{{ row.currentRechargeBalance }}</span>
|
||||
</p>
|
||||
<p class="gray">
|
||||
上次 <span>{{ row.lasttRechargeBalance }}</span>
|
||||
上次 <span>{{ row.lastRechargeBalance }}</span>
|
||||
</p>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -99,7 +99,7 @@
|
||||
</p>
|
||||
</template>
|
||||
</el-table-column> -->
|
||||
<el-table-column prop="orderId" label="业务订单号" minWidth="180"> </el-table-column>
|
||||
<el-table-column prop="reverseId" label="业务单号" minWidth="180"> </el-table-column>
|
||||
<el-table-column prop="createTime" label="创建时间" minWidth="210"> </el-table-column>
|
||||
</el-table>
|
||||
<el-pagination
|
||||
@@ -158,6 +158,10 @@ export default {
|
||||
return '订单退款'
|
||||
case 'TRANSFER':
|
||||
return '转账'
|
||||
case 'refineryRECHARGE':
|
||||
return '炼厂充值'
|
||||
case 'refineryTURN':
|
||||
return '炼厂圈回'
|
||||
}
|
||||
return val ? val : '暂无数据'
|
||||
}
|
||||
@@ -327,7 +331,15 @@ export default {
|
||||
// this.total = res.data.totalCount;
|
||||
})
|
||||
order.getRecordsByActld(this.parameter).then(res => {
|
||||
this.tableData = res.data.list
|
||||
let data = res.data.list.map(item => {
|
||||
// 2023.06.20 因孔哥时间不够 应其强烈要求 暂出此下策
|
||||
if (item.refineryAccountName) {
|
||||
item.transactionType === 'TURN' && (item.transactionType = 'refineryRECHARGE')
|
||||
item.transactionType === 'RECHARGE' && (item.transactionType = 'refineryTURN')
|
||||
}
|
||||
return item
|
||||
})
|
||||
this.tableData = data
|
||||
this.total = res.data.totalCount
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user