From ef199920c1cd54acfea8d39fb32dc0308f038cae Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期五, 09 十月 2026 14:47:57 +0800
Subject: [PATCH] fix: 库存报表入库时间不展示时分秒
---
src/views/inventoryManagement/stockReport/index.vue | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/views/inventoryManagement/stockReport/index.vue b/src/views/inventoryManagement/stockReport/index.vue
index 26bc8a0..e897128 100644
--- a/src/views/inventoryManagement/stockReport/index.vue
+++ b/src/views/inventoryManagement/stockReport/index.vue
@@ -150,9 +150,13 @@
width="60" />
<el-table-column label="鍏ュ簱鏃堕棿"
prop="createTime"
- width="200"
+ width="120"
show-overflow-tooltip
- v-if="searchForm.reportType !== 'inout'" />
+ v-if="searchForm.reportType !== 'inout'">
+ <template #default="scope">
+ {{ parseTime(scope.row.createTime, "{y}-{m}-{d}") }}
+ </template>
+ </el-table-column>
<el-table-column label="鍏ュ簱鎵规"
prop="inboundBatches"
width="180"
@@ -216,6 +220,7 @@
import { ref, reactive, onMounted, nextTick, getCurrentInstance } from "vue";
import { ElMessage } from "element-plus";
import * as echarts from "echarts";
+ import { parseTime } from "@/utils/ruoyi";
import pagination from "@/components/PIMTable/Pagination.vue";
import {
getStockInventoryInAndOutReportList,
--
Gitblit v1.9.3