Commit 826ab672 authored by wuhao's avatar wuhao 🎯

asder

parent cda5b656
...@@ -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, //父组件传参
......
...@@ -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/queryReplaceStockAll',
extraparams: { equipmentId: drawer?.item?.equipmentId }, extraparams: { equipmentId: drawer?.item?.equipmentId },
}, },
]; ];
......
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