|
@@ -438,39 +438,11 @@ export default {
|
|
|
handleCloe() {
|
|
|
this.dialogViewSpareMoney = false
|
|
|
},
|
|
|
- history(row) {
|
|
|
- billoperatehis({ id: row.id })
|
|
|
- .toPromise()
|
|
|
- .then(response => {
|
|
|
- this.historyList = response
|
|
|
- })
|
|
|
- },
|
|
|
+
|
|
|
find() {
|
|
|
this.currentPage = 1
|
|
|
this.getList()
|
|
|
},
|
|
|
- async exportlist() {
|
|
|
- const { data } = await export1(
|
|
|
- {
|
|
|
- compId: sessionStorage.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
|
|
|
- },
|
|
|
- {},
|
|
|
- { responseType: 'blob' }
|
|
|
- ).toPromise()
|
|
|
- downloadFile({
|
|
|
- res: data,
|
|
|
- fileName: `${this.date.year +
|
|
|
- (this.date.month ? `-${this.date.month}` : '')}_采购合同`,
|
|
|
- type: 'xls'
|
|
|
- })
|
|
|
- }
|
|
|
}
|
|
|
}
|
|
|
</script>
|