报表增加导出功能

This commit is contained in:
季圣华
2021-09-08 22:33:13 +08:00
parent f99d335de4
commit 092fee68f0
15 changed files with 188 additions and 36 deletions

View File

@@ -88,6 +88,9 @@
name:'',
serialNo:''
},
ipagination:{
pageSizeOptions: ['10', '100', '200']
},
allMonthAmount: '',
allCurrentAmount: '',
tabKey: "1",
@@ -145,8 +148,8 @@
let aoa = [['名称', '编号', '期初金额', '本月发生额', '账户流水']]
for (let i = 0; i < this.dataSource.length; i++) {
let ds = this.dataSource[i]
let itemDevice = [ds.name, ds.serialNo, ds.initialAmount, ds.thisMonthAmount, ds.currentAmount]
aoa.push(itemDevice)
let item = [ds.name, ds.serialNo, ds.initialAmount, ds.thisMonthAmount, ds.currentAmount]
aoa.push(item)
}
openDownloadDialog(sheet2blob(aoa), '账户统计')
}