|  |  |  | 
|---|
|  |  |  | display: 'block', | 
|---|
|  |  |  | width: 'auto', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | '& .MuiTableCell-root': { | 
|---|
|  |  |  | whiteSpace: 'nowrap', | 
|---|
|  |  |  | overflow: 'visible', | 
|---|
|  |  |  | textOverflow: 'unset' | 
|---|
|  |  |  | } | 
|---|
|  |  |  | })); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | source="useStatus" | 
|---|
|  |  |  | optionValue="value" | 
|---|
|  |  |  | parse={v => v} | 
|---|
|  |  |  |  | 
|---|
|  |  |  | />, | 
|---|
|  |  |  | <TextInput source="code" label="table.field.loc.code" />, | 
|---|
|  |  |  | <AutocompleteInput | 
|---|
|  |  |  | 
|---|
|  |  |  | title={"menu.locItem"} | 
|---|
|  |  |  | empty={false} | 
|---|
|  |  |  | filters={filters} | 
|---|
|  |  |  | filter={{ useStatus: 'F' }} | 
|---|
|  |  |  | sort={{ field: "create_time", order: "desc" }} | 
|---|
|  |  |  | actions={( | 
|---|
|  |  |  | <TopToolbar> | 
|---|
|  |  |  | <FilterButton /> | 
|---|
|  |  |  | <SelectColumnsButton preferenceKey='loc' /> | 
|---|
|  |  |  | {/* <SelectColumnsButton preferenceKey='loc' /> */} | 
|---|
|  |  |  | </TopToolbar> | 
|---|
|  |  |  | )} | 
|---|
|  |  |  | perPage={DEFAULT_PAGE_SIZE} | 
|---|
|  |  |  | 
|---|
|  |  |  | align="left" | 
|---|
|  |  |  | bulkActionButtons={false} | 
|---|
|  |  |  | rowClick={() => false} | 
|---|
|  |  |  | omit={['id', 'createTime', 'createBy', 'memo', 'updateTime', 'updateBy']} | 
|---|
|  |  |  | omit={['id', 'createTime', 'createBy$', 'memo', 'updateTime', 'updateBy','statusBool','length','width','height']} | 
|---|
|  |  |  | > | 
|---|
|  |  |  | <NumberField source="id" /> | 
|---|
|  |  |  | <NumberField source="warehouseId$" label="table.field.loc.warehouseId" /> | 
|---|