From 834768cc3244a49ecd20e97bb1a18e2db7c75d8c Mon Sep 17 00:00:00 2001 From: yufei0306 <13417315+yufei0306@user.noreply.gitee.com> Date: Mon, 3 Jun 2024 15:11:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AD=A3=E5=BC=8F=E7=8E=AF=E5=A2=83=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E5=8D=A1=E9=A1=BF=E9=97=AE=E9=A2=98--=E4=B8=B4?= =?UTF-8?q?=E6=97=B6=E6=B3=A8=E9=87=8A=E6=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/components/material.vue | 62 ++++++++++++++++++++- src/views/home/components/produce.vue | 2 +- src/views/home/components/product.vue | 8 ++- src/views/home/components/supplierIndex.vue | 2 +- src/views/home/index.vue | 13 +++-- 5 files changed, 77 insertions(+), 10 deletions(-) diff --git a/src/views/home/components/material.vue b/src/views/home/components/material.vue index 3931be20c..efe37218d 100644 --- a/src/views/home/components/material.vue +++ b/src/views/home/components/material.vue @@ -32,7 +32,8 @@
-
+
+
{{ t('home.slack_stock_warning')}}
+
+
{{ t('home.overstock_warning') }}
+
+
{{ t('home.high_and_low_storage_warning') }}
+
+
{{ t('home.waiting_tasks') }}
@@ -251,8 +285,32 @@ const getJobCharts = async () => { lineIndex.value++ } onMounted(() => { - getMaterialData() + // getMaterialData() }) + +// 呆滞库存预警 +const currentPage_stagnantBalance = ref(1) +const pageSize_stagnantBalance = ref(10) +const total_stagnantBalance= ref(100) +const handleCurrentChange_stagnantBalance = (val)=>{ + console.log('呆滞库存预警',val) +} + +// 超期库存预警 +const currentPage_overdueBalance = ref(1) +const pageSize_overdueBalance = ref(10) +const total_overdueBalance= ref(100) +const handleCurrentChange_overdueBalance = (val)=>{ + console.log('超期库存预警',val) +} + +// 高低储预警 +const currentPage_warningBalance = ref(1) +const pageSize_warningBalance = ref(10) +const total_warningBalance= ref(100) +const handleCurrentChange_warningBalance = (val)=>{ + console.log('高低储预警',val) +}