From 7f70cb15d035f0c233b9e62b9e43aa985317c908 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期一, 04 十一月 2024 10:22:45 +0800
Subject: [PATCH] #

---
 zy-acs-flow/src/page/task/TaskPanel.jsx |  106 +++++++++++++++++-----------------------------------
 1 files changed, 35 insertions(+), 71 deletions(-)

diff --git a/zy-acs-flow/src/page/task/TaskPanel.jsx b/zy-acs-flow/src/page/task/TaskPanel.jsx
index 76fb98b..f7ffedc 100644
--- a/zy-acs-flow/src/page/task/TaskPanel.jsx
+++ b/zy-acs-flow/src/page/task/TaskPanel.jsx
@@ -27,7 +27,7 @@
                             </Typography>
                             {/*  inherit, primary, secondary, textPrimary, textSecondary, error */}
                             <Typography variant="h6" gutterBottom align="right" >
-                                ID: {record.id}
+                                {Common.camelToPascalWithSpaces(translate('table.field.task.uuid'))}: {record.uuid}
                             </Typography>
                         </Grid>
                     </Grid>
@@ -42,133 +42,97 @@
                     <Grid container spacing={2}>
                         <Grid item xs={6}>
                             <PanelTypography
-                                title="table.field.task.uuid" 
-                                property={record.uuid}
-                            />
-                        </Grid>
-                        <Grid item xs={6}>
-                            <PanelTypography
-                                title="table.field.task.busId" 
+                                title="table.field.task.busId"
                                 property={record.busId$}
                             />
                         </Grid>
                         <Grid item xs={6}>
                             <PanelTypography
-                                title="table.field.task.seqNum" 
+                                title="table.field.task.seqNum"
                                 property={record.seqNum}
                             />
                         </Grid>
                         <Grid item xs={6}>
                             <PanelTypography
-                                title="table.field.task.priority" 
+                                title="table.field.task.priority"
                                 property={record.priority}
                             />
                         </Grid>
                         <Grid item xs={6}>
                             <PanelTypography
-                                title="table.field.task.name" 
-                                property={record.name}
-                            />
-                        </Grid>
-                        <Grid item xs={6}>
-                            <PanelTypography
-                                title="table.field.task.taskSts" 
-                                property={record.taskSts$}
-                            />
-                        </Grid>
-                        <Grid item xs={6}>
-                            <PanelTypography
-                                title="table.field.task.taskType" 
-                                property={record.taskType$}
-                            />
-                        </Grid>
-                        <Grid item xs={6}>
-                            <PanelTypography
-                                title="table.field.task.agvId" 
+                                title="table.field.task.agvId"
                                 property={record.agvId$}
                             />
                         </Grid>
                         <Grid item xs={6}>
                             <PanelTypography
-                                title="table.field.task.ioTime" 
-                                property={record.ioTime$}
+                                title="table.field.task.taskSts"
+                                property={record.taskSts$}
                             />
                         </Grid>
                         <Grid item xs={6}>
                             <PanelTypography
-                                title="table.field.task.startTime" 
+                                title="table.field.task.taskType"
+                                property={record.taskType$}
+                            />
+                        </Grid>
+                        <Grid item xs={6}>
+                            <PanelTypography
+                                title="table.field.task.startTime"
                                 property={record.startTime$}
                             />
                         </Grid>
                         <Grid item xs={6}>
                             <PanelTypography
-                                title="table.field.task.endTime" 
+                                title="table.field.task.endTime"
                                 property={record.endTime$}
                             />
                         </Grid>
                         <Grid item xs={6}>
                             <PanelTypography
-                                title="table.field.task.errTime" 
-                                property={record.errTime$}
+                                title="table.field.task.oriDesc"
+                                property={record.oriDesc}
                             />
                         </Grid>
                         <Grid item xs={6}>
                             <PanelTypography
-                                title="table.field.task.oriSta" 
-                                property={record.oriSta$}
+                                title="table.field.task.destDesc"
+                                property={record.destDesc}
                             />
                         </Grid>
                         <Grid item xs={6}>
                             <PanelTypography
-                                title="table.field.task.oriLoc" 
-                                property={record.oriLoc$}
-                            />
-                        </Grid>
-                        <Grid item xs={6}>
-                            <PanelTypography
-                                title="table.field.task.oriCode" 
-                                property={record.oriCode$}
-                            />
-                        </Grid>
-                        <Grid item xs={6}>
-                            <PanelTypography
-                                title="table.field.task.destSta" 
-                                property={record.destSta$}
-                            />
-                        </Grid>
-                        <Grid item xs={6}>
-                            <PanelTypography
-                                title="table.field.task.destLoc" 
-                                property={record.destLoc$}
-                            />
-                        </Grid>
-                        <Grid item xs={6}>
-                            <PanelTypography
-                                title="table.field.task.destCode" 
-                                property={record.destCode$}
-                            />
-                        </Grid>
-                        <Grid item xs={6}>
-                            <PanelTypography
-                                title="table.field.task.emptyMk" 
+                                title="table.field.task.emptyMk"
                                 property={record.emptyMk}
                             />
                         </Grid>
                         <Grid item xs={6}>
                             <PanelTypography
-                                title="table.field.task.zpallet" 
+                                title="table.field.task.zpallet"
                                 property={record.zpallet}
                             />
                         </Grid>
                         <Grid item xs={6}>
                             <PanelTypography
-                                title="table.field.task.phase" 
+                                title="table.field.task.ioTime"
+                                property={record.ioTime$}
+                            />
+                        </Grid>
+                        <Grid item xs={6}>
+                            <PanelTypography
+                                title="table.field.task.phase"
                                 property={record.phase}
                             />
                         </Grid>
                         <Grid item xs={6}>
                             <PanelTypography
-                                title="table.field.task.errDesc" 
+                                title="table.field.task.errTime"
+                                property={record.errTime$}
+                            />
+                        </Grid>
+                        <Grid item xs={6}>
+                            <PanelTypography
+                                title="table.field.task.errDesc"
                                 property={record.errDesc}
                             />
                         </Grid>

--
Gitblit v1.9.1