Commit 7834d23e authored by TZW's avatar TZW

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

parents 7ee86de6 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, //父组件传参
......
...@@ -1488,7 +1488,6 @@ function FormList({ item, colProps, formRef }) { ...@@ -1488,7 +1488,6 @@ function FormList({ item, colProps, formRef }) {
} }
const Todo = ({ actionRef, value, item, params, rowKey, chooses, onChange }) => { const Todo = ({ actionRef, value, item, params, rowKey, chooses, onChange }) => {
console.log(params);
return ( return (
<EditTable <EditTable
actionRef={actionRef} actionRef={actionRef}
......
...@@ -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,8 +1050,8 @@ function Failure(props) { ...@@ -1051,8 +1050,8 @@ function Failure(props) {
}, },
], ],
path: '/sparepart/lifePieceAccount/queryPageByEquipment', path: '/sparepart/lifePieceAccount/queryPageByEquipment',
expandablePath: '/sparepart/lineStock/queryReplaceStockAll',
extraparams: { equipmentId: drawer?.item?.equipmentId }, extraparams: { equipmentId: drawer?.item?.equipmentId },
expandablePath: '/sparepart/lineStock/queryReplaceStock',
}, },
]; ];
return ( return (
......
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