From de39d39aa1a86a7be56cf906080df4dc30fcadbb Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期六, 08 八月 2026 16:17:38 +0800
Subject: [PATCH] fix: 移除日期时分秒

---
 src/views/productionManagement/productionReporting/index.vue |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/views/productionManagement/productionReporting/index.vue b/src/views/productionManagement/productionReporting/index.vue
index 0b42dae..00b1865 100644
--- a/src/views/productionManagement/productionReporting/index.vue
+++ b/src/views/productionManagement/productionReporting/index.vue
@@ -129,6 +129,7 @@
 
 <script setup>
   import { onMounted, ref } from "vue";
+  import dayjs from "dayjs";
   import FormDia from "@/views/productionManagement/productionReporting/components/formDia.vue";
   import { ElMessageBox } from "element-plus";
   import {
@@ -207,6 +208,7 @@
       label: "鍒涘缓鏃堕棿",
       prop: "createTime",
       width: 120,
+      formatData: cell => (cell ? dayjs(cell).format("YYYY-MM-DD") : ""),
     },
     {
       dataType: "action",

--
Gitblit v1.9.3