From c8a6236013ec15d00ddcab1587bbd4f090611cdf Mon Sep 17 00:00:00 2001
From: hsy <1029150275@qq.com>
Date: 星期三, 26 八月 2026 13:56:49 +0800
Subject: [PATCH] fix: 修复员工业绩图表 null 数据展示与甘特图日期格式解析错误

---
 src/views/wls/stocktaking/plan/modules/param-form.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/views/wls/stocktaking/plan/modules/param-form.vue b/src/views/wls/stocktaking/plan/modules/param-form.vue
index 2a810a1..228f32e 100644
--- a/src/views/wls/stocktaking/plan/modules/param-form.vue
+++ b/src/views/wls/stocktaking/plan/modules/param-form.vue
@@ -3,8 +3,8 @@
 
 import { computed, ref } from 'vue';
 
-import { useVbenModal } from '../../../../../packages/effects/common-ui/src';
-import { WlsStockTakingParamTypeEnum } from '../../../../../packages/constants/src';
+import { useVbenModal } from '@vben/common-ui';
+import { WlsStockTakingParamTypeEnum } from '@vben/constants';
 
 import { message } from 'ant-design-vue';
 
@@ -52,7 +52,7 @@
     const valueValid =
       values.type === WlsStockTakingParamTypeEnum.QUALITY_STATUS
         ? !!values.valueCode
-        : values.valueId !== null;
+        : values.valueId !== undefined && values.valueId !== null;
     if (!valueValid) {
       message.warning('璇烽�夋嫨鏉′欢鍊�');
       return;

--
Gitblit v1.9.3