|
@@ -141,7 +141,9 @@ export default {
|
|
|
orgCode: null,
|
|
|
loginName: null,
|
|
|
showSummaryList: ['materialNumber', 'netWeight', 'theoryWeight'],
|
|
|
- queryMap: {}
|
|
|
+ queryMap: {},
|
|
|
+ tableData: [],
|
|
|
+ tableTop: []
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
@@ -154,6 +156,10 @@ export default {
|
|
|
this.getRequestUrl()
|
|
|
},
|
|
|
methods: {
|
|
|
+ func(res) {
|
|
|
+ console.log(res, 'res')
|
|
|
+ this.tableTop = res.columnData
|
|
|
+ },
|
|
|
exportExcel() {
|
|
|
//创建工作簿对象
|
|
|
let wb = XLSX.utils.book_new()
|