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
826ab672
Commit
826ab672
authored
Feb 24, 2023
by
wuhao
🎯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asder
parent
cda5b656
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
155 additions
and
132 deletions
+155
-132
index.jsx
src/components/InitForm/EditTable/index.jsx
+3
-0
index.jsx
src/components/InitForm/Expandable/index.jsx
+150
-129
index.jsx
src/pages/repair/order/index.jsx
+2
-3
No files found.
src/components/InitForm/EditTable/index.jsx
View file @
826ab672
...
@@ -34,6 +34,9 @@ const EditTable = (props) => {
...
@@ -34,6 +34,9 @@ const EditTable = (props) => {
success
:
true
,
success
:
true
,
total
:
dataSource
?.
length
??
0
,
total
:
dataSource
?.
length
??
0
,
};
};
console
.
log
(
'===================================='
);
console
.
log
(
extraparams
);
console
.
log
(
'===================================='
);
let
newparams
=
{
let
newparams
=
{
...
params
,
...
params
,
...
extraparams
,
//父组件传参
...
extraparams
,
//父组件传参
...
...
src/components/InitForm/Expandable/index.jsx
View file @
826ab672
This diff is collapsed.
Click to expand it.
src/pages/repair/order/index.jsx
View file @
826ab672
...
@@ -713,7 +713,7 @@ function Failure(props) {
...
@@ -713,7 +713,7 @@ function Failure(props) {
const
Finishrepair
=
()
=>
{
const
Finishrepair
=
()
=>
{
const
EditTableItem
=
({
record
})
=>
{
const
EditTableItem
=
({
record
})
=>
{
const
[
value
,
setvalue
]
=
useState
([]);
const
[
value
,
setvalue
]
=
useState
([]);
console
.
log
(
value
);
return
(
return
(
<
div
>
<
div
>
<
EditTable
<
EditTable
...
@@ -789,7 +789,6 @@ function Failure(props) {
...
@@ -789,7 +789,6 @@ function Failure(props) {
const
newValue
=
value
.
concat
(
rower
);
const
newValue
=
value
.
concat
(
rower
);
return
[...
newValue
];
return
[...
newValue
];
});
});
console
.
log
(
value
);
},
},
}
}
}
}
/>
/>
...
@@ -1051,7 +1050,7 @@ function Failure(props) {
...
@@ -1051,7 +1050,7 @@ function Failure(props) {
},
},
],
],
path
:
'/sparepart/lifePieceAccount/queryPageByEquipment'
,
path
:
'/sparepart/lifePieceAccount/queryPageByEquipment'
,
expandablePath
:
'/sparepart/lineStock/queryReplaceStock'
,
expandablePath
:
'/sparepart/lineStock/queryReplaceStock
All
'
,
extraparams
:
{
equipmentId
:
drawer
?.
item
?.
equipmentId
},
extraparams
:
{
equipmentId
:
drawer
?.
item
?.
equipmentId
},
},
},
];
];
...
...
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