Commit 3d96c7c0 authored by krysent's avatar krysent

bug:表格筛选条件不刷新

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