From 3d43ffa3152110b7823f9fa6320c08a6ae02358a Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周三, 10 9月 2025 11:15:40 +0800 Subject: [PATCH] 1、增加 堆垛机运行统计 2、增加po单空物料描述 --- SiemensWarehouse/siemens2-site/src/views/stat/inventory/sapdata.vue | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/SiemensWarehouse/siemens2-site/src/views/stat/inventory/sapdata.vue b/SiemensWarehouse/siemens2-site/src/views/stat/inventory/sapdata.vue index d230286..537cb81 100644 --- a/SiemensWarehouse/siemens2-site/src/views/stat/inventory/sapdata.vue +++ b/SiemensWarehouse/siemens2-site/src/views/stat/inventory/sapdata.vue @@ -70,6 +70,7 @@ </template> <script> import { parseTime,formatDate } from '@/utils' +import { getThisWeekRange} from '@/utils/formatTime.js' export default { data() { return { @@ -100,9 +101,14 @@ }, created() {}, mounted() { + this.initTimeData(); this.find(1) }, methods: { + initTimeData(){ + this.datatime= ''; + this.datatime= getThisWeekRange(60);//鍚敤浜� + }, // 鏃堕棿杞崲 formatterDateTime (row, column, cellValue, index) { if (cellValue === null || cellValue === '') { @@ -275,6 +281,7 @@ this.searchParam.SalesOrder = null this.selectTypeValue = '' this.datatime = '' + this.initTimeData();//閲嶇疆鏃堕棿 this.find() } } -- Gitblit v1.9.3