From afa7d57befffb484988a758104d1db54a161bc60 Mon Sep 17 00:00:00 2001 From: cun-nan <19819293608@163.com> Date: Fri, 27 Oct 2023 18:04:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=BF=E5=88=A9=E5=BA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/convenienceStore/stockstatistic.js | 14 ++++++-- .../views/convenienceStore/stockStatistic.vue | 34 ++++++++++++++----- .../controller/StockStatisticController.java | 32 +++++++++++++++++ .../mapper/StockStatisticMapper.java | 9 +++++ .../mapper/xml/StockStatisticMapper.xml | 7 ++++ .../service/StockStatisticService.java | 16 +++++++++ .../impl/StockStatisticServiceImpl.java | 23 +++++++++++++ .../convenienceSore/vo/StockStatisticVo.java | 14 ++++++-- .../controller/ExportController.java | 2 -- 9 files changed, 137 insertions(+), 14 deletions(-) diff --git a/fuintAdmin/src/api/convenienceStore/stockstatistic.js b/fuintAdmin/src/api/convenienceStore/stockstatistic.js index 9ce12ae22..d15100850 100644 --- a/fuintAdmin/src/api/convenienceStore/stockstatistic.js +++ b/fuintAdmin/src/api/convenienceStore/stockstatistic.js @@ -1,6 +1,6 @@ import request from '@/utils/request' -// 查询商品列表 +// 查询库存统计列表 export function listStock(query) { return request({ url: '/business/convenience/stockStatistic/list', @@ -9,10 +9,20 @@ export function listStock(query) { }) } -// 查询供应商详细 +// 查询库存统计详细 export function getStock(id) { return request({ url: '/business/convenience/stockStatistic/' + id, method: 'get' }) } + + +// 导出库存统计信息 +export function exportStocks() { + return request({ + url: '/business/convenience/stockStatistic/export', + method: 'get' + }) +} + diff --git a/fuintAdmin/src/views/convenienceStore/stockStatistic.vue b/fuintAdmin/src/views/convenienceStore/stockStatistic.vue index 65277892b..19b054809 100644 --- a/fuintAdmin/src/views/convenienceStore/stockStatistic.vue +++ b/fuintAdmin/src/views/convenienceStore/stockStatistic.vue @@ -85,7 +85,7 @@
列表
- 导出 + 导出
+ + + 导出文档已生成,请点击下载按钮进行下载 + + 取 消 + + + 确 定 + + +