|
|
@@ -249,7 +249,19 @@
|
|
|
selection: [], //单选中集合
|
|
|
delVisible: false, //批量删除弹框状态
|
|
|
loading: false, // 加载状态
|
|
|
- columns: [
|
|
|
+ dateTypeOp: [
|
|
|
+ { label: '按年度', value: 1 },
|
|
|
+ { label: '按季度', value: 2 },
|
|
|
+ { label: '按月度', value: 3 },
|
|
|
+ { label: '按时间段', value: 4 },
|
|
|
+ { label: '按调拨单', value: 5 }
|
|
|
+ ],
|
|
|
+ cacheKeyUrl:'eos-b5bbaa6e-saleManage-accountstatement',
|
|
|
+ };
|
|
|
+ },
|
|
|
+ computed: {
|
|
|
+ columns() {
|
|
|
+ return [
|
|
|
{
|
|
|
width: 45,
|
|
|
type: 'selection',
|
|
|
@@ -288,7 +300,7 @@
|
|
|
showOverflowTooltip: true,
|
|
|
minWidth: 150,
|
|
|
formatter: (_row, _column, cellValue) => {
|
|
|
- return cellValue==1?'按年度':cellValue==2?'按季度':cellValue==3?'按月度':'按时间段'
|
|
|
+ return this.dateTypeOp.find(item => item.value == cellValue)?.label || ''
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
@@ -384,11 +396,9 @@
|
|
|
showOverflowTooltip: true,
|
|
|
fixed: 'right'
|
|
|
}
|
|
|
- ],
|
|
|
- cacheKeyUrl:'eos-b5bbaa6e-saleManage-accountstatement',
|
|
|
- };
|
|
|
+ ]
|
|
|
+ }
|
|
|
},
|
|
|
- computed: {},
|
|
|
|
|
|
methods: {
|
|
|
/* 表格数据源 */
|