From 6f35f9dc767e99ad701f7f6e2f5d4c52b6cc1d0f Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 14 十月 2026 14:05:26 +0800
Subject: [PATCH] refactor(wls): 将级联选择组件替换为普通输入框

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

diff --git a/src/views/wls/barcode/data.ts b/src/views/wls/barcode/data.ts
index dfd288c..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';
@@ -609,6 +609,7 @@
 /** 閰嶇疆鍒楄〃鐨勫瓧娈� */
 export function useConfigGridColumns(
   onAutoGenerateChange: (
+    newVal: number | boolean,
     row: MesWmBarcodeConfigApi.BarcodeConfig,
   ) => Promise<boolean>,
 ): VxeTableGridOptions<MesWmBarcodeConfigApi.BarcodeConfig>['columns'] {
@@ -673,7 +674,7 @@
       field: 'createTime',
       title: '鍒涘缓鏃堕棿',
       width: 180,
-      formatter: 'formatDateTime',
+      formatter: 'formatDate',
     },
     {
       title: '鎿嶄綔',
@@ -729,7 +730,7 @@
     {
       field: 'createTime',
       label: '鍒涘缓鏃堕棿',
-      render: (value) => formatDateTime(value) || '-',
+      render: (value) => formatDate(value) || '-',
     },
   ];
 }

--
Gitblit v1.9.3