From 82416a8117dd69be757380e8a42ecbac6e861e11 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期四, 19 三月 2026 11:12:36 +0800
Subject: [PATCH] Merge branch 'rcs_master' into jdxaj

---
 zy-acs-flow/src/page/loc/LocCreate.jsx |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/zy-acs-flow/src/page/loc/LocCreate.jsx b/zy-acs-flow/src/page/loc/LocCreate.jsx
index afebd46..cd6251c 100644
--- a/zy-acs-flow/src/page/loc/LocCreate.jsx
+++ b/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>

--
Gitblit v1.9.1