From 3e7ddfed8f28fda861710fda62cb485e393244c5 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期一, 12 五月 2025 08:13:48 +0800
Subject: [PATCH] no message

---
 rsf-admin/src/page/locItem/LocItemPanel.jsx |  152 ++++++++++++++++++++++++--------------------------
 1 files changed, 73 insertions(+), 79 deletions(-)

diff --git a/rsf-admin/src/page/orderItem/OrderItemPanel.jsx b/rsf-admin/src/page/locItem/LocItemPanel.jsx
similarity index 71%
rename from rsf-admin/src/page/orderItem/OrderItemPanel.jsx
rename to rsf-admin/src/page/locItem/LocItemPanel.jsx
index 43a4681..585ec5a 100644
--- a/rsf-admin/src/page/orderItem/OrderItemPanel.jsx
+++ b/rsf-admin/src/page/locItem/LocItemPanel.jsx
@@ -7,7 +7,7 @@
 import PanelTypography from "../components/PanelTypography";
 import * as Common from '@/utils/common'
 
-const OrderItemPanel = () => {
+const LocItemPanel = () => {
     const record = useRecordContext();
     if (!record) return null;
     const translate = useTranslate();
@@ -23,7 +23,7 @@
                                 overflow: 'hidden',
                                 textOverflow: 'ellipsis',
                             }}>
-                                {Common.camelToPascalWithSpaces(translate('table.field.orderItem.id'))}: {record.id}
+                                {Common.camelToPascalWithSpaces(translate('table.field.locItem.id'))}: {record.id}
                             </Typography>
                             {/*  inherit, primary, secondary, textPrimary, textSecondary, error */}
                             <Typography variant="h6" gutterBottom align="right" >
@@ -42,122 +42,116 @@
                     <Grid container spacing={2}>
                         <Grid item xs={6}>
                             <PanelTypography
-                                title="table.field.orderItem.orderId" 
+                                title="table.field.locItem.locId" 
+                                property={record.locId}
+                            />
+                        </Grid>
+                        <Grid item xs={6}>
+                            <PanelTypography
+                                title="table.field.locItem.locCode" 
+                                property={record.locCode}
+                            />
+                        </Grid>
+                        <Grid item xs={6}>
+                            <PanelTypography
+                                title="table.field.locItem.orderId" 
                                 property={record.orderId}
                             />
                         </Grid>
                         <Grid item xs={6}>
                             <PanelTypography
-                                title="table.field.orderItem.orderCode" 
-                                property={record.orderCode}
+                                title="table.field.locItem.type" 
+                                property={record.type}
                             />
                         </Grid>
                         <Grid item xs={6}>
                             <PanelTypography
-                                title="table.field.orderItem.sourceItemId" 
-                                property={record.sourceItemId}
+                                title="table.field.locItem.orderItemId" 
+                                property={record.orderItemId}
                             />
                         </Grid>
                         <Grid item xs={6}>
                             <PanelTypography
-                                title="table.field.orderItem.matnrId" 
+                                title="table.field.locItem.wkType" 
+                                property={record.wkType}
+                            />
+                        </Grid>
+                        <Grid item xs={6}>
+                            <PanelTypography
+                                title="table.field.locItem.matnrId" 
                                 property={record.matnrId}
                             />
                         </Grid>
                         <Grid item xs={6}>
                             <PanelTypography
-                                title="table.field.orderItem.matnrCode" 
-                                property={record.matnrCode}
-                            />
-                        </Grid>
-                        <Grid item xs={6}>
-                            <PanelTypography
-                                title="table.field.orderItem.maktx" 
+                                title="table.field.locItem.maktx" 
                                 property={record.maktx}
                             />
                         </Grid>
                         <Grid item xs={6}>
                             <PanelTypography
-                                title="table.field.orderItem.anfme" 
-                                property={record.anfme}
+                                title="table.field.locItem.matnrCode" 
+                                property={record.matnrCode}
                             />
                         </Grid>
                         <Grid item xs={6}>
                             <PanelTypography
-                                title="table.field.orderItem.stockUnit" 
-                                property={record.stockUnit}
-                            />
-                        </Grid>
-                        <Grid item xs={6}>
-                            <PanelTypography
-                                title="table.field.orderItem.workQty" 
-                                property={record.workQty}
-                            />
-                        </Grid>
-                        <Grid item xs={6}>
-                            <PanelTypography
-                                title="table.field.orderItem.purQty" 
-                                property={record.purQty}
-                            />
-                        </Grid>
-                        <Grid item xs={6}>
-                            <PanelTypography
-                                title="table.field.orderItem.purUnit" 
-                                property={record.purUnit}
-                            />
-                        </Grid>
-                        <Grid item xs={6}>
-                            <PanelTypography
-                                title="table.field.orderItem.qty" 
-                                property={record.qty}
-                            />
-                        </Grid>
-                        <Grid item xs={6}>
-                            <PanelTypography
-                                title="table.field.orderItem.splrCode" 
-                                property={record.splrCode}
-                            />
-                        </Grid>
-                        <Grid item xs={6}>
-                            <PanelTypography
-                                title="table.field.orderItem.batch" 
-                                property={record.batch}
-                            />
-                        </Grid>
-                        <Grid item xs={6}>
-                            <PanelTypography
-                                title="table.field.orderItem.splrBatch" 
-                                property={record.splrBatch}
-                            />
-                        </Grid>
-                        <Grid item xs={6}>
-                            <PanelTypography
-                                title="table.field.orderItem.splrName" 
-                                property={record.splrName}
-                            />
-                        </Grid>
-                        <Grid item xs={6}>
-                            <PanelTypography
-                                title="table.field.orderItem.trackCode" 
+                                title="table.field.locItem.trackCode" 
                                 property={record.trackCode}
                             />
                         </Grid>
                         <Grid item xs={6}>
                             <PanelTypography
-                                title="table.field.orderItem.barcode" 
-                                property={record.barcode}
+                                title="table.field.locItem.unit" 
+                                property={record.unit}
                             />
                         </Grid>
                         <Grid item xs={6}>
                             <PanelTypography
-                                title="table.field.orderItem.prodTime" 
-                                property={record.prodTime}
+                                title="table.field.locItem.anfme" 
+                                property={record.anfme}
                             />
                         </Grid>
                         <Grid item xs={6}>
                             <PanelTypography
-                                title="table.field.orderItem.packName" 
-                                property={record.packName}
+                                title="table.field.locItem.qty" 
+                                property={record.qty}
+                            />
+                        </Grid>
+                        <Grid item xs={6}>
+                            <PanelTypography
+                                title="table.field.locItem.workQty" 
+                                property={record.workQty}
+                            />
+                        </Grid>
+                        <Grid item xs={6}>
+                            <PanelTypography
+                                title="table.field.locItem.batch" 
+                                property={record.batch}
+                            />
+                        </Grid>
+                        <Grid item xs={6}>
+                            <PanelTypography
+                                title="table.field.locItem.splrBatch" 
+                                property={record.splrBatch}
+                            />
+                        </Grid>
+                        <Grid item xs={6}>
+                            <PanelTypography
+                                title="table.field.locItem.spec" 
+                                property={record.spec}
+                            />
+                        </Grid>
+                        <Grid item xs={6}>
+                            <PanelTypography
+                                title="table.field.locItem.model" 
+                                property={record.model}
+                            />
+                        </Grid>
+                        <Grid item xs={6}>
+                            <PanelTypography
+                                title="table.field.locItem.fieldsIndex" 
+                                property={record.fieldsIndex}
                             />
                         </Grid>
 
@@ -168,4 +162,4 @@
     );
 };
 
-export default OrderItemPanel;
+export default LocItemPanel;

--
Gitblit v1.9.1