From 3f683048c8649e24006669d8939e735aff4f1d6b Mon Sep 17 00:00:00 2001 From: zx Date: Wed, 21 Jan 2026 15:30:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=BA=E5=85=A5=E5=BA=93=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wisdom/record.js | 50 +- src/api/wisdom/stockSearch.js | 25 - src/views/wisdom/record/index.vue | 1194 ++++------------------------- 3 files changed, 185 insertions(+), 1084 deletions(-) delete mode 100644 src/api/wisdom/stockSearch.js diff --git a/src/api/wisdom/record.js b/src/api/wisdom/record.js index 231c47c..eb3d212 100644 --- a/src/api/wisdom/record.js +++ b/src/api/wisdom/record.js @@ -1,44 +1,26 @@ import request from '@/utils/request' - -// 查询出入库记录列表 -export function listRecord(query) { +export function listStock(data) { return request({ - url: '/wisdom/record/list', - method: 'get', - params: query + // url: '/wisdom/stock/page', + // url: '/wisdom/stock/pageStatistics', + // url: '/wisdom/stock/pageList', + url: '/wisdom/record/list', + method: 'get', + params: data }) } - -// 查询出入库记录详细 -export function getRecord(id) { +export function listSearch(data) { return request({ - url: '/wisdom/record/' + id, - method: 'get' + // url: '/wisdom/stock/page', + url: '/wisdom/stock/pageStatistics', + method: 'post', + data: data }) } - -// 新增出入库记录 -export function addRecord(data) { +export function getSumInfoI(data) { return request({ - url: '/wisdom/record', - method: 'post', - data: data - }) -} - -// 修改出入库记录 -export function updateRecord(data) { - return request({ - url: '/wisdom/record', - method: 'put', - data: data - }) -} - -// 删除出入库记录 -export function delRecord(id) { - return request({ - url: '/wisdom/record/' + id, - method: 'delete' + url: '/stat/statistics', + method: 'post', + data: data }) } diff --git a/src/api/wisdom/stockSearch.js b/src/api/wisdom/stockSearch.js deleted file mode 100644 index cfccc00..0000000 --- a/src/api/wisdom/stockSearch.js +++ /dev/null @@ -1,25 +0,0 @@ -import request from '@/utils/request' -export function listStock(data) { - return request({ - // url: '/wisdom/stock/page', - // url: '/wisdom/stock/pageStatistics', - url: '/wisdom/stock/pageList', - method: 'post', - data: data - }) -} -export function listSearch(data) { - return request({ - // url: '/wisdom/stock/page', - url: '/wisdom/stock/pageStatistics', - method: 'post', - data: data - }) -} -export function getSumInfoI(data) { - return request({ - url: '/stat/statistics', - method: 'post', - data: data - }) -} diff --git a/src/views/wisdom/record/index.vue b/src/views/wisdom/record/index.vue index ca656a3..0de2d28 100644 --- a/src/views/wisdom/record/index.vue +++ b/src/views/wisdom/record/index.vue @@ -2,20 +2,7 @@
- - - - - - - + - + - - + + - - - + + + - - - - - - - - + - + - - + - - - + + + - + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - + + + - + + + + + + + + + + + 搜索 + 重置 + + - - 导出 - - - 搜索 - 重置 - - - + - - + + @@ -215,423 +171,115 @@ + + - - - - - - - - + + + + - - - + @pagination="getList" + /> Preview Image - -
+ \ No newline at end of file