From 8ce2fc9e420f68e07512b9addaf514a09effb4a7 Mon Sep 17 00:00:00 2001
From: lbq <1065079612@qq.com>
Date: 星期三, 25 二月 2026 13:45:02 +0800
Subject: [PATCH] 优化出库明细界面

---
 rsf-admin/src/page/basicInfo/companys/CompanysCreate.jsx |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/rsf-admin/src/page/basicInfo/companys/CompanysCreate.jsx b/rsf-admin/src/page/basicInfo/companys/CompanysCreate.jsx
index 47f456d..c5be88a 100644
--- a/rsf-admin/src/page/basicInfo/companys/CompanysCreate.jsx
+++ b/rsf-admin/src/page/basicInfo/companys/CompanysCreate.jsx
@@ -90,7 +90,7 @@
                                         label="table.field.companys.code"
                                         source="code"
                                         parse={v => v}
-                                        readOnly
+                                        validate={[required()]}
                                     />
                                 </Grid>
                                 <Grid item xs={6} display="flex" gap={1}>
@@ -98,15 +98,16 @@
                                         label="table.field.companys.name"
                                         source="name"
                                         parse={v => v}
+                                        validate={[required()]}
                                     />
                                 </Grid>
-                                <Grid item xs={6} display="flex" gap={1}>
+                                {/* <Grid item xs={6} display="flex" gap={1}>
                                     <TextInput
                                         label="table.field.companys.nameEn"
                                         source="nameEn"
                                         parse={v => v}
                                     />
-                                </Grid>
+                                </Grid> */}
                                 <Grid item xs={6} display="flex" gap={1}>
                                     <TextInput
                                         label="table.field.companys.breifCode"
@@ -124,7 +125,7 @@
                                         parse={v => v}
                                         validate={[required()]} />
                                 </Grid>
-                                <Grid item xs={6} display="flex" gap={1}>
+                                {/* <Grid item xs={6} display="flex" gap={1}>
                                     <TextInput
                                         label="table.field.companys.contact"
                                         source="contact"
@@ -165,15 +166,14 @@
                                         source="city"
                                         parse={v => v}
                                     />
-                                </Grid>
-                                <Grid item xs={6} display="flex" gap={1}>
+                                </Grid> */}
+                                {/* <Grid item xs={6} display="flex" gap={1}>
                                     <TextInput
                                         label="table.field.companys.address"
                                         source="address"
                                         parse={v => v}
                                     />
                                 </Grid>
-
                                 <Grid item xs={6} display="flex" gap={1}>
                                     <StatusSelectInput />
                                 </Grid>
@@ -181,7 +181,7 @@
                                     <Stack direction="column" spacing={1} width={'100%'}>
                                         <MemoInput />
                                     </Stack>
-                                </Grid>
+                                </Grid> */}
                             </Grid>
                         </DialogContent>
                         <DialogActions sx={{ position: 'sticky', bottom: 0, backgroundColor: 'background.paper', zIndex: 1000 }}>

--
Gitblit v1.9.1