| | |
| | | |
| | | const filters = [ |
| | | <SearchInput source="condition" alwaysOn />, |
| | | <TextInput source="asnCode" label="table.field.waitPakin.asnCode" />, |
| | | <TextInput source="code" label="table.field.waitPakin.code" />, |
| | | <TextInput source="barcode" label="table.field.waitPakin.barcode" />, |
| | | <NumberInput source="anfme" label="table.field.waitPakin.anfme" />, |
| | |
| | | preferenceKey='waitPakin' |
| | | bulkActionButtons={ |
| | | <> |
| | | <CreateTaskButton /> |
| | | {/* <CreateTaskButton /> 下发任务按钮暂不使用 */} |
| | | {/* <BulkDeleteButton mutationMode={OPERATE_MODE} /> */} |
| | | </>} |
| | | rowClick={false} |
| | |
| | | > |
| | | <NumberField source="id" /> |
| | | <TextField source="code" label="table.field.waitPakin.code" /> |
| | | <TextField source="asnCodes" label="table.field.waitPakin.asnCodes" sortable={false} /> |
| | | <TextField source="barcode" label="table.field.waitPakin.barcode" /> |
| | | <NumberField source="anfme" label="table.field.waitPakin.anfme" /> |
| | | <NumberField source="anfme" label="table.field.waitPakin.anfme" options={{ minimumFractionDigits: 2, maximumFractionDigits: 2 }} /> |
| | | <TextField source="ioStatus$" label="table.field.waitPakin.ioStatus" sortable={false} /> |
| | | <TextField source="updateBy$" label="common.field.updateBy" /> |
| | | <DateField source="updateTime" label="common.field.updateTime" showTime /> |
| | |
| | | <TextField source="memo" label="common.field.memo" sortable={false} /> |
| | | <WrapperField cellClassName="opt" label="common.field.opt"> |
| | | <EditButton label="toolbar.detail" sx={{ padding: '1px', fontSize: '.75rem' }} /> |
| | | <CreateTaskRowButton /> |
| | | {/* <CreateTaskRowButton /> 下发任务按钮暂不使用 */} |
| | | <DeleteButton sx={{ padding: '1px', fontSize: '.75rem' }} mutationMode={OPERATE_MODE} /> |
| | | </WrapperField> |
| | | </StyledDatagrid> |