| | |
| | | import StatusSelectInput from "../components/StatusSelectInput"; |
| | | import MemoInput from "../components/MemoInput"; |
| | | import { compDirectChoices } from "./compDirect"; |
| | | import ImportButton from '../components/ImportButton'; |
| | | import { useLocImport } from './useLocImport'; |
| | | |
| | | const IMPORT_TEMP_URL = '/imports/loc_import_template.xlsx'; |
| | | |
| | | const LocCreate = (props) => { |
| | | const { open, setOpen } = props; |
| | |
| | | <DialogActions sx={{ position: 'sticky', bottom: 0, backgroundColor: 'background.paper', zIndex: 1000 }}> |
| | | <Toolbar sx={{ width: '100%', justifyContent: 'space-between' }} > |
| | | <SaveButton /> |
| | | <ImportButton type="xlsx" importTemp={IMPORT_TEMP_URL} useImport={useLocImport} onceBatch={10} /> |
| | | </Toolbar> |
| | | </DialogActions> |
| | | </Form> |