From 9215757381288eea8b3007428b47ef0950b2ce27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AD=8F=E5=95=BE?= <1144797966@qq.com> Date: Thu, 26 Sep 2024 17:29:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=88=97=E8=A1=A8=E4=B8=AD?= =?UTF-8?q?=E5=8F=96=E6=B6=88=E8=AE=A2=E5=8D=95=E9=87=91=E9=A2=9D=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=94=AF=E4=BB=98=E6=96=B9=E5=BC=8F=EF=BC=8C=E8=80=97?= =?UTF-8?q?=E6=9D=90=E5=88=97=E8=A1=A8=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/consumable.js | 50 +-- .../invoicing/consumable/cons_record copy.vue | 4 +- .../invoicing/consumable/cons_record.vue | 72 +--- .../invoicing/consumable/information.vue | 343 ++++++++++++++++-- src/views/order_manage/order_list.vue | 2 +- 5 files changed, 355 insertions(+), 116 deletions(-) diff --git a/src/api/consumable.js b/src/api/consumable.js index 6e7eff7..10fc6d0 100644 --- a/src/api/consumable.js +++ b/src/api/consumable.js @@ -38,16 +38,16 @@ export function puttbConsType(data) { * 查询耗材信息 * @returns */ -export function gettbConsInfo(params) { +export function gettbConsInfo(data) { // return request({ // url: '/api/tbConsInfo', // method: "get", // params // }); return request({ - url: "/api/viewConInfoFlow", - method: "get", - params + url: "/api/viewConInfoFlow/get", + method: "post", + data }); } @@ -163,27 +163,15 @@ export function deletetbProskuCon(data) { * 查询耗材流水信息 * @returns */ -export function gettbConsInfoFlow(params) { +export function gettbConsInfoFlow(data) { return request({ - url: "/api/tbConsInfoFlow", - method: "get", - params - }); -} -/** - * 分组查询获取耗材流水信息 - */ -export function viewConInfoFlow(data) { - return request({ - url: "/api/viewConInfoFlow", - method: "get", - params: { - shopId: localStorage.getItem("shopId"), - ...data - } + url: "/api/viewConInfoFlow/get", + method: "post", + data }); } + /** * 查询耗材单位列表 */ @@ -236,3 +224,23 @@ export function tbProskuConV2(data) { data }); } +/** + * 耗材库存统计 + */ +export function tbConsInfoFlowcount(data) { + return request({ + url: "/api/tbConsInfoFlow/count", + method: "post", + data + }); +} +/** + * 耗材库存记录列表 + */ +export function tbConsInfoFlowstock(data) { + return request({ + url: "/api/tbConsInfoFlow/stock", + method: "post", + data + }); +} \ No newline at end of file diff --git a/src/views/invoicing/consumable/cons_record copy.vue b/src/views/invoicing/consumable/cons_record copy.vue index f84313c..d603bc1 100644 --- a/src/views/invoicing/consumable/cons_record copy.vue +++ b/src/views/invoicing/consumable/cons_record copy.vue @@ -96,7 +96,7 @@