zhang
8 天以前 82416a8117dd69be757380e8a42ecbac6e861e11
zy-acs-flow/src/page/loc/LocCreate.jsx
@@ -31,6 +31,10 @@
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;
@@ -219,6 +223,7 @@
                        <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>