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

111

parent b1cec7e8
......@@ -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>
);
};
......
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