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 @@ + + + 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 @@ + + + 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 @@ + + +