Commit e2fb5688 authored by 左玲玲's avatar 左玲玲 😬

1523

parent 8dd3ab07
......@@ -516,8 +516,12 @@ function Contract(props) {
setactiveTabKey('2')
}
setextraparams({ 'contractNo': state.contractNo })
tableRef?.current?.setFieldsValue({ 'contractNo': state.contractNo });
} else {
setextraparams({});
}
setTimeout(() => {
tableRef?.current?.setFieldsValue({ 'contractNo': state?.contractNo });
}, 100)
}, [state])
const columns = useMemo(() => {
let defcolumn = getcolumns(setdrawer, drawer?.val, drawer?.item?.id).filter((it) => it.key == activeTabKey)[0]?.columns;
......
......@@ -216,6 +216,7 @@ const Costanalysis = () => {
setextraparams(state.extraparams);
} else {
catk('item-1');
setextraparams({});
}
}, [state]);
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