Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ems3.3
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wuhao
ems3.3
Commits
baf9da82
Commit
baf9da82
authored
Feb 02, 2023
by
wuhao
🎯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asder
parent
0aa09e4a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
proxy.js
config/proxy.js
+1
-1
index.jsx
src/pages/spare/outstore/index.jsx
+10
-5
No files found.
config/proxy.js
View file @
baf9da82
...
...
@@ -13,7 +13,7 @@ export default {
dev
:
{
[
defaultSetting
.
proxypath
]:
{
// 要代理的地址
target
:
'http://192.168.40.
203:
8000'
,
//jf哥
target
:
'http://192.168.40.
64:2
8000'
,
//jf哥
// target: 'http://192.168.40.64:28000', //gc哥
// target: 'http://192.168.40.203:8000', //dj哥
changeOrigin
:
true
,
...
...
src/pages/spare/outstore/index.jsx
View file @
baf9da82
...
...
@@ -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
selectedRowKeys
:
value
?
value
?.
filter
?.((
it
)
=>
it
?.
id
==
record
.
id
)[
0
]
?.
taskSpareSupplierList
?.
map
?.((
it
)
=>
it
?.
spareSupplierStockId
),
?.
taskSpareSupplierList
?.
map
?.((
it
)
=>
it
?.
spareSupplierStockId
)
:
[],
onChange
:
(
selectedKeys
,
selectedRows
)
=>
{
const
curval
=
value
?.
filter
?.((
it
)
=>
it
?.
id
==
record
.
id
)[
0
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment