From a2d9fcb259621829bf4ec9680b5dbeac95ab5805 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 15 十月 2026 16:19:54 +0800
Subject: [PATCH] fix(crm): 销售目标达成分析默认查当前季度

---
 src/views/mes/pro/route/data.ts |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/src/views/mes/pro/route/data.ts b/src/views/mes/pro/route/data.ts
index 3ec634c..f4bf910 100644
--- a/src/views/mes/pro/route/data.ts
+++ b/src/views/mes/pro/route/data.ts
@@ -167,7 +167,7 @@
       field: 'createTime',
       title: '鍒涘缓鏃堕棿',
       width: 180,
-      formatter: 'formatDateTime',
+      formatter: 'formatDate',
     },
     {
       title: '鎿嶄綔',
@@ -230,6 +230,19 @@
       },
     },
     {
+      fieldName: 'yieldRate',
+      label: '鏀剁巼',
+      component: 'InputNumber',
+      componentProps: {
+        class: '!w-full',
+        min: 0.0001,
+        max: 1,
+        step: 0.01,
+        precision: 4,
+        placeholder: '浜у嚭/鎶曞叆锛屽 0.98',
+      },
+    },
+    {
       fieldName: 'linkType',
       label: '涓庝笅閬撳伐搴忓叧绯�',
       component: 'Select',
@@ -247,7 +260,7 @@
         options: getDictOptions(DICT_TYPE.MES_PRO_LINK_TYPE, 'number'),
         placeholder: '璇烽�夋嫨',
       },
-      rules: z.number().default(3),
+      rules: z.number().optional(),
     },
     {
       fieldName: 'colorCode',

--
Gitblit v1.9.3