From 2cd7332dd1635f7b65c98326ceb85075b353d6b4 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期五, 30 一月 2026 14:31:50 +0800
Subject: [PATCH] 生成核算增加日期搜索

---
 src/views/productionManagement/productionCosting/index.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/productionManagement/productionCosting/index.vue b/src/views/productionManagement/productionCosting/index.vue
index a3bb3b0..30635e4 100644
--- a/src/views/productionManagement/productionCosting/index.vue
+++ b/src/views/productionManagement/productionCosting/index.vue
@@ -266,8 +266,8 @@
     searchForm.value.entryDate = dayjs().format("YYYY-MM-DD");
     searchForm.value.dateRange = searchForm.value.entryDate
   } else {
-    searchForm.value.entryDateStart = dayjs().format("YYYY-MM-DD");
-    searchForm.value.entryDateEnd = dayjs().add(1, "day").format("YYYY-MM-DD");
+    searchForm.value.entryDateStart = dayjs().startOf("month").format("YYYY-MM-DD");
+    searchForm.value.entryDateEnd = dayjs().endOf("month").format("YYYY-MM-DD");
     searchForm.value.dateRange = [searchForm.value.entryDateStart, searchForm.value.entryDateEnd]
   }
 

--
Gitblit v1.9.3