| | |
| | | |
| | | |
| | | return ( |
| | | <Dialog open={open} maxWidth="md" fullWidth> |
| | | <Dialog open={open} maxWidth="lg" fullWidth> |
| | | <Form onSubmit={handleSubmit}> |
| | | <DialogCloseButton onClose={handleClose} /> |
| | | <DialogTitle>{translate('toolbar.siteInit')}</DialogTitle> |
| | |
| | | dictTypeCode="sys_device_type" |
| | | /> |
| | | </Grid> |
| | | |
| | | |
| | | <Grid item xs={4}> |
| | | <TextInput |
| | | label={translate("table.field.deviceSite.deviceCode")} |
| | |
| | | type="number" |
| | | /> |
| | | </Grid> |
| | | |
| | | <Grid item xs={4}> |
| | | <TextInput |
| | | label={translate("table.field.deviceSite.deviceSite")} |
| | | name="deviceSites" |
| | | placeholder={translate('common.action.inputPlaceholder')} |
| | | size="small" |
| | | type="number" |
| | | // type="number" |
| | | /> |
| | | </Grid> |
| | | |
| | | <Grid item xs={4}> |
| | | <TextInput |
| | | label={translate("table.field.deviceSite.sites")} |
| | | name="sites" |
| | | label={translate("table.field.deviceSite.site")} |
| | | name="site" |
| | | placeholder={translate('common.action.inputPlaceholder')} |
| | | size="small" |
| | | type="number" |
| | | // type="number" |
| | | /> |
| | | </Grid> |
| | | |
| | | <Grid item xs={4}> |
| | | <TextInput |
| | | label={translate("table.field.deviceSite.target")} |
| | | name="target" |
| | | placeholder={translate('common.action.inputPlaceholder')} |
| | | size="small" |
| | | // type="number" |
| | | /> |
| | | </Grid> |
| | | <Grid item xs={4}> |
| | | <SelectInput |
| | | label="table.field.deviceSite.flagInit" |