From a8e98d400e784df056e5ffb3228d859d6fef6b0f Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期六, 19 十月 2024 16:11:07 +0800
Subject: [PATCH] #
---
zy-acs-flow/src/page/bus/BusPanel.jsx | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/zy-acs-flow/src/page/bus/BusPanel.jsx b/zy-acs-flow/src/page/bus/BusPanel.jsx
index 937db12..8ec27c4 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();
@@ -36,7 +37,7 @@
return (
<>
- <Card sx={{ maxWidth: '80%', margin: 'auto' }}>
+ <Card sx={{ maxWidth: '80%', margin: 'auto', mt: .5, mb: .5 }}>
<CardContent>
<Grid container spacing={2}>
<Grid item xs={12} sx={{ display: 'flex', justifyContent: 'space-between' }}>
@@ -94,8 +95,9 @@
<TableRow key={task.id}>
<TableCell>
<Link to={`/task/${task.id}`}>
- {task.seqNum}
+
</Link>
+ {task.seqNum}
</TableCell>
<TableCellRight>
{task.taskType$}
@@ -104,10 +106,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