...
|
...
|
@@ -17,6 +17,7 @@ |
|
|
</layout-filter>
|
|
|
<layout-list>
|
|
|
<Button type="success" @click="print" class="table-btn">打印</Button>
|
|
|
<Button type="warning" @click="exportData" class="table-btn">导出</Button>
|
|
|
<Table border :columns="tableCols" :data="tableData"></Table>
|
|
|
<Page :total="pageData.total" :current="pageData.pageNo"
|
|
|
@on-change="pageChange" :page-size="20" show-total></Page>
|
...
|
...
|
@@ -91,6 +92,15 @@ export default { |
|
|
|
|
|
window.open(href, '_blank');
|
|
|
},
|
|
|
exportData() {
|
|
|
const beginTime = this.startTime;
|
|
|
const endTime = this.endTime;
|
|
|
|
|
|
const href = '/Api/erp/exportInventoryLedgerList?' +
|
|
|
`beginTime=${beginTime}&endTime=${endTime}`;
|
|
|
|
|
|
window.open(href, '_blank');
|
|
|
},
|
|
|
returnPage() {
|
|
|
this.$router.push({
|
|
|
name: 'finance.clearing'
|
...
|
...
|
|