From f6121e26208fd4c06080e9ba7913d4755b3fd612 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期三, 09 七月 2025 17:10:54 +0800
Subject: [PATCH] #前端

---
 rsf-admin/src/page/basicInfo/warehouse/WarehouseList.jsx                       |   48 +++++---
 rsf-admin/src/page/basicInfo/deviceSite/DeviceSiteList.jsx                     |    5 
 rsf-admin/src/page/components/DictField.jsx                                    |    2 
 rsf-admin/src/page/system/operationRecord/OperationDetail.jsx                  |   46 +++++---
 rsf-admin/src/page/basicInfo/companys/CompanysList.jsx                         |   11 +
 rsf-admin/src/page/system/operationRecord/OperationRecordList.jsx              |    2 
 rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/DeviceBind.java |   43 ++++++++
 rsf-admin/src/page/basicInfo/loc/LocList.jsx                                   |    8 
 rsf-admin/src/page/basicInfo/matnr/MatnrEdit.jsx                               |    4 
 rsf-admin/src/page/components/EditBaseAside.jsx                                |    4 
 rsf-admin/src/page/basicInfo/basStation/BasStationList.jsx                     |   18 ++-
 rsf-admin/src/page/warehouseAreas/WarehouseAreasList.jsx                       |   28 ++++-
 rsf-admin/src/page/deviceBind/DeviceBindList.jsx                               |    8 -
 rsf-admin/src/page/basicInfo/basContainer/BasContainerList.jsx                 |    6 
 rsf-admin/src/page/warehouseAreas/WarehouseAreasEdit.jsx                       |   15 +-
 rsf-admin/src/i18n/zh.js                                                       |    1 
 rsf-admin/src/page/basicInfo/matnr/MatnrList.jsx                               |    8 
 rsf-admin/src/i18n/en.js                                                       |    1 
 rsf-admin/src/page/ResourceContent.js                                          |    2 
 rsf-admin/src/page/basicInfo/basStation/BasStationEdit.jsx                     |    4 
 rsf-admin/src/page/basicInfo/warehouse/WarehouseEdit.jsx                       |   17 ---
 21 files changed, 179 insertions(+), 102 deletions(-)

diff --git a/rsf-admin/src/i18n/en.js b/rsf-admin/src/i18n/en.js
index 8dcd005..7a1e395 100644
--- a/rsf-admin/src/i18n/en.js
+++ b/rsf-admin/src/i18n/en.js
@@ -332,6 +332,7 @@
                 err: "error",
                 result: "result",
                 userId: "user",
+                detail: "detail"
             },
             customer: {
                 uuid: "uuid",
diff --git a/rsf-admin/src/i18n/zh.js b/rsf-admin/src/i18n/zh.js
index 18807a3..cf686ce 100644
--- a/rsf-admin/src/i18n/zh.js
+++ b/rsf-admin/src/i18n/zh.js
@@ -348,6 +348,7 @@
                 err: "閿欒淇℃伅",
                 result: "result",
                 userId: "鎿嶄綔鐢ㄦ埛",
+                detail: "璇︾粏淇℃伅"
             },
             customer: {
                 uuid: "缂栧彿",
diff --git a/rsf-admin/src/page/ResourceContent.js b/rsf-admin/src/page/ResourceContent.js
index 34a1747..6e6f9bf 100644
--- a/rsf-admin/src/page/ResourceContent.js
+++ b/rsf-admin/src/page/ResourceContent.js
@@ -45,7 +45,7 @@
 import outStock from './orders/outStock';
 import deviceBind from './deviceBind';
 import wave from './orders/wave';
-import locItem from './locItem'
+import locItem from './locItem';
 import basStation from './basicInfo/basStation';
 import warehouseStock from './statistics/stockManage';
 import basContainer from './basicInfo/basContainer';
diff --git a/rsf-admin/src/page/basicInfo/basContainer/BasContainerList.jsx b/rsf-admin/src/page/basicInfo/basContainer/BasContainerList.jsx
index a48033f..722bb6e 100644
--- a/rsf-admin/src/page/basicInfo/basContainer/BasContainerList.jsx
+++ b/rsf-admin/src/page/basicInfo/basContainer/BasContainerList.jsx
@@ -61,8 +61,8 @@
 
 const filters = [
     <SearchInput source="condition" alwaysOn />,
-    <DateInput label='common.time.after' source="timeStart" alwaysOn />,
-    <DateInput label='common.time.before' source="timeEnd" alwaysOn />,
+    <DateInput label='common.time.after' source="timeStart"  />,
+    <DateInput label='common.time.before' source="timeEnd"  />,
 
     <NumberInput source="containerType" label="table.field.basContainer.containerType" />,
     <TextInput source="codeType" label="table.field.basContainer.codeType" />,
@@ -116,7 +116,7 @@
                     bulkActionButtons={() => <BulkDeleteButton mutationMode={OPERATE_MODE} />}
                     rowClick={(id, resource, record) => false}                    
                     expandSingle={true}
-                    omit={['id', 'createTime', 'createBy', 'memo']}
+                    omit={['id', 'createTime', 'createBy', 'memo','statusBool']}
                 >
                     <NumberField source="id" />
                     <NumberField source="containerType$" label="table.field.basContainer.containerType" />
diff --git a/rsf-admin/src/page/basicInfo/basStation/BasStationEdit.jsx b/rsf-admin/src/page/basicInfo/basStation/BasStationEdit.jsx
index 973ee19..11b2445 100644
--- a/rsf-admin/src/page/basicInfo/basStation/BasStationEdit.jsx
+++ b/rsf-admin/src/page/basicInfo/basStation/BasStationEdit.jsx
@@ -167,14 +167,14 @@
                         </Stack>
 
                     </Grid>
-                    <Grid item xs={12} md={4}>
+                    {/* <Grid item xs={12} md={4}>
                         <Typography variant="h6" gutterBottom>
                             {translate('common.edit.title.common')}
                         </Typography>
                         <StatusSelectInput />
                         <Box mt="2em" />
                         <MemoInput />
-                    </Grid>
+                    </Grid> */}
                 </Grid>
             </SimpleForm>
         </Edit >
diff --git a/rsf-admin/src/page/basicInfo/basStation/BasStationList.jsx b/rsf-admin/src/page/basicInfo/basStation/BasStationList.jsx
index a4aa944..f67e60d 100644
--- a/rsf-admin/src/page/basicInfo/basStation/BasStationList.jsx
+++ b/rsf-admin/src/page/basicInfo/basStation/BasStationList.jsx
@@ -64,10 +64,10 @@
 
 const filters = [
     <SearchInput source="condition" alwaysOn />,
-    <DateInput label='common.time.after' source="timeStart" alwaysOn />,
-    <DateInput label='common.time.before' source="timeEnd" alwaysOn />,
+    <DateInput label='common.time.after' source="timeStart"  />,
+    <DateInput label='common.time.before' source="timeEnd"  />,
 
-    <TextInput source="stationName" label="table.field.basStation.stationName" />,
+    <TextInput source="stationName" label="table.field.basStation.stationName" alwaysOn/>,
     <NumberInput source="inAble" label="table.field.basStation.inAble" />,
     <NumberInput source="outAble" label="table.field.basStation.outAble" />,
     <TextInput source="useStatus" label="table.field.basStation.useStatus" />,
@@ -129,10 +129,12 @@
                     bulkActionButtons={() => <BulkDeleteButton mutationMode={OPERATE_MODE} />}
                     rowClick={(id, resource, record) => false}                    
                     expandSingle={true}
-                    omit={['id', 'createTime', 'createBy', 'memo']}
+                    omit={['id', 'createTime', 'createBy', 'memo','updateBy','autoTransfer']}
                 >
                     <NumberField source="id" />
                     <TextField source="stationName" label="table.field.basStation.stationName" />
+                    <TextField source="useStatus$" label="table.field.basStation.useStatus" />
+                    <TextField source="barcode" label="table.field.basStation.barcode" />   
                     <FunctionField
                         source="inAble"
                         label="table.field.basStation.inAble"
@@ -143,7 +145,7 @@
                         label="table.field.basStation.outAble"
                         render={record => record.inAble === 1 ? '鏄�' : '鍚�'}
                     />
-                    <TextField source="useStatus$" label="table.field.basStation.useStatus" />
+                    
                     <NumberField source="area$" label="table.field.basStation.area" />                    
                     <FunctionField
                         source="isCrossZone"
@@ -160,15 +162,15 @@
                         source="isWcs"
                         label="table.field.basStation.isWcs"
                         render={record => record.inAble === 1 ? '鏄�' : '鍚�'}
-                    />                    
-                    <NumberField source="containerType$" label="table.field.basStation.containerType" />
+                    />                   
+                    
                     <WrapperField cellClassName="containerType" label="table.field.basStation.containerType">
                         <ContainerTypesField
                             open={areaFieldDialog2}
                             setOpen={setAreaFieldDialog2}                
                         />                        
                     </WrapperField>
-                    <TextField source="barcode" label="table.field.basStation.barcode" />                    
+                                     
                     <FunctionField
                         source="autoTransfer"
                         label="table.field.basStation.autoTransfer"
diff --git a/rsf-admin/src/page/basicInfo/companys/CompanysList.jsx b/rsf-admin/src/page/basicInfo/companys/CompanysList.jsx
index b83a522..069abe4 100644
--- a/rsf-admin/src/page/basicInfo/companys/CompanysList.jsx
+++ b/rsf-admin/src/page/basicInfo/companys/CompanysList.jsx
@@ -57,6 +57,12 @@
     '& .opt': {
         width: 200
     },
+    
+    '& .MuiTableCell-root': {
+        whiteSpace: 'nowrap',
+        overflow: 'visible',
+        textOverflow: 'unset'
+    },
 }));
 
 const filters = [
@@ -128,11 +134,12 @@
                     preferenceKey='companys'
                     bulkActionButtons={() => <BulkDeleteButton mutationMode={OPERATE_MODE} />}
                     rowClick={(id, resource, record) => false}
-                    omit={['id', 'createTime', 'createBy', 'memo']}
+                    omit={['id', 'createTime', 'createBy', 'memo','createBy$','updateBy$','statusBool','province','city','address']}
                 >
                     <NumberField source="id" />
-                    <TextField source="name" label="table.field.companys.name" />
                     <TextField source="code" label="table.field.companys.code" />
+                    <TextField source="name" label="table.field.companys.name" />
+                    
                     <TextField source="nameEn" label="table.field.companys.nameEn" />
                     <TextField source="breifCode" label="table.field.companys.breifCode" />
                     <DictField source="type" label="table.field.companys.type" dictTypeCode={'sys_companys_type'} />
diff --git a/rsf-admin/src/page/basicInfo/deviceSite/DeviceSiteList.jsx b/rsf-admin/src/page/basicInfo/deviceSite/DeviceSiteList.jsx
index 7fa227c..3320133 100644
--- a/rsf-admin/src/page/basicInfo/deviceSite/DeviceSiteList.jsx
+++ b/rsf-admin/src/page/basicInfo/deviceSite/DeviceSiteList.jsx
@@ -147,12 +147,13 @@
                     preferenceKey='deviceSite'
                     bulkActionButtons={() => <BulkDeleteButton mutationMode={OPERATE_MODE} />}
                     rowClick={(id, resource, record) => false}
-                    omit={['id', 'createTime', 'createBy', 'memo', 'label']}
+                    omit={['id', 'createTime', 'createBy', 'memo', 'label','name','target','statusBool','updateBy']}
                 >
                     <NumberField source="id" />
+                    <TextField source="site" label="table.field.deviceSite.site" />
                     <TextField source="name" label="table.field.deviceSite.name" />
                     <NumberField source="type$" label="table.field.deviceSite.type" />
-                    <TextField source="site" label="table.field.deviceSite.site" />
+                    
                     <TextField source="target" label="table.field.deviceSite.target" />
                     <TextField source="label" label="table.field.deviceSite.label" />
                     <TextField source="device$" label="table.field.deviceSite.device" />
diff --git a/rsf-admin/src/page/basicInfo/loc/LocList.jsx b/rsf-admin/src/page/basicInfo/loc/LocList.jsx
index 3b945f5..ea3a339 100644
--- a/rsf-admin/src/page/basicInfo/loc/LocList.jsx
+++ b/rsf-admin/src/page/basicInfo/loc/LocList.jsx
@@ -195,7 +195,7 @@
                     }
                     onClick={() => { }} />}
                 filters={filters}
-                sort={{ field: "create_time", order: "desc" }}
+                sort={{ field: "'row'" }}
                 actions={(
                     <TopToolbar>
                         <FilterButton />
@@ -223,12 +223,12 @@
                         </>
                     }
                     rowClick={() => false}
-                    omit={['id', 'createTime', 'createBy', 'memo', 'updateTime', 'updateBy']}
+                    omit={['id', 'createTime', 'createBy', 'memo', 'updateTime', 'updateBy', 'length', 'width', 'height','statusBool','updateBy$','createBy$']}
                 >
                     <NumberField source="id" />
-                    <NumberField source="warehouseId$" label="table.field.loc.warehouseId" />
-                    <NumberField source="areaId$" label="table.field.loc.areaId" />
                     <TextField source="code" label="table.field.loc.code" />
+                    <NumberField source="warehouseId$" label="table.field.loc.warehouseId" />
+                    <NumberField source="areaId$" label="table.field.loc.areaId" />                    
                     <TextField source="typeIds$" label="table.field.loc.type" cellClassName="type" />
                     {/* <TextField source="name" label="table.field.loc.name" /> */}
                     {/* <NumberField source="flagLogic" label="table.field.loc.flagLogic" />
diff --git a/rsf-admin/src/page/basicInfo/matnr/MatnrEdit.jsx b/rsf-admin/src/page/basicInfo/matnr/MatnrEdit.jsx
index b3a5601..0cf5299 100644
--- a/rsf-admin/src/page/basicInfo/matnr/MatnrEdit.jsx
+++ b/rsf-admin/src/page/basicInfo/matnr/MatnrEdit.jsx
@@ -383,14 +383,14 @@
                     </Grid>
 
 
-                    <Grid item xs={12} md={2}>
+                    {/* <Grid item xs={12} md={2}>
                         <Typography variant="h6" gutterBottom>
                             {translate('common.edit.title.common')}
                         </Typography>
                         <StatusSelectInput />
                         <Box mt="2em" />
                         <MemoInput />
-                    </Grid>
+                    </Grid> */}
                 </Grid>
             </SimpleForm>
         </Edit >
diff --git a/rsf-admin/src/page/basicInfo/matnr/MatnrList.jsx b/rsf-admin/src/page/basicInfo/matnr/MatnrList.jsx
index 71ad947..d33ad5f 100644
--- a/rsf-admin/src/page/basicInfo/matnr/MatnrList.jsx
+++ b/rsf-admin/src/page/basicInfo/matnr/MatnrList.jsx
@@ -169,8 +169,8 @@
             if (code === 200) {
                 const arr = [
                     <NumberField key="id" source="id" />,
-                    <TooltipField key="name" source="name" label="table.field.matnr.name" cellClassName="name" />,
                     <TextField key="code" source="code" label="table.field.matnr.code" />,
+                    <TooltipField key="name" source="name" label="table.field.matnr.name" cellClassName="name" />,                    
                     <TextField key="shipperId$" source="shipperId$" label="table.field.matnr.shipperId" />,
                     <ReferenceField key="groupId" source="groupId" label="table.field.matnr.groupId" reference="matnrGroup" link={false} sortable={false}>
                         <TextField source="name" />
@@ -256,10 +256,10 @@
                         <BulkDeleteButton mutationMode={OPERATE_MODE} />
                     </>}
                     rowClick={(id, resource, record) => false}
-                    omit={['id', 'shipperId', 'platCode', 'spec', 'model', 'weight', 'color', 'describle'
-                        , 'nromNum', 'unit', 'purchaseUnit', 'stockUnit', 'stockLeval', 'isLabelMange', 'safeQty'
+                    omit={['id', 'shipperId', 'platCode', 'model', 'weight', 'color', 'describle'
+                        , 'nromNum', 'unit', 'purchaseUnit', 'stockUnit', 'isLabelMange', 'safeQty'
                         , 'minQty', 'maxQty', 'stagn', 'valid', 'validWarn', 'flagCheck', 'updateTime', 'updateBy'
-                        , 'createTime', 'createBy', 'memo', 'rglarId', 'groupId', 'stockLevel']}
+                        , 'createTime', 'createBy', 'memo', 'rglarId', 'groupId','statusBool', 'stockLeval$']}
                 >
                     {columns.map((column) => column)}
                 </StyledDatagrid>}
diff --git a/rsf-admin/src/page/basicInfo/warehouse/WarehouseEdit.jsx b/rsf-admin/src/page/basicInfo/warehouse/WarehouseEdit.jsx
index b8d67b3..ecf1a27 100644
--- a/rsf-admin/src/page/basicInfo/warehouse/WarehouseEdit.jsx
+++ b/rsf-admin/src/page/basicInfo/warehouse/WarehouseEdit.jsx
@@ -128,22 +128,7 @@
                             />
                         </Stack>
                     </Grid>
-                    <Grid item xs={12} md={4}>
-                        <Typography variant="h6" gutterBottom>
-                            {translate('common.edit.title.common')}
-                        </Typography>
-                        <StatusSelectInput />
-                        <Box mt="2em" />
-                        <TextInput
-                            label="common.field.memo"
-                            source="memo"
-                            parse={v => v}
-                            fullWidth
-                            multiline
-                            minRows={2}
-                            autoFocus
-                        />
-                    </Grid>
+                    
                 </Grid>
             </SimpleForm>
         </Edit >
diff --git a/rsf-admin/src/page/basicInfo/warehouse/WarehouseList.jsx b/rsf-admin/src/page/basicInfo/warehouse/WarehouseList.jsx
index ca962cd..f16724d 100644
--- a/rsf-admin/src/page/basicInfo/warehouse/WarehouseList.jsx
+++ b/rsf-admin/src/page/basicInfo/warehouse/WarehouseList.jsx
@@ -44,19 +44,30 @@
 import { PAGE_DRAWER_WIDTH, OPERATE_MODE, DEFAULT_PAGE_SIZE } from '@/config/setting';
 import * as Common from '@/utils/common';
 
-const StyledDatagrid = styled(DatagridConfigurable)(({ theme }) => ({
-    '& .css-1vooibu-MuiSvgIcon-root': {
-        height: '.9em'
-    },
-    '& .RaDatagrid-row': {
-        cursor: 'auto'
-    },
-    '& .column-name': {
-    },
-    '& .opt': {
-        width: 200
-    },
-}));
+// const StyledDatagrid = styled(DatagridConfigurable)(({ theme }) => ({
+//     '& .css-1vooibu-MuiSvgIcon-root': {
+//         height: '.9em'
+//     },
+//     '& .RaDatagrid-row': {
+//         cursor: 'auto'
+//     },
+//     '& .column-name': {
+//     },
+//     '& .opt': {
+//         width: 200
+//     },       
+//     '& .RaDatagrid-cell': {
+//         whiteSpace: 'nowrap',
+//         overflow: 'visible',
+//         textOverflow: 'unset',
+//         maxWidth: 'none'
+//     },
+//     '& .MuiTableCell-root': {
+//         whiteSpace: 'nowrap',
+//         overflow: 'visible',
+//         textOverflow: 'unset'
+//     }
+// }));
 
 const filters = [
     <SearchInput source="condition" alwaysOn />,
@@ -112,13 +123,13 @@
                         <MyExportButton />
                     </TopToolbar>
                 )}
-                perPage={DEFAULT_PAGE_SIZE}
+                perPage={DEFAULT_PAGE_SIZE}                
             >
-                <StyledDatagrid
+                <DatagridConfigurable
                     preferenceKey='warehouse'
                     bulkActionButtons={() => <BulkDeleteButton mutationMode={OPERATE_MODE} />}
-                    rowClick={(id, resource, record) => false}
-                    omit={['id', 'createTime', 'createBy', 'memo']}
+                    rowClick={(id, resource, record) => false} 
+                    omit={['id', 'createTime', 'createBy', 'memo', 'longitude', 'latgitude', 'length', 'width', 'height']}
                 >
                     <NumberField source="id" />
                     <TextField source="factory" label="table.field.warehouse.factory" />
@@ -139,13 +150,12 @@
                         <TextField source="nickname" />
                     </ReferenceField>
                     <DateField source="createTime" label="common.field.createTime" showTime />
-                    <BooleanField source="statusBool" label="common.field.status" sortable={false} />
                     <TextField source="memo" label="common.field.memo" sortable={false} />
                     <WrapperField cellClassName="opt" label="common.field.opt">
                         <EditButton sx={{ padding: '1px', fontSize: '.75rem' }} />
                         <DeleteButton sx={{ padding: '1px', fontSize: '.75rem' }} mutationMode={OPERATE_MODE} />
                     </WrapperField>
-                </StyledDatagrid>
+                </DatagridConfigurable>
             </List>
             <WarehouseCreate
                 open={createDialog}
diff --git a/rsf-admin/src/page/components/DictField.jsx b/rsf-admin/src/page/components/DictField.jsx
index 840707f..973f622 100644
--- a/rsf-admin/src/page/components/DictField.jsx
+++ b/rsf-admin/src/page/components/DictField.jsx
@@ -10,7 +10,7 @@
     const theme = useTheme();
 
     const value = JSON.parse(localStorage.getItem('sys_dicts'))?.find(dict => (dict.value == record[source])).label;
-
+    console.log(value)
 
     return record ? (
         <Typography
diff --git a/rsf-admin/src/page/components/EditBaseAside.jsx b/rsf-admin/src/page/components/EditBaseAside.jsx
index 78e83e6..ad8fa48 100644
--- a/rsf-admin/src/page/components/EditBaseAside.jsx
+++ b/rsf-admin/src/page/components/EditBaseAside.jsx
@@ -23,9 +23,9 @@
                                 {translate('common.edit.side.title')}
                             </Typography>
                             <Grid container rowSpacing={2} columnSpacing={1}>
-                                <Grid item xs={12} display="flex" gap={1}>
+                                {/* <Grid item xs={12} display="flex" gap={1}>
                                     <StatusField label="Status" />
-                                </Grid>
+                                </Grid> */}
                                 <Grid item xs={12} display="flex" gap={1}>
                                     <AccessTimeIcon fontSize="small" color="disabled" />
                                     <Box flexGrow={1}>
diff --git a/rsf-admin/src/page/deviceBind/DeviceBindList.jsx b/rsf-admin/src/page/deviceBind/DeviceBindList.jsx
index 795fb55..d845a49 100644
--- a/rsf-admin/src/page/deviceBind/DeviceBindList.jsx
+++ b/rsf-admin/src/page/deviceBind/DeviceBindList.jsx
@@ -120,10 +120,9 @@
                 <StyledDatagrid
                     preferenceKey='deviceBind'
                     bulkActionButtons={() => <BulkDeleteButton mutationMode={OPERATE_MODE} />}
-                    rowClick={(id, resource, record) => false}
-                    expand={() => <DeviceBindPanel />}
+                    rowClick={(id, resource, record) => false}                    
                     expandSingle={true}
-                    omit={['id', 'createTime', 'createBy', 'memo']}
+                    omit={['id', 'createTime', 'createBy', 'memo','updateBy','emptySimilar']}
                 >
                     <NumberField source="id" />
                     <NumberField source="currentRow" label="table.field.deviceBind.currentRow" />
@@ -146,8 +145,7 @@
                     <ReferenceField source="createBy" label="common.field.createBy" reference="user" link={false} sortable={false}>
                         <TextField source="nickname" />
                     </ReferenceField>
-                    <DateField source="createTime" label="common.field.createTime" showTime />
-                    <BooleanField source="statusBool" label="common.field.status" sortable={false} />
+                    <DateField source="createTime" label="common.field.createTime" showTime />                    
                     <TextField source="memo" label="common.field.memo" sortable={false} />
                     <WrapperField cellClassName="opt" label="common.field.opt">
                         <EditButton sx={{ padding: '1px', fontSize: '.75rem' }} />
diff --git a/rsf-admin/src/page/system/operationRecord/OperationDetail.jsx b/rsf-admin/src/page/system/operationRecord/OperationDetail.jsx
index ca45841..f012068 100644
--- a/rsf-admin/src/page/system/operationRecord/OperationDetail.jsx
+++ b/rsf-admin/src/page/system/operationRecord/OperationDetail.jsx
@@ -6,12 +6,14 @@
     DateField,
     Labeled,
 } from 'react-admin';
-import { Box, Grid, Stack, IconButton, Typography, Card, CardContent, TextField, Button } from '@mui/material';
+import { Box, Grid, Stack, IconButton, Typography, Card, CardContent, TextField, Button,FormLabel } from '@mui/material';
 import CloseIcon from '@mui/icons-material/Close';
 import { format } from 'date-fns';
 
 const OperationDetail = (props) => {
     const { operation, ...rest } = props;
+
+    const translate = useTranslate();
     
     return (
         <>
@@ -20,44 +22,51 @@
                     <CardContent>
                         <Grid container rowSpacing={1} mb={1}>
                             <Grid item xs={6}>
-                                <Labeled label="table.field.operationRecord.namespace">
-                                    <Typography
-                                        variant="body2"
-                                        flexWrap="nowrap"
-                                    >
-                                        {operation.namespace || ''}
-                                    </Typography>
-                                </Labeled>
+                                <FormLabel component="legend">
+                                    {translate('table.field.operationRecord.namespace')}
+                                </FormLabel>
+                                <Typography variant="body2" flexWrap="nowrap">
+                                    {operation.namespace || ''}
+                                </Typography>
                             </Grid>
                             <Grid item xs={6}>
-                                <Labeled label="table.field.operationRecord.url">
+                                <FormLabel component="legend">
+                                    {translate('table.field.operationRecord.url')}
+                                </FormLabel>
+                                
                                     <Typography
                                         variant="body2"
                                         flexWrap="nowrap"
                                     >
                                         {operation.url || ''}
                                     </Typography>
-                                </Labeled>
+                                
                             </Grid>
                             <Grid item xs={6}>
-                                <Labeled label="table.field.operationRecord.timestamp">
+                                <FormLabel component="legend">
+                                    {translate('table.field.operationRecord.timestamp')}
+                                </FormLabel>
+                               
                                     <Typography
                                         variant="body2"
                                         flexWrap="nowrap"
                                     >
                                         {format(new Date(Number(operation.timestamp)), 'yyyy-MM-dd HH:mm:ss')}
                                     </Typography>
-                                </Labeled>
+                                
                             </Grid>
                             <Grid item xs={6}>
-                                <Labeled label="table.field.operationRecord.userId">
+                                <FormLabel component="legend">
+                                    {translate('table.field.operationRecord.userId')}
+                                </FormLabel>
+                                
                                     <Typography
                                         variant="body2"
                                         flexWrap="nowrap"
                                     >
                                         {operation.userId$ || ''}
                                     </Typography>
-                                </Labeled>
+                                
                             </Grid>
                             <Grid item sm={12}>
                                 <TextField
@@ -77,14 +86,17 @@
                                 />
                             </Grid>
                             <Grid item xs={6}>
-                                <Labeled label="table.field.operationRecord.clientIp">
+                                <FormLabel component="legend">
+                                    {translate('table.field.operationRecord.userId')}
+                                </FormLabel>
+                                
                                     <Typography
                                         variant="body2"
                                         flexWrap="nowrap"
                                     >
                                         {operation.clientIp || ''}
                                     </Typography>
-                                </Labeled>
+                                
                             </Grid>
                         </Grid>
                     </CardContent>
diff --git a/rsf-admin/src/page/system/operationRecord/OperationRecordList.jsx b/rsf-admin/src/page/system/operationRecord/OperationRecordList.jsx
index ac5b4d6..9065a51 100644
--- a/rsf-admin/src/page/system/operationRecord/OperationRecordList.jsx
+++ b/rsf-admin/src/page/system/operationRecord/OperationRecordList.jsx
@@ -169,7 +169,7 @@
                 </StyledDatagrid>
             </List>
             <PageDrawer
-                title='OperationRecord Detail'
+                title={translate('table.field.operationRecord.detail')}
                 drawerVal={drawerVal}
                 setDrawerVal={setDrawerVal}
             >
diff --git a/rsf-admin/src/page/warehouseAreas/WarehouseAreasEdit.jsx b/rsf-admin/src/page/warehouseAreas/WarehouseAreasEdit.jsx
index bf62c7b..db033ef 100644
--- a/rsf-admin/src/page/warehouseAreas/WarehouseAreasEdit.jsx
+++ b/rsf-admin/src/page/warehouseAreas/WarehouseAreasEdit.jsx
@@ -28,6 +28,8 @@
 import CustomerTopToolBar from "../components/EditTopToolBar";
 import MemoInput from "../components/MemoInput";
 import StatusSelectInput from "../components/StatusSelectInput";
+import DictionarySelect from "../components/DictionarySelect";
+import DictSelect from "../components/DictSelect";
 
 const FormToolbar = () => {
     const { getValues } = useFormContext();
@@ -86,13 +88,11 @@
                                 validate={[required()]}
                                 parse={v => v}
                             />
-                            <AutocompleteInput
-                                choices={dicts}
-                                optionText="label"
-                                label="table.field.warehouseAreas.type"
-                                source="type"
-                                optionValue="value"
-                                parse={v => v}
+                            <DictionarySelect
+                                label='table.field.warehouseAreas.type'
+                                name="type"
+                                dictTypeCode="sys_ware_areas_type"
+                                alwaysOn                                
                             />
                             <ReferenceInput
                                 source="warehouseId"
@@ -101,6 +101,7 @@
                                 <AutocompleteInput
                                     label="table.field.warehouseAreas.wareId"
                                     optionText="name"
+                                    optionValue="id"
                                     validate={[required()]}
                                     filterToQuery={(val) => ({ name: val })}
                                 />
diff --git a/rsf-admin/src/page/warehouseAreas/WarehouseAreasList.jsx b/rsf-admin/src/page/warehouseAreas/WarehouseAreasList.jsx
index cf5d60c..02ad461 100644
--- a/rsf-admin/src/page/warehouseAreas/WarehouseAreasList.jsx
+++ b/rsf-admin/src/page/warehouseAreas/WarehouseAreasList.jsx
@@ -59,6 +59,17 @@
     '& .opt': {
         width: 200
     },
+    '& .RaDatagrid-cell': {
+        whiteSpace: 'nowrap',
+        overflow: 'visible',
+        textOverflow: 'unset',
+        maxWidth: 'none'
+    },
+    '& .MuiTableCell-root': {
+        whiteSpace: 'nowrap',
+        overflow: 'visible',
+        textOverflow: 'unset'
+    }
 }));
 
 const filters = [
@@ -141,24 +152,28 @@
                     </TopToolbar>
                 )}
                 perPage={DEFAULT_PAGE_SIZE}
-            >
-                <StyledDatagrid
+            > 
+            
+
+            
+                <StyledDatagrid                                    
                     preferenceKey='warehouseAreas'
                     bulkActionButtons={
                         <>
-                            <WareButton />
+                            {/* <WareButton />
                             <MixButton />
-                            <StatusButton />
+                            <StatusButton /> */}
                             <BulkDeleteButton mutationMode={OPERATE_MODE} />
                         </>
                     }
                     rowClick={(id, resource, record) => false}
-                    omit={['id', 'createTime', 'createBy', 'memo']}
+                    omit={['id', 'createTime', 'createBy', 'memo','statusBool','flagMix$','flagLabelMange$','shipperId$','supplierId']}
                 >
                     <NumberField source="id" />
                     {/* <TextField source="uuid" label="table.field.warehouseAreas.uuid" /> */}
-                    <TextField source="name" label="table.field.warehouseAreas.name" />
                     <TextField source="code" label="table.field.warehouseAreas.code" />
+                    <TextField source="name" label="table.field.warehouseAreas.name" />
+                   
                     <TextField source="type$" label="table.field.warehouseAreas.type"/>
                     {/* <ReferenceField source="shipperId" label="table.field.warehouseAreas.shipperId" reference="shipper" link={false} sortable={false}>
                         <TextField source="name" />
@@ -184,6 +199,7 @@
                         <DeleteButton sx={{ padding: '1px', fontSize: '.75rem' }} mutationMode={OPERATE_MODE} />
                     </WrapperField>
                 </StyledDatagrid>
+                
             </List>
             <WarehouseAreasCreate
                 open={createDialog}
diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/DeviceBind.java b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/DeviceBind.java
index de84b15..6d70197 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/DeviceBind.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/DeviceBind.java
@@ -12,7 +12,10 @@
 import com.vincent.rsf.framework.common.SpringUtils;
 import com.vincent.rsf.server.system.service.UserService;
 import com.vincent.rsf.server.system.entity.User;
+import org.springframework.format.annotation.DateTimeFormat;
+
 import java.io.Serializable;
+import java.text.SimpleDateFormat;
 import java.util.Date;
 
 @Data
@@ -92,6 +95,32 @@
     @TableLogic
     private Integer deleted;
 
+    /**
+     * 鍒涘缓浜�
+     */
+    @ApiModelProperty(value= "鍒涘缓浜�")
+    private Long createBy;
+
+    /**
+     * 鍒涘缓鏃堕棿
+     */
+    @ApiModelProperty(value= "鍒涘缓鏃堕棿")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    private Date createTime;
+
+    /**
+     * 鏇存柊浜�
+     */
+    @ApiModelProperty(value= "鏇存柊浜�")
+    private Long updateBy;
+
+    /**
+     * 鏇存柊鏃堕棿
+     */
+    @ApiModelProperty(value= "鏇存柊鏃堕棿")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    private Date updateTime;
+
     public DeviceBind() {}
 
     public DeviceBind(Integer currentRow,Integer startRow,Integer endRow,Integer deviceQty,Integer startDeviceNo,Integer endDeviceNo,String staList,Integer typeId,String beSimilar,String emptySimilar) {
@@ -120,6 +149,20 @@
 //            null    // 绌烘澘闈犺繎寮�鍏�
 //    );
 
+    public String getCreateTime$(){
+        if (Cools.isEmpty(this.createTime)){
+            return "";
+        }
+        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime);
+    }
+
+    public String getUpdateTime$(){
+        if (Cools.isEmpty(this.updateTime)){
+            return "";
+        }
+        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime);
+    }
+
 
 
 //    public Boolean getStatusBool(){

--
Gitblit v1.9.1