From 937b2da73b69ae81e4722f4924b974681c7290d8 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期二, 13 十月 2026 17:16:10 +0800
Subject: [PATCH] style(date-picker): 统一日期选择器格式为日期模式

---
 src/views/wls/barcode/data.ts |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/views/wls/barcode/data.ts b/src/views/wls/barcode/data.ts
index c34a07b..069d12f 100644
--- a/src/views/wls/barcode/data.ts
+++ b/src/views/wls/barcode/data.ts
@@ -13,7 +13,7 @@
   MesProWorkOrderStatusEnum,
 } from '@vben/constants';
 import { getDictOptions } from '@vben/hooks';
-import { formatDateTime } from '@vben/utils';
+import { formatDate } from '@vben/utils';
 
 import { z } from '#/adapter/form';
 import { generateBarcodeContent } from '#/api/mes/wm/barcode';
@@ -674,7 +674,7 @@
       field: 'createTime',
       title: '鍒涘缓鏃堕棿',
       width: 180,
-      formatter: 'formatDateTime',
+      formatter: 'formatDate',
     },
     {
       title: '鎿嶄綔',
@@ -730,7 +730,7 @@
     {
       field: 'createTime',
       label: '鍒涘缓鏃堕棿',
-      render: (value) => formatDateTime(value) || '-',
+      render: (value) => formatDate(value) || '-',
     },
   ];
 }

--
Gitblit v1.9.3