From 7c1acb0aeed4a77dc475231782a90776d4d5a8f4 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期三, 25 九月 2024 12:50:09 +0800 Subject: [PATCH] # --- zy-acs-flow/src/page/bus/BusPanel.jsx | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/zy-acs-flow/src/page/bus/BusPanel.jsx b/zy-acs-flow/src/page/bus/BusPanel.jsx index 6cee8d5..87c6b9c 100644 --- a/zy-acs-flow/src/page/bus/BusPanel.jsx +++ b/zy-acs-flow/src/page/bus/BusPanel.jsx @@ -21,6 +21,7 @@ import PanelTypography from "../components/PanelTypography"; import * as Common from '@/utils/common'; import { styled } from '@mui/material/styles'; +import { format } from 'date-fns'; const BusPanel = () => { const record = useRecordContext(); @@ -104,10 +105,10 @@ {task.taskSts$} </TableCellRight> <TableCellRight> - {task.agv$} + {task.agvId$} </TableCellRight> <TableCellRight> - {task.ioTime$} + {format(new Date(task.ioTime), 'yyyy-MM-dd HH:mm:ss')} </TableCellRight> <TableCellRight> {task.oriDesc} -- Gitblit v1.9.1