From a241b66efcc41e973290a6722fb7a4d79b833ea1 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期二, 13 十月 2026 09:54:32 +0800
Subject: [PATCH] feat(bi): 为图表配置接口添加名称字段

---
 src/views/wls/stocktaking/plan/data.ts |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/views/wls/stocktaking/plan/data.ts b/src/views/wls/stocktaking/plan/data.ts
index a8b2d91..9fd43c7 100644
--- a/src/views/wls/stocktaking/plan/data.ts
+++ b/src/views/wls/stocktaking/plan/data.ts
@@ -116,6 +116,7 @@
       fieldName: 'blindFlag',
       label: '鏄惁鐩茬洏',
       component: 'Switch',
+      defaultValue: false,
       componentProps: {
         checkedChildren: '鏄�',
         unCheckedChildren: '鍚�',
@@ -126,6 +127,7 @@
       fieldName: 'frozen',
       label: '鍐荤粨搴撳瓨',
       component: 'Switch',
+      defaultValue: false,
       componentProps: {
         checkedChildren: '鏄�',
         unCheckedChildren: '鍚�',
@@ -326,8 +328,8 @@
       component: markRaw(StockTakingPlanConditionValueInput),
       // 鏉′欢鍊兼帶浠跺唴閮ㄦ寜鏉′欢绫诲瀷鍒囨崲閫夋嫨鍣紝浠呴�夋嫨绫诲瀷鍚庡睍绀�
       dependencies: {
-        triggerFields: ['type'],
-        if: (values) => values.type !== null,
+        triggerFields: ['type', 'valueCode'],
+        show: (values) => values.type != null,
         componentProps: (values) => ({
           type: values.type,
           valueCode: values.valueCode,

--
Gitblit v1.9.3