|  |  |  | 
|---|
|  |  |  | > | 
|---|
|  |  |  | <StyledDatagrid | 
|---|
|  |  |  | preferenceKey='stock' | 
|---|
|  |  |  | bulkActionButtons={() => <BulkDeleteButton mutationMode={OPERATE_MODE} />} | 
|---|
|  |  |  | bulkActionButtons={false} | 
|---|
|  |  |  | rowClick='edit' | 
|---|
|  |  |  | expandSingle={true} | 
|---|
|  |  |  | omit={['id', 'createTime', 'createBy', 'memo']} | 
|---|
|  |  |  | expandSingle={false} | 
|---|
|  |  |  | omit={['id', 'createTime','sourceId', 'createBy', 'memo']} | 
|---|
|  |  |  | > | 
|---|
|  |  |  | <NumberField source="id" /> | 
|---|
|  |  |  | <TextField source="code" label="table.field.stock.code" /> | 
|---|
|  |  |  | <TextField source="sourceCode" label="table.field.stock.sourceCode" /> | 
|---|
|  |  |  | <NumberField source="sourceId" label="table.field.stock.sourceId" /> | 
|---|
|  |  |  | <TextField source="type" label="table.field.stock.type" /> | 
|---|
|  |  |  | <TextField source="wkType" label="table.field.stock.wkType" /> | 
|---|
|  |  |  | <TextField source="type$" label="table.field.stock.type" /> | 
|---|
|  |  |  | <TextField source="wkType$" label="table.field.stock.wkType" /> | 
|---|
|  |  |  | <NumberField source="anfme" label="table.field.stock.anfme" /> | 
|---|
|  |  |  | <TextField source="updateBy$" label="common.field.updateBy" /> | 
|---|
|  |  |  | <DateField source="updateTime" label="common.field.updateTime" showTime /> | 
|---|
|  |  |  | <TextField source="createBy" label="common.field.createBy"  /> | 
|---|
|  |  |  | <TextField source="createBy$" label="common.field.createBy"  /> | 
|---|
|  |  |  | <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} /> | 
|---|