diff --git a/src/utils/index.js b/src/utils/index.js index 8a97833..1f9850f 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -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) diff --git a/src/views/refineryCenter/index.vue b/src/views/refineryCenter/index.vue index 246140a..ebff031 100644 --- a/src/views/refineryCenter/index.vue +++ b/src/views/refineryCenter/index.vue @@ -85,7 +85,7 @@ 当前 {{ row.currentRechargeBalance }}

- 上次 {{ row.lasttRechargeBalance }} + 上次 {{ row.lastRechargeBalance }}

@@ -99,7 +99,7 @@

--> - + { - 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 }) },