From e47bc9e53ed3d64016c1e0db67d280e63b367e07 Mon Sep 17 00:00:00 2001
From: liu <2021943741@qq.com>
Date: 星期五, 21 八月 2026 17:05:54 +0800
Subject: [PATCH] 导入模板下载 导入 计算迟到加班早退

---
 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