diff --git a/src/views/foodManage/stockReport/inoutDetails/index.vue b/src/views/foodManage/stockReport/inoutDetails/index.vue index 445a9292..8957d3ad 100644 --- a/src/views/foodManage/stockReport/inoutDetails/index.vue +++ b/src/views/foodManage/stockReport/inoutDetails/index.vue @@ -25,12 +25,22 @@ style="width: 240px" /> - + 搜索 重置 + + 导出 + + @@ -117,7 +127,17 @@ 重置 - + + + 导出 + + @@ -367,6 +387,32 @@ export default { this.total2 = Number(response.total); this.loading = false; }); + }, + /** 导出按钮操作 */ + handleExport() { + // this.download( + // 'system/user/export', + // { + // ...this.queryParams, + // }, + // `出入库流水_${new Date().getTime()}.xlsx`, + // ) + }, + handleExport2() { + // let param = { + // "pageNum": this.queryParams2.pageNum, + // "pageSize": this.queryParams2.pageSize, + // "areaIdList": [this.queryParams2.areaId], + // "warehouseIdList": [this.queryParams2.warehouseId], + // "materialName": this.queryParams2.materialName + // } + // this.download( + // 'system/user/export', + // { + // ...param, + // }, + // `出入库统计_${new Date().getTime()}.xlsx`, + // ) }, defaultDateRange() { const end = new Date(new Date().toLocaleDateString());