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/mes/pro/card/data.ts |   26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/src/views/mes/pro/card/data.ts b/src/views/mes/pro/card/data.ts
index 17c3172..4e3b4a8 100644
--- a/src/views/mes/pro/card/data.ts
+++ b/src/views/mes/pro/card/data.ts
@@ -1,4 +1,4 @@
-import type { VbenFormApi, VbenFormSchema } from '#/adapter/form';
+锘縤mport type { VbenFormApi, VbenFormSchema } from '#/adapter/form';
 import type { VxeTableGridOptions } from '#/adapter/vxe-table';
 import type { MesProCardApi } from '#/api/mes/pro/card';
 import type { MesProCardProcessApi } from '#/api/mes/pro/card/process';
@@ -9,7 +9,7 @@
   DICT_TYPE,
   MesAutoCodeRuleCode,
   MesProWorkOrderStatusEnum,
-} from '../../../../packages/constants/src';
+} from '@vben/constants';
 
 import { Button } from 'ant-design-vue';
 
@@ -80,11 +80,11 @@
     },
     {
       fieldName: 'workOrderId',
-      label: '鐢熶骇宸ュ崟',
+      label: '鐢熶骇璁㈠崟',
       component: markRaw(ProWorkOrderSelect),
       componentProps: {
         disabled: headerReadonly,
-        placeholder: '璇烽�夋嫨鐢熶骇宸ュ崟',
+        placeholder: '璇烽�夋嫨鐢熶骇璁㈠崟',
         status: MesProWorkOrderStatusEnum.CONFIRMED,
       },
       rules: 'selectRequired',
@@ -149,10 +149,10 @@
     },
     {
       fieldName: 'workOrderId',
-      label: '鐢熶骇宸ュ崟',
+      label: '鐢熶骇璁㈠崟',
       component: markRaw(ProWorkOrderSelect),
       componentProps: {
-        placeholder: '璇烽�夋嫨鐢熶骇宸ュ崟',
+        placeholder: '璇烽�夋嫨鐢熶骇璁㈠崟',
       },
     },
     {
@@ -186,12 +186,12 @@
     },
     {
       field: 'workOrderCode',
-      title: '鐢熶骇宸ュ崟缂栧彿',
+      title: '鐢熶骇璁㈠崟缂栧彿',
       width: 160,
     },
     {
       field: 'workOrderName',
-      title: '宸ュ崟鍚嶇О',
+      title: '璁㈠崟鍚嶇О',
       minWidth: 150,
     },
     {
@@ -347,7 +347,7 @@
         class: '!w-full',
         placeholder: '璇烽�夋嫨杩涘叆宸ュ簭鏃堕棿',
         showTime: true,
-        valueFormat: 'x',
+        valueFormat: 'YYYY-MM-DD HH:mm:ss',
       },
     },
     {
@@ -358,7 +358,7 @@
         class: '!w-full',
         placeholder: '璇烽�夋嫨鍑哄伐搴忔椂闂�',
         showTime: true,
-        valueFormat: 'x',
+        valueFormat: 'YYYY-MM-DD HH:mm:ss',
       },
     },
     {
@@ -437,10 +437,10 @@
     },
     {
       fieldName: 'workOrderId',
-      label: '鐢熶骇宸ュ崟',
+      label: '鐢熶骇璁㈠崟',
       component: markRaw(ProWorkOrderSelect),
       componentProps: {
-        placeholder: '璇烽�夋嫨鐢熶骇宸ュ崟',
+        placeholder: '璇烽�夋嫨鐢熶骇璁㈠崟',
       },
     },
     {
@@ -479,7 +479,7 @@
     },
     {
       field: 'workOrderCode',
-      title: '鐢熶骇宸ュ崟缂栧彿',
+      title: '鐢熶骇璁㈠崟缂栧彿',
       width: 160,
     },
     {

--
Gitblit v1.9.3