From 07363413e7d36618ebafe658baebab8a9172be91 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期五, 28 二月 2025 13:32:24 +0800
Subject: [PATCH] #修改 1. 物料分类接口新增筛选条件

---
 rsf-admin/src/page/loc/LocPanel.jsx |   44 +++++++++++++++++++++++++-------------------
 1 files changed, 25 insertions(+), 19 deletions(-)

diff --git a/rsf-admin/src/page/loc/LocPanel.jsx b/rsf-admin/src/page/loc/LocPanel.jsx
index 2101641..2a429ec 100644
--- a/rsf-admin/src/page/loc/LocPanel.jsx
+++ b/rsf-admin/src/page/loc/LocPanel.jsx
@@ -13,7 +13,7 @@
     const translate = useTranslate();
     return (
         <>
-            <Card sx={{ width: { xs: 300, sm: 500, md: 600, lg: 800 }, margin: 'auto' }}>
+            <Card sx={{ width: { xs: 300, sm: 500, md: 600, lg: 1400 }, margin: 'auto' }}>
                 <CardContent>
                     <Grid container spacing={2}>
                         <Grid item xs={12} sx={{ display: 'flex', justifyContent: 'space-between' }}>
@@ -40,103 +40,109 @@
                     </Grid>
                     <Box height={20}>&nbsp;</Box>
                     <Grid container spacing={2}>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
+                            <PanelTypography
+                                title="table.field.loc.warehouseId" 
+                                property={record.warehouseId}
+                            />
+                        </Grid>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.loc.areaId" 
                                 property={record.areaId}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.loc.code" 
                                 property={record.code}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.loc.type" 
                                 property={record.type}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.loc.name" 
                                 property={record.name}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.loc.flagLogic" 
                                 property={record.flagLogic}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.loc.fucAtrrs" 
                                 property={record.fucAtrrs}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.loc.barcode" 
                                 property={record.barcode}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.loc.unit" 
                                 property={record.unit}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.loc.size" 
                                 property={record.size}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.loc.row" 
-                                property={record.row}
+                                property={record.lrow}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.loc.col" 
                                 property={record.col}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.loc.lev" 
                                 property={record.lev}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.loc.channel" 
                                 property={record.channel}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.loc.maxParts" 
                                 property={record.maxParts}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.loc.maxPack" 
                                 property={record.maxPack}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.loc.flagLabelMange" 
                                 property={record.flagLabelMange}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.loc.locAttrs" 
                                 property={record.locAttrs}

--
Gitblit v1.9.1