Commit 4897b4d3 authored by TZW's avatar TZW

Merge branch 'master' of http://47.100.234.193:9527/wuhao/ems3.3

parents 881e8f0d baf9da82
......@@ -13,7 +13,7 @@ export default {
dev: {
[defaultSetting.proxypath]: {
// 要代理的地址
target: 'http://192.168.40.203:8000', //jf哥
target: 'http://192.168.40.64:28000', //jf哥
// target: 'http://192.168.40.64:28000', //gc哥
// target: 'http://192.168.40.203:8000', //dj哥
changeOrigin: true,
......
......@@ -28,6 +28,7 @@ function Outstore(props) {
...s,
open: false,
}));
setvalue([]);
}
},
});
......@@ -123,6 +124,9 @@ function Outstore(props) {
return defpath;
}, [activeTabKey]);
console.log('====================================');
console.log(value);
console.log('====================================');
return (
<div style={{ position: 'relative' }}>
......@@ -167,6 +171,7 @@ function Outstore(props) {
...s,
open: false,
}));
setvalue([]);
}}
{...drawer}
onFinish={(vals) => {
......@@ -267,11 +272,11 @@ function Outstore(props) {
rowSelection={{
columnWidth: 44,
preserveSelectedRowKeys: true,
selectedRowKeys:
value &&
value
?.filter?.((it) => it?.id == record.id)[0]
?.taskSpareSupplierList?.map?.((it) => it?.spareSupplierStockId),
selectedRowKeys: value
? value
?.filter?.((it) => it?.id == record.id)[0]
?.taskSpareSupplierList?.map?.((it) => it?.spareSupplierStockId)
: [],
onChange: (selectedKeys, selectedRows) => {
const curval =
value?.filter?.((it) => it?.id == record.id)[0]
......
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