Commit adb113c1 by lixiaomin

修改订单时间查询

parent 4bffb473
...@@ -210,12 +210,12 @@ export default { ...@@ -210,12 +210,12 @@ export default {
}); });
}, },
/** 搜索按钮操作 */ /** 搜索按钮操作 */
handleQuery() { handleQuery() {
if(this.createdTime!=null && this.createdTime.length>0 ){ if(this.createdTime!=null && this.createdTime.length>0 ){
this.queryParams.createAtStart=this.createdTime[0]; this.queryParams.createAtStart=this.createdTime[0];
this.queryParams.createAtEnd=this.createdTime[1]; this.queryParams.createAtEnd=this.createdTime[1];
} }
if(this.payTime!=null && this.payTime.length>0 ){ if(this.payTime!=null && this.payTime.length>0 ){
this.queryParams.payAtStart=this.payTime[0]; this.queryParams.payAtStart=this.payTime[0];
this.queryParams.payAtEnd=this.payTime[1]; this.queryParams.payAtEnd=this.payTime[1];
} }
...@@ -230,6 +230,10 @@ export default { ...@@ -230,6 +230,10 @@ export default {
this.queryParams.shopId=null; this.queryParams.shopId=null;
this.createdTime=[]; this.createdTime=[];
this.payTime=[]; this.payTime=[];
this.queryParams.createAtStart=null,
this.queryParams.createAtEnd=null,
this.queryParams.payAtStart=null,
this.queryParams.payAtEnd= null,
this.queryParams.state=null; this.queryParams.state=null;
this.handleQuery(); this.handleQuery();
}, },
......
...@@ -220,6 +220,10 @@ export default { ...@@ -220,6 +220,10 @@ export default {
this.queryParams.shopId=null; this.queryParams.shopId=null;
this.createdTime=[]; this.createdTime=[];
this.payTime=[]; this.payTime=[];
this.queryParams.createAtStart=null,
this.queryParams.createAtEnd=null,
this.queryParams.payAtStart=null,
this.queryParams.payAtEnd= null,
this.queryParams.state=null; this.queryParams.state=null;
this.handleQuery(); this.handleQuery();
}, },
......
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