Commit 3d96c7c0 authored by krysent's avatar krysent

bug:表格筛选条件不刷新

parent 8c29991e
......@@ -133,6 +133,7 @@ export default (props) => {
activeTabKey={props.activeTabKey}
tabList={props.tabList}
onTabChange={props.onTabChange}
destroyInactiveTabPane={true}
>
<div style={{ display: "flex", width: "100%" }}>
{(props.childposition == "left" || !props.childposition) &&
......
......@@ -184,7 +184,9 @@ const Mtable = (props) => {
});
setvalueColumns(allcol);
}
actionRefs?.current?.reload();
actionRefs?.current?.reset();
// actionRefs?.current?.reload();
// actionRefs?.current?.clearSelected()
};
//调用重新渲染表格
......
......@@ -140,7 +140,6 @@ function Outstore(props) {
{
title: "物料名称",
dataIndex: "materieName",
search: false,
key: "materieName",
},
{
......@@ -164,6 +163,7 @@ function Outstore(props) {
{
title: "目标库位",
dataIndex: "targetStorePositionName",
search: false,
key: "targetStorePositionName",
},
{
......@@ -192,7 +192,7 @@ function Outstore(props) {
{
title: "完成时间",
dataIndex: "finishTime",
key: "finishTimeRange",
key: "finishTimeList",
width: 300,
valueType: "dateRange",
render: (_, row) => {
......
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