From 3de8b71ee1c6be3e41b77d6633c3f1a1b66c40f2 Mon Sep 17 00:00:00 2001
From: 张诺 <zhang_12370@163.com>
Date: 星期五, 16 一月 2026 10:59:33 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev_天津军泰伟业' into dev_天津军泰伟业

---
 src/views/tool/gen/importTable.vue |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/views/tool/gen/importTable.vue b/src/views/tool/gen/importTable.vue
index 67e4723..21b1afe 100644
--- a/src/views/tool/gen/importTable.vue
+++ b/src/views/tool/gen/importTable.vue
@@ -76,6 +76,18 @@
   const dbTableList = ref([]);
   const { proxy } = getCurrentInstance();
 
+  // 鏍煎紡鍖栨棩鏈熶负 YYYY-MM-DD
+  const formatDate = (row, column, cellValue) => {
+    if (cellValue) {
+      const date = new Date(cellValue);
+      return `${date.getFullYear()}-${String(date.getMonth() + 1).padStart(
+        2,
+        "0"
+      )}-${String(date.getDate()).padStart(2, "0")}`;
+    }
+    return "";
+  };
+
   const queryParams = reactive({
     pageNum: 1,
     pageSize: 10,

--
Gitblit v1.9.3