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