解决订单清空条件
This commit is contained in:
parent
3a2fc83a05
commit
6b4c996283
|
@ -397,6 +397,13 @@ export default class orderlist extends React.Component{
|
||||||
sureFn(){
|
sureFn(){
|
||||||
this.getOrderFn();
|
this.getOrderFn();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onFilterClose(){
|
||||||
|
console.log("关闭")
|
||||||
|
this.setState({status:null})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//获取订单列表
|
//获取订单列表
|
||||||
getOrderFn(time={}){
|
getOrderFn(time={}){
|
||||||
let _self=this;
|
let _self=this;
|
||||||
|
@ -510,7 +517,7 @@ componentDidUpdate(prevProps,prevState){
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
<Filterbar selectFn={(e)=>{this.selectedId(e)}} filterList={this.state.filterList} menuList={this.state.menuList}></Filterbar>
|
<Filterbar onClose={(e)=>{this.onFilterClose(e) }} selectFn={(e)=>{this.selectedId(e)}} filterList={this.state.filterList} menuList={this.state.menuList}></Filterbar>
|
||||||
<div>
|
<div>
|
||||||
{this.state.selectiondata.length>0?(<Alert
|
{this.state.selectiondata.length>0?(<Alert
|
||||||
type="info"
|
type="info"
|
||||||
|
|
Loading…
Reference in New Issue