From 7bb4635dff502d78ff82768c1e6f68e88b2c291b Mon Sep 17 00:00:00 2001
From: cuilei <ray_tsu1@163.com>
Date: 星期五, 29 八月 2025 16:10:57 +0800
Subject: [PATCH] 排产计划生成页面增加物料、计划生产数量筛选输入框;修复日历组件展示超出错位问题

---
 src/views/mes/modules/MesProductionWeekCalendar.vue |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/src/views/mes/modules/MesProductionWeekCalendar.vue b/src/views/mes/modules/MesProductionWeekCalendar.vue
index d902bae..c22eb44 100644
--- a/src/views/mes/modules/MesProductionWeekCalendar.vue
+++ b/src/views/mes/modules/MesProductionWeekCalendar.vue
@@ -44,7 +44,7 @@
           }"
           @click="selectDay(day)"
         >
-          <div class="cell-content">
+          <div class="cell-content" style="height: 100%; overflow: hidden">
             <!-- 鎻掓Ы鐢ㄤ簬娓叉煋鏃ユ湡鍐呭 -->
             <slot
               name="dateCell"
@@ -106,7 +106,7 @@
       // 褰撳墠鏄剧ず鐨勮捣濮嬫棩鏈�
       currentStartDate: this.startDate ? moment(this.startDate) : moment(),
       // 閫変腑鐨勬棩鏈�
-      selectedDate: this.startDate ? moment(this.startDate) : moment()
+      selectedDate: null
     }
   },
   computed: {
@@ -208,6 +208,9 @@
   text-align: center;
   padding: 8px 0;
   border-right: 1px solid #e8e8e8;
+  min-width: 0;
+  flex-basis: 100px;
+  box-sizing: border-box;
 }
 
 .header-cell:last-child {
@@ -255,6 +258,9 @@
   border-right: 1px solid #e8e8e8;
   cursor: pointer;
   padding: 4px;
+  min-width: 0;
+  flex-basis: 100px;
+  box-sizing: border-box;
 }
 
 .day-cell:last-child {
@@ -265,6 +271,11 @@
   background-color: #e6f7ff;
 }
 
+.day-cell.first-day-highlight {
+  background-color: transparent !important;
+  border-left: none !important;
+}
+
 .day-cell.selected {
   background-color: #bae7ff;
 }

--
Gitblit v1.9.3