Commit 7093901e authored by 左玲玲's avatar 左玲玲 😬

111

parent b1cec7e8
...@@ -114,7 +114,7 @@ const StoreApp = (props) => { ...@@ -114,7 +114,7 @@ const StoreApp = (props) => {
"key": "storeAreaName", "key": "storeAreaName",
"valueType": "select", "valueType": "select",
"options": { "options": {
database: () => doFetch("/ngic-base-business/sysDic/queryStorePositionSelect"), database: () => doFetch({ url: "/ngic-base-business/sysDic/queryStorePositionSelect" }),
params: {} params: {}
} }
}, },
...@@ -170,14 +170,10 @@ const StoreApp = (props) => { ...@@ -170,14 +170,10 @@ const StoreApp = (props) => {
type="danger" type="danger"
style={{ marginLeft: 12 }} style={{ marginLeft: 12 }}
onClick={async () => { onClick={async () => {
console.log('====================================');
console.log(selectedRowKeys);
console.log('====================================');
await dispatch({ type: "only" }); await dispatch({ type: "only" });
setTimeout(async () => { setTimeout(async () => {
await Promise.all(selectedRowKeys.map(async (it) => { await Promise.all(selectedRowKeys.map(async (it) => {
await JsBarcode("#s" + it.id, it.id, { await JsBarcode("#s" + it.id, it.id, {
lineColor: "green",
width: 2, width: 2,
height: 100, height: 100,
}); });
...@@ -255,6 +251,7 @@ const StoreApp = (props) => { ...@@ -255,6 +251,7 @@ const StoreApp = (props) => {
}} }}
></AutoTable> ></AutoTable>
<DrawInitForm <DrawInitForm
visible={false}
title={iftype?.title} title={iftype?.title}
visible={vs} visible={vs}
onClose={() => dispatch({ type: "close" })} onClose={() => dispatch({ type: "close" })}
...@@ -290,14 +287,7 @@ const StoreApp = (props) => { ...@@ -290,14 +287,7 @@ const StoreApp = (props) => {
} }
</div> </div>
</PrintProvider> </PrintProvider>
</DrawInitForm> </DrawInitForm>
</div> </div>
); );
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment