From 39e16dc87c7b55b0d202bbd5416a478075dc236d Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期二, 15 四月 2025 09:09:43 +0800
Subject: [PATCH] #修复   1. 列表行点击与button冲突问题修复

---
 rsf-admin/src/page/basicInfo/matnr/MatnrPanel.jsx |   56 ++++++++++++++++++++++++++++----------------------------
 1 files changed, 28 insertions(+), 28 deletions(-)

diff --git a/rsf-admin/src/page/basicInfo/matnr/MatnrPanel.jsx b/rsf-admin/src/page/basicInfo/matnr/MatnrPanel.jsx
index ebf9a95..817e17c 100644
--- a/rsf-admin/src/page/basicInfo/matnr/MatnrPanel.jsx
+++ b/rsf-admin/src/page/basicInfo/matnr/MatnrPanel.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,151 +40,151 @@
                     </Grid>
                     <Box height={20}>&nbsp;</Box>
                     <Grid container spacing={2}>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.matnr.name" 
                                 property={record.name}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.matnr.code" 
                                 property={record.code}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.matnr.shipperId" 
                                 property={record.shipperId$}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.matnr.groupId" 
                                 property={record.groupId$}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.matnr.rglarId" 
                                 property={record.rglarId$}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
-                                title="table.field.matnr.erpCode" 
-                                property={record.erpCode}
+                                title="table.field.matnr.platCode"
+                                property={record.platCode}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.matnr.spec" 
                                 property={record.spec}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.matnr.model" 
                                 property={record.model}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.matnr.weight" 
                                 property={record.weight}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.matnr.color" 
                                 property={record.color}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.matnr.size" 
                                 property={record.size}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.matnr.describle" 
                                 property={record.describle}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.matnr.nromNum" 
                                 property={record.nromNum}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.matnr.unit" 
                                 property={record.unit}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.matnr.purUnit" 
                                 property={record.purUnit}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.matnr.stockUnit" 
                                 property={record.stockUnit}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.matnr.stockLevel" 
                                 property={record.stockLevel$}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.matnr.isLabelMange" 
                                 property={record.isLabelMange$}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.matnr.safeQty" 
                                 property={record.safeQty}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.matnr.minQty" 
                                 property={record.minQty}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.matnr.maxQty" 
                                 property={record.maxQty}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.matnr.stagn" 
                                 property={record.stagn}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.matnr.valid" 
                                 property={record.valid}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.matnr.validWarn" 
                                 property={record.validWarn}
                             />
                         </Grid>
-                        <Grid item xs={6}>
+                        <Grid item xs={3}>
                             <PanelTypography
                                 title="table.field.matnr.flagCheck" 
                                 property={record.flagCheck}

--
Gitblit v1.9.1