From 722c239750cc79afd78e670b8729641ccd05df3a Mon Sep 17 00:00:00 2001
From: zzyuan <781948537@qq.com>
Date: Thu, 17 Jul 2025 18:02:38 +0800
Subject: [PATCH] =?UTF-8?q?=E5=BA=93=E5=AD=98=E6=8A=A5=E8=A1=A8=E9=87=87?=
=?UTF-8?q?=E8=B4=AD=E6=8A=A5=E8=A1=A8=E6=8E=A5=E5=8F=A3=E5=AF=B9=E6=8E=A5?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2=E7=BB=98=E5=88=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/foodManage/purchaseReport.js | 36 +++
src/api/foodManage/stockReport.js | 28 ++
.../purchaseManage/productionPlan/index.vue | 9 +-
.../correlationReport/index.vue | 186 ++++++++++++++
.../procureOrderReport/index.vue | 195 ++++++++++++++
.../procurePlanReport/index.vue | 197 +++++++++++++++
.../productionPlanReport/index.vue | 190 ++++++++++++++
.../stockReport/expiredWarning/index.vue | 227 +++++++++++++++++
.../stockReport/stockWarning/index.vue | 239 ++++++++++++++++++
9 files changed, 1303 insertions(+), 4 deletions(-)
create mode 100644 src/api/foodManage/purchaseReport.js
create mode 100644 src/api/foodManage/stockReport.js
create mode 100644 src/views/foodManage/purchaseReport/correlationReport/index.vue
create mode 100644 src/views/foodManage/purchaseReport/procureOrderReport/index.vue
create mode 100644 src/views/foodManage/purchaseReport/procurePlanReport/index.vue
create mode 100644 src/views/foodManage/purchaseReport/productionPlanReport/index.vue
create mode 100644 src/views/foodManage/stockReport/expiredWarning/index.vue
create mode 100644 src/views/foodManage/stockReport/stockWarning/index.vue
diff --git a/src/api/foodManage/purchaseReport.js b/src/api/foodManage/purchaseReport.js
new file mode 100644
index 00000000..ce23dfbf
--- /dev/null
+++ b/src/api/foodManage/purchaseReport.js
@@ -0,0 +1,36 @@
+
+import request from '@/utils/request'
+
+//查询生产计划报表
+export function productionPlanReportPageApi(data) {
+ return request({
+ url: '/smart-canteen/report/ims_production_plan/list',
+ method: 'post',
+ headers: {
+ //"merchant-id":"378915229716713472",
+ },
+ data:data,
+ params:{
+ pageNum:data.pageNum,
+ pageSize:data.pageSize
+ }
+ })
+}
+
+//查询采购计划报表
+export function purchasePlanReportPageApi(data) {
+ return request({
+ url: '/smart-canteen/report/ims_purchase_plan/list',
+ method: 'post',
+ headers: {
+ //"merchant-id":"378915229716713472",
+ },
+ data:data,
+ params:{
+ pageNum:data.pageNum,
+ pageSize:data.pageSize
+ }
+ })
+}
+
+
diff --git a/src/api/foodManage/stockReport.js b/src/api/foodManage/stockReport.js
new file mode 100644
index 00000000..6b944932
--- /dev/null
+++ b/src/api/foodManage/stockReport.js
@@ -0,0 +1,28 @@
+
+import request from '@/utils/request'
+
+//查询 库存预警 报表
+export function stockInventoryWarningPageApi(data) {
+ return request({
+ url: '/smart-canteen/api/v1/drpinventory/inventory/warning',
+ method: 'get',
+ headers: {
+ //"merchant-id":"378915229716713472",
+ },
+ params:data
+ })
+}
+
+//查询过期预警报表
+export function stockExpireWarningPageApi(data) {
+ return request({
+ url: '/smart-canteen/api/v1/drpinventory/expire/warning',
+ method: 'get',
+ headers: {
+ //"merchant-id":"378915229716713472",
+ },
+ params:data
+ })
+}
+
+
diff --git a/src/views/foodManage/purchaseManage/productionPlan/index.vue b/src/views/foodManage/purchaseManage/productionPlan/index.vue
index 77cd3f75..0fd78564 100644
--- a/src/views/foodManage/purchaseManage/productionPlan/index.vue
+++ b/src/views/foodManage/purchaseManage/productionPlan/index.vue
@@ -52,8 +52,8 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/foodManage/purchaseReport/productionPlanReport/index.vue b/src/views/foodManage/purchaseReport/productionPlanReport/index.vue
new file mode 100644
index 00000000..595ca8e2
--- /dev/null
+++ b/src/views/foodManage/purchaseReport/productionPlanReport/index.vue
@@ -0,0 +1,190 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+ {{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/foodManage/stockReport/expiredWarning/index.vue b/src/views/foodManage/stockReport/expiredWarning/index.vue
new file mode 100644
index 00000000..a8ed3fb8
--- /dev/null
+++ b/src/views/foodManage/stockReport/expiredWarning/index.vue
@@ -0,0 +1,227 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+ {{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 正常
+ 即将缺货
+ 超额
+
+
+
+
+
+
+
+
+
diff --git a/src/views/foodManage/stockReport/stockWarning/index.vue b/src/views/foodManage/stockReport/stockWarning/index.vue
new file mode 100644
index 00000000..64a1cbb5
--- /dev/null
+++ b/src/views/foodManage/stockReport/stockWarning/index.vue
@@ -0,0 +1,239 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+ {{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}}
+
+
+
+
+
+
+
+
+
+ {{ (scope.row.unitPrice/100).toFixed(2) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+