Commit 15348186 authored by 王悦's avatar 王悦

应收团款查询条件丢失问题,时间问题

parent b2a31f85
......@@ -225,6 +225,7 @@
@change="timeAdd"
v-model="defaultMonth"
type="daterange"
clearble
value-format="yyyy-MM-dd"
range-separator="至">
</el-date-picker>
......@@ -408,6 +409,9 @@ export default {
if(this.defaultMonth!=''){
this.msg.CStartDate = this.defaultMonth[0];
this.msg.QEndDate = this.defaultMonth[1];
}else{
this.msg.CStartDate = '2019-01-01';
this.msg.QEndDate = '';
}
if(!this.msg.RB_Branch_Id&&this.msg.RB_Branch_Id!=0)this.msg.RB_Branch_Id=-1;
if(!this.msg.RB_Department_Id)this.msg.RB_Department_Id=0;
......@@ -486,6 +490,9 @@ export default {
if(this.defaultMonth){
this.msg.CStartDate = this.defaultMonth[0];
this.msg.QEndDate = this.defaultMonth[1];
}else{
this.msg.CStartDate = '2019-01-01';
this.msg.QEndDate = '';
}
if(!this.msg.RB_Branch_Id&&this.msg.RB_Branch_Id!=0)this.msg.RB_Branch_Id=-1;
if(!this.msg.RB_Department_Id)this.msg.RB_Department_Id=0;
......@@ -510,8 +517,8 @@ export default {
this.$message.error(res.data.message);
}
this.loading=false;
this.msg.OrderId= this.msg.OrderId=0?this.msg.OrderId:'';
this.msg.TCID= this.msg.TCID=0?this.msg.TCID:'';
this.msg.OrderId= this.msg.OrderId>0?this.msg.OrderId:'';
this.msg.TCID= this.msg.TCID>0?this.msg.TCID:'';
// this.queryInfoInit();
},err=>{})
},
......
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