|
|
@@ -8,7 +8,7 @@
|
|
|
:columns="columns"
|
|
|
max-height="500px"
|
|
|
:datasource="flatList"
|
|
|
- cache-key="account-detail-table"
|
|
|
+ :cache-key="cacheKeyUrl"
|
|
|
class="time-form"
|
|
|
>
|
|
|
<template v-slot:toolbar>
|
|
|
@@ -165,6 +165,7 @@
|
|
|
|
|
|
<script>
|
|
|
import { parameterGetByCode } from '@/api/main/index.js';
|
|
|
+ import { pricingWayList } from '@/enum/dict.js';
|
|
|
|
|
|
export default {
|
|
|
name: 'accountDetailTable',
|
|
|
@@ -184,6 +185,7 @@
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ cacheKeyUrl: 'eom-202608171423-account-detail-table',
|
|
|
isTaxRate: 0,
|
|
|
flatList: [],
|
|
|
totalStatementAmount: 0,
|
|
|
@@ -192,7 +194,7 @@
|
|
|
batchType: '',
|
|
|
batchValue: '',
|
|
|
batchLabel: '',
|
|
|
-
|
|
|
+ columnsVersion: 1,
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
|
@@ -200,6 +202,7 @@
|
|
|
return this.dialogType === 'view';
|
|
|
},
|
|
|
columns() {
|
|
|
+ let columnsVersion = this.columnsVersion;
|
|
|
return [
|
|
|
{
|
|
|
width: 60,
|
|
|
@@ -383,6 +386,10 @@
|
|
|
prop: 'pricingWay',
|
|
|
label: '计价方式',
|
|
|
align: 'center',
|
|
|
+ formatter: (row, column) => {
|
|
|
+ return pricingWayList.find((item) => item.id == row.pricingWay)
|
|
|
+ ?.name;
|
|
|
+ }
|
|
|
},
|
|
|
]
|
|
|
}
|