From 6f1acfd2086a1f8c2cb80afd3db4e534e44d545e Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期五, 14 八月 2026 10:33:51 +0800
Subject: [PATCH] fix: 报工明细创建日期格式化

---
 src/views/inventoryManagement/receiptManagement/Record.vue |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/views/inventoryManagement/receiptManagement/Record.vue b/src/views/inventoryManagement/receiptManagement/Record.vue
index 4c06227..2fe86a2 100644
--- a/src/views/inventoryManagement/receiptManagement/Record.vue
+++ b/src/views/inventoryManagement/receiptManagement/Record.vue
@@ -102,11 +102,16 @@
                          width="60"/>
         <el-table-column label="鍏ュ簱鎵规"
                          prop="inboundBatches"
-                         width="200"
+                         width="150"
                          show-overflow-tooltip/>
         <el-table-column label="鍏ュ簱鏃堕棿"
                          prop="createTime"
-                         show-overflow-tooltip/>
+                         width="120"
+                         show-overflow-tooltip>
+          <template #default="scope">
+            <span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span>
+          </template>
+        </el-table-column>
         <el-table-column label="浜у搧澶х被"
                          prop="productName"
                          show-overflow-tooltip/>
@@ -115,6 +120,7 @@
                          show-overflow-tooltip/>
         <el-table-column label="鎵瑰彿"
                          prop="batchNo"
+                         width="180"
                          show-overflow-tooltip/>
         <el-table-column label="鍗曚綅"
                          prop="unit"
@@ -183,6 +189,7 @@
   findAllQualifiedStockInRecordTypeOptions, 
   // findAllUnQualifiedStockInRecordTypeOptions,
 } from "@/api/basicData/enum.js";
+import { parseTime } from "@/utils/ruoyi";
 
 const {proxy} = getCurrentInstance();
 

--
Gitblit v1.9.3