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