|
@@ -432,6 +432,7 @@ export default {
|
|
|
} = await postExport({startDate:this.parameter.startDate,endDate:this.parameter.endDate,warehouseName:this.parameter.warehouseName}, {}, {
|
|
|
responseType: 'blob'
|
|
|
}).toPromise()
|
|
|
+ debugger
|
|
|
downloadFile({
|
|
|
res: data,
|
|
|
fileName: `${
|
|
@@ -829,17 +830,8 @@ export default {
|
|
|
this.getList()
|
|
|
},
|
|
|
// async exportlist() {
|
|
|
- // const { data } = await export1(
|
|
|
- // {
|
|
|
- // compId: localStorage.getItem('ws-pf_compId'),
|
|
|
- // contractType: this.contractType,
|
|
|
- // currentPage: this.currentPage,
|
|
|
- // pageSize: this.pageSize,
|
|
|
- // searchType: this.searchType,
|
|
|
- // searchKeyWord: this.searchKeyWord,
|
|
|
- // startDate: this.startDate,
|
|
|
- // endDate: this.endDate,
|
|
|
- // },
|
|
|
+ // const { data } = await postExport(
|
|
|
+ // this.parameter,
|
|
|
// {},
|
|
|
// { responseType: 'blob' }
|
|
|
// ).toPromise()
|
|
@@ -847,7 +839,7 @@ export default {
|
|
|
// res: data,
|
|
|
// fileName: `${
|
|
|
// this.date.year + (this.date.month ? `-${this.date.month}` : '')
|
|
|
- // }_采购合同`,
|
|
|
+ // }_采购合同1`,
|
|
|
// type: 'xls',
|
|
|
// })
|
|
|
// },
|