From 1b55096ef30804973080285312eaac9a12023feb Mon Sep 17 00:00:00 2001 From: chengxiangling <291105840@qq.com> Date: 星期三, 14 五月 2025 20:33:28 +0800 Subject: [PATCH] 提交钣金计划大表调整 --- src/views/mainPlan/platePlanList/index.vue | 1 + src/views/basicData/calendar/index.vue | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/views/basicData/calendar/index.vue b/src/views/basicData/calendar/index.vue index 6f72c18..1857d29 100644 --- a/src/views/basicData/calendar/index.vue +++ b/src/views/basicData/calendar/index.vue @@ -1038,7 +1038,15 @@ // 鎻愪氦鑺傚亣鏃� function handleSaveHolidaysForm() { const hasValidDates = formHolidays.value.holidays.some( - (item) => item.enddate && item.startdate && item.describe + (item) => { + console.log(item,"some") + if(!item.describe !="" && item.startdate !="" && item.enddate!=="" ){ + return true + }else{ + return false + } + console.log(hasValidDates, "hasValidDates"); + } ); console.log(hasValidDates, "hasValidDates"); // holidaysRef.value.validate((valid) => { diff --git a/src/views/mainPlan/platePlanList/index.vue b/src/views/mainPlan/platePlanList/index.vue index 149e1f9..45087c9 100644 --- a/src/views/mainPlan/platePlanList/index.vue +++ b/src/views/mainPlan/platePlanList/index.vue @@ -232,6 +232,7 @@ { title: t("plan.table.itemNumber"), field: "itemNumber", + width: "auto", type: "html", }, { -- Gitblit v1.9.3