From 70dbb5e970d412f04ddea5ec0646c3f3b64eb486 Mon Sep 17 00:00:00 2001
From: tuqin <tuqin@tuqin.cn>
Date: 星期六, 24 十月 2026 15:11:34 +0800
Subject: [PATCH] fix(生产管控): 生产派工去掉 onMounted 里重新设置今天~明天日期的逻辑(覆盖了 data 中的 undefined)
---
src/views/productionManagement/productionDispatching/index.vue | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/src/views/productionManagement/productionDispatching/index.vue b/src/views/productionManagement/productionDispatching/index.vue
index 3eddcb0..b380bab 100644
--- a/src/views/productionManagement/productionDispatching/index.vue
+++ b/src/views/productionManagement/productionDispatching/index.vue
@@ -148,12 +148,6 @@
};
onMounted(() => {
- searchForm.value.entryDate = [
- dayjs().format("YYYY-MM-DD"),
- dayjs().add(1, "day").format("YYYY-MM-DD"),
- ]
- searchForm.value.entryDateStart = dayjs().format("YYYY-MM-DD")
- searchForm.value.entryDateEnd = dayjs().add(1, "day").format("YYYY-MM-DD")
getList();
});
</script>
--
Gitblit v1.9.3