From 7093901e8eaf48f7099392613618e6d6cc702447 Mon Sep 17 00:00:00 2001
From: zuolingling <zuolingling@jsnangao.com>
Date: Mon, 18 Jul 2022 14:56:42 +0800
Subject: [PATCH] 111

---
 src/pages/system/Store/store.js | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

diff --git a/src/pages/system/Store/store.js b/src/pages/system/Store/store.js
index 3fe15a0..bf30031 100644
--- a/src/pages/system/Store/store.js
+++ b/src/pages/system/Store/store.js
@@ -114,7 +114,7 @@ const StoreApp = (props) => {
                 "key": "storeAreaName",
                 "valueType": "select",
                 "options": {
-                    database: () => doFetch("/ngic-base-business/sysDic/queryStorePositionSelect"),
+                    database: () => doFetch({ url: "/ngic-base-business/sysDic/queryStorePositionSelect" }),
                     params: {}
                 }
             },
@@ -170,14 +170,10 @@ const StoreApp = (props) => {
             type="danger"
             style={{ marginLeft: 12 }}
             onClick={async () => {
-                console.log('====================================');
-                console.log(selectedRowKeys);
-                console.log('====================================');
                 await dispatch({ type: "only" });
                 setTimeout(async () => {
                     await Promise.all(selectedRowKeys.map(async (it) => {
                         await JsBarcode("#s" + it.id, it.id, {
-                            lineColor: "green",
                             width: 2,
                             height: 100,
                         });
@@ -255,6 +251,7 @@ const StoreApp = (props) => {
                 }}
             ></AutoTable>
             <DrawInitForm
+                visible={false}
                 title={iftype?.title}
                 visible={vs}
                 onClose={() => dispatch({ type: "close" })}
@@ -290,14 +287,7 @@ const StoreApp = (props) => {
                         }
                     </div>
                 </PrintProvider>
-
-
-
             </DrawInitForm>
-
-
-
-
         </div>
     );
 };
-- 
2.21.0