From baf77b7ac6be90c1dfc8d9536ae194f350f7cc7c Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 26 十月 2026 15:22:37 +0800
Subject: [PATCH] 列表时间统一只展示年月日,库存最近更新时间用创建时间兜底

---
 src/views/inventoryManagement/stockManagement/Record.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/views/inventoryManagement/stockManagement/Record.vue b/src/views/inventoryManagement/stockManagement/Record.vue
index 9ee214c..71a4d32 100644
--- a/src/views/inventoryManagement/stockManagement/Record.vue
+++ b/src/views/inventoryManagement/stockManagement/Record.vue
@@ -107,7 +107,11 @@
                          show-overflow-tooltip />
         <el-table-column label="鏈�杩戞洿鏂版椂闂�"
                          prop="updateTime"
-                         show-overflow-tooltip />
+                         show-overflow-tooltip>
+          <template #default="scope">
+            {{ formatDateOnly(scope.row.updateTime || scope.row.createTime) }}
+          </template>
+        </el-table-column>
         <el-table-column fixed="right"
                          label="鎿嶄綔"
                          min-width="80"

--
Gitblit v1.9.3